[linux-sunxi] Re: [PATCH v3 7/9] mfd: axp20x: add USB power supply mfd cell to AXP813

2019-04-01 Thread Lee Jones
On Thu, 21 Mar 2019, Chen-Yu Tsai wrote: > From: Quentin Schulz > > The AXP813 has a VBUS power input. Now that the axp20x_usb_power driver > supports this variant, we can add an mfd cell for it to use it. > > Signed-off-by: Quentin Schulz > [w...@csie.org: add commit message] >

Re: [linux-sunxi] Re: [PATCH] soc: sunxi: Fix missing dependency on REGMAP_MMIO

2019-04-01 Thread Samuel Holland
On 4/1/19 10:29 AM, 'Bin Liu' via linux-sunxi wrote: > On Fri, Mar 01, 2019 at 03:43:48PM +0100, Maxime Ripard wrote: >> On Thu, Feb 28, 2019 at 08:20:44PM -0600, Samuel Holland wrote: >>> When enabling ARCH_SUNXI from allnoconfig, SUNXI_SRAM is enabled, but >>> not REGMAP_MMIO, so the kernel

[linux-sunxi] [PATCH v2] soc: sunxi: Fix missing dependency on REGMAP_MMIO

2019-04-01 Thread Samuel Holland
When enabling ARCH_SUNXI from allnoconfig, SUNXI_SRAM is enabled, but not REGMAP_MMIO, so the kernel fails to link with an undefined reference to __devm_regmap_init_mmio_clk. Select REGMAP_MMIO, as suggested in drivers/base/regmap/Kconfig. This creates the following dependency loop:

[linux-sunxi] Re: [PATCH] soc: sunxi: Fix missing dependency on REGMAP_MMIO

2019-04-01 Thread 'Bin Liu' via linux-sunxi
On Fri, Mar 01, 2019 at 03:43:48PM +0100, Maxime Ripard wrote: > On Thu, Feb 28, 2019 at 08:20:44PM -0600, Samuel Holland wrote: > > When enabling ARCH_SUNXI from allnoconfig, SUNXI_SRAM is enabled, but > > not REGMAP_MMIO, so the kernel fails to link with an undefined reference > > to

[linux-sunxi] Re: [PATCH v3 1/1] ARM: dts: sun8i: a83t: Add missing CPU clock references

2019-04-01 Thread Maxime Ripard
On Mon, Apr 01, 2019 at 03:36:10PM +0200, meg...@megous.com wrote: > From: Ondrej Jirman > > A83T DTSI has cpu clocks defined only on the first CPU in each cluster. > We can bring down any CPU in the cluster, so we need to define clock > for each CPU, so that the system knows what clock to use if

[linux-sunxi] [PATCH v3 0/1] ARM: dts: sun8i: a83t: Add missing cooling device properties for CPUs

2019-04-01 Thread megous via linux-sunxi
From: Ondrej Jirman (Part of the series was already applied, so this only contains the remaining patch.) This series adds some properties to prepare for passive cooling via CPU frequency down-regulation, and fixes cpufreq for various CPU hotplug situations. #cooling-cells patch is not strictly

[linux-sunxi] [PATCH v3 1/1] ARM: dts: sun8i: a83t: Add missing CPU clock references

2019-04-01 Thread megous via linux-sunxi
From: Ondrej Jirman A83T DTSI has cpu clocks defined only on the first CPU in each cluster. We can bring down any CPU in the cluster, so we need to define clock for each CPU, so that the system knows what clock to use if the first CPU is down. Also move the clocks property below the compatible

[linux-sunxi] Re: [PATCH v2 1/5] ARM: dts: sun8i: tbs-a711: Add node for BMA250 accelerometer

2019-04-01 Thread Maxime Ripard
Hi, On Mon, Apr 01, 2019 at 01:56:12PM +0200, meg...@megous.com wrote: > From: Ondrej Jirman > > A711 tablet has BMA250 accelerometer connected to I2C1 bus. Enable > both the I2C1 bus and add the accelerometer device to it. > > Signed-off-by: Ondrej Jirman > --- >

[linux-sunxi] Re: [PATCH v2 2/5] ARM: dts: sun8i: a83t: Add UART2 PB pins

2019-04-01 Thread Maxime Ripard
On Mon, Apr 01, 2019 at 01:56:13PM +0200, meg...@megous.com wrote: > From: Ondrej Jirman > > Add pin definitions for UART2 PB pins. These are used on TBS-A711 > tablet. > > Signed-off-by: Ondrej Jirman Applied, thanks! Maxime -- Maxime Ripard, Bootlin Embedded Linux and Kernel engineering

Re: [linux-sunxi] [PATCH v2 4/5] dt-bindings: gnss: Add u-blox,neo-6m compatible

2019-04-01 Thread 'Ondřej Jirman' via linux-sunxi
On Mon, Apr 01, 2019 at 01:56:15PM +0200, megous via linux-sunxi wrote: > From: Ondrej Jirman > > Add compatible for u-blox NEO-6M GPS module. > > Signed-off-by: Ondrej Jirman Ouch, I forgot to add: Reviewed-by: Rob Herring I'll do v3 if necessary, for this. regards, Ondrej > --- >

[linux-sunxi] [PATCH v2 5/5] ARM: dts: sun8i: tbs-a711: Enable UART2 (for NEO-6M GPS module)

2019-04-01 Thread megous via linux-sunxi
From: Ondrej Jirman TBS A711 tablet contains u-blox NEO-6M module connected to UART2. Enable UART2 to gain access to the module from userspace. Signed-off-by: Ondrej Jirman --- arch/arm/boot/dts/sun8i-a83t-tbs-a711.dts | 21 + 1 file changed, 21 insertions(+) diff --git

[linux-sunxi] [PATCH v2 4/5] dt-bindings: gnss: Add u-blox,neo-6m compatible

2019-04-01 Thread megous via linux-sunxi
From: Ondrej Jirman Add compatible for u-blox NEO-6M GPS module. Signed-off-by: Ondrej Jirman --- Documentation/devicetree/bindings/gnss/u-blox.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/Documentation/devicetree/bindings/gnss/u-blox.txt

[linux-sunxi] [PATCH v2 3/5] gnss: Add u-blox,neo-6m compatible

2019-04-01 Thread megous via linux-sunxi
From: Ondrej Jirman Add compatible for u-blox NEO-6M GPS module. Signed-off-by: Ondrej Jirman --- drivers/gnss/ubx.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/gnss/ubx.c b/drivers/gnss/ubx.c index 12568aebb7f6..1ada2fad1d4e 100644 --- a/drivers/gnss/ubx.c +++

[linux-sunxi] [PATCH v2 2/5] ARM: dts: sun8i: a83t: Add UART2 PB pins

2019-04-01 Thread megous via linux-sunxi
From: Ondrej Jirman Add pin definitions for UART2 PB pins. These are used on TBS-A711 tablet. Signed-off-by: Ondrej Jirman --- arch/arm/boot/dts/sun8i-a83t.dtsi | 6 ++ 1 file changed, 6 insertions(+) diff --git a/arch/arm/boot/dts/sun8i-a83t.dtsi b/arch/arm/boot/dts/sun8i-a83t.dtsi

[linux-sunxi] [PATCH v2 0/5] Add bluetooth, gps and accelerometer to TBS A711

2019-04-01 Thread megous via linux-sunxi
From: Ondrej Jirman This series enables some peripherals on TBS A711 tablet that already have mainline drivers: - GPS u-blox neo-6m (via gnss u-blox driver) - Bluetooth (via recently added OF support in the Broadcom bluetooth driver) - Accelermomter BMA-250 (hooked to the I2C bus) It also

[linux-sunxi] [PATCH v2 1/5] ARM: dts: sun8i: tbs-a711: Add node for BMA250 accelerometer

2019-04-01 Thread megous via linux-sunxi
From: Ondrej Jirman A711 tablet has BMA250 accelerometer connected to I2C1 bus. Enable both the I2C1 bus and add the accelerometer device to it. Signed-off-by: Ondrej Jirman --- arch/arm/boot/dts/sun8i-a83t-tbs-a711.dts | 13 + 1 file changed, 13 insertions(+) diff --git

[linux-sunxi] Re: [PATCH 2/7] ARM: dts: sun8i: tbs-a711: Add node for BMA250 accelerometer

2019-04-01 Thread 'Ondřej Jirman' via linux-sunxi
Hello Maxime, On Mon, Apr 01, 2019 at 08:30:49AM +0200, Maxime Ripard wrote: > Hi, > > On Wed, Mar 27, 2019 at 01:18:38AM +0100, meg...@megous.com wrote: > > From: Ondrej Jirman > > > > A711 tablet has BMA250 accelerometer connected to I2C1 bus. Enable > > both the I2C1 bus and add the

[linux-sunxi] Re: [PATCH v2 2/2] ARM: dts: sun8i: a83t: Add missing CPU clock references

2019-04-01 Thread 'Ondřej Jirman' via linux-sunxi
Hello Maxime, On Mon, Apr 01, 2019 at 10:22:42AM +0200, Maxime Ripard wrote: > Hi, > > On Thu, Mar 28, 2019 at 12:31:59PM +0100, meg...@megous.com wrote: > > From: Ondrej Jirman > > > > A83T DTSI has cpu clocks defined only on the first CPU in each cluster. > > We can bring down any CPU in the

[linux-sunxi] Re: [PATCH v2 2/2] ARM: dts: sun8i: a83t: Add missing CPU clock references

2019-04-01 Thread Maxime Ripard
Hi, On Thu, Mar 28, 2019 at 12:31:59PM +0100, meg...@megous.com wrote: > From: Ondrej Jirman > > A83T DTSI has cpu clocks defined only on the first CPU in each cluster. > We can bring down any CPU in the cluster, so we need to define clock > for each CPU, so that the system knows what clock to

[linux-sunxi] Re: [PATCH v2 1/2] ARM: dts: sun8i: a83t: Add missing cooling device properties for CPUs

2019-04-01 Thread Maxime Ripard
On Thu, Mar 28, 2019 at 12:31:58PM +0100, meg...@megous.com wrote: > From: Ondrej Jirman > > Enable to use CPUs as cooling device in the future, by adding > "#cooling-cells" to each CPU node. This property should be present for > all the CPUs of a cluster. If these are present only for a subset

[linux-sunxi] Re: [PATCH 08/14] clk: sunxi-ng: v3s: add Allwinner V3 support

2019-04-01 Thread Maxime Ripard
On Thu, Mar 28, 2019 at 08:27:21AM -0500, Rob Herring wrote: > On Tue, Mar 12, 2019 at 11:22:50PM +0800, Icenowy Zheng wrote: > > Allwinner V3 has the same main die with V3s, but with more pins wired. > > There's a I2S bus on V3 that is not available on V3s. > > > > Add the V3-only peripheral's

[linux-sunxi] Re: [PATCH 3/7] ARM: dts: sun8i: a83t: Add nodes for UART2-UART4

2019-04-01 Thread Maxime Ripard
On Wed, Mar 27, 2019 at 01:18:39AM +0100, meg...@megous.com wrote: > From: Ondrej Jirman > > A83T has 5 UART interfaces, but only the first two have their nodes > defined in sun8i-a83t.dtsi. Add nodes for the missing interfaces. > > Signed-off-by: Ondrej Jirman Applied, thanks! Maxime --

[linux-sunxi] Re: [PATCH 1/7] ARM: dts: sun8i: tbs-a711: Enable bluetooth

2019-04-01 Thread Maxime Ripard
Hi, On Wed, Mar 27, 2019 at 01:18:37AM +0100, meg...@megous.com wrote: > From: Ondrej Jirman > > TBS A711 tablet has a bcm20702a1 bluetooth chip (part of AP6210 WiFi/BT > module) connected to UART1. Add node for the blutooth chip. > > The driver needs brcm/BCM20702A1.hcd firmware file to run. >

[linux-sunxi] Re: [PATCH 2/7] ARM: dts: sun8i: tbs-a711: Add node for BMA250 accelerometer

2019-04-01 Thread Maxime Ripard
Hi, On Wed, Mar 27, 2019 at 01:18:38AM +0100, meg...@megous.com wrote: > From: Ondrej Jirman > > A711 tablet has BMA250 accelerometer connected to I2C1 bus. Enable > both the I2C1 bus and add the accelerometer device to it. > > Signed-off-by: Ondrej Jirman > --- >