Re: [alsa-devel] [PATCH v3 1/9] ASoC: sun4i-i2s: Adjust regmap settings

2018-12-22 Thread Chen-Yu Tsai
On Sun, Dec 23, 2018 at 6:12 AM Jonas Karlman wrote: > > On 2018-12-21 17:44, Chen-Yu Tsai wrote: > > On Fri, Dec 21, 2018 at 11:21 PM wrote: > >> From: Marcus Cooper > >> > >> Bypass the regmap cache when flushing the i2s FIFOs and modify the tables >

Re: [PATCH v3 3/9] ASoc: sun4i-i2s: Add 20, 24 and 32 bit support

2018-12-21 Thread Chen-Yu Tsai
On Sat, Dec 22, 2018 at 12:48 AM Chen-Yu Tsai wrote: > > On Fri, Dec 21, 2018 at 11:21 PM wrote: > > > > From: Marcus Cooper > > > > Extend the functionality of the driver to include support of 20 and > > 24 bits per sample for the earlier SoCs. > > &g

Re: [PATCH v3 2/9] ASoC: sun4i-i2s: Add regmap field to sign extend sample

2018-12-21 Thread Chen-Yu Tsai
On Fri, Dec 21, 2018 at 11:21 PM wrote: > > From: Marcus Cooper > > On the newer SoCs this is set by default to transfer a 0 after > each sample in each slot. Add the regmap field to configure this > and set it so that it pads the sample with 0s. > > Signed-off-by: Marcus Cooper The code matche

Re: [PATCH v3 4/9] ASoC: sun4i-i2s: Fix offset mask

2018-12-21 Thread Chen-Yu Tsai
On Fri, Dec 21, 2018 at 11:21 PM wrote: > > From: Marcus Cooper > > Also add offset to RX channel select > > Signed-off-by: Marcus Cooper Commit log seems a bit lacking. You could probably explain how you found this, either when comparing datasheet macros, or some actual error manifested and yo

Re: [PATCH v3 3/9] ASoc: sun4i-i2s: Add 20, 24 and 32 bit support

2018-12-21 Thread Chen-Yu Tsai
On Fri, Dec 21, 2018 at 11:21 PM wrote: > > From: Marcus Cooper > > Extend the functionality of the driver to include support of 20 and > 24 bits per sample for the earlier SoCs. > > Newer SoCs can also handle 32bit samples. > > Signed-off-by: Marcus Cooper > --- > sound/soc/sunxi/sun4i-i2s.c |

Re: [PATCH v3 1/9] ASoC: sun4i-i2s: Adjust regmap settings

2018-12-21 Thread Chen-Yu Tsai
On Fri, Dec 21, 2018 at 11:21 PM wrote: > > From: Marcus Cooper > > Bypass the regmap cache when flushing the i2s FIFOs and modify the tables > to reflect this. > > Signed-off-by: Marcus Cooper > --- > sound/soc/sunxi/sun4i-i2s.c | 29 + > 1 file changed, 9 insertion

Re: [PATCH v3 00/15] ARM: sunxi: Enable Broadcom-based Bluetooth controllers

2018-12-19 Thread Chen-Yu Tsai
llwinner ARMv7 > > boards. > > > > 15 - Enable Broadcom-based serdev Bluetooth for the Bananapi M64. > > > > checkpatch reports an error for both patch 11 and patch 13: > > > >ERROR: space required after that close brace '}' > > > > I followed

[PATCH v3 01/15] dt-bindings: net: broadcom-bluetooth: Fix external clock names

2018-12-16 Thread Chen-Yu Tsai
"txco" and "lpo". Tested-by: Ondrej Jirman Signed-off-by: Chen-Yu Tsai --- .../devicetree/bindings/net/broadcom-bluetooth.txt | 7 +-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/Documentation/devicetree/bindings/net/broadcom-bluetooth.txt b/Doc

[PATCH v3 08/15] Bluetooth: hci_bcm: Add support for LPO clock

2018-12-16 Thread Chen-Yu Tsai
will not function correctly. Tested-by: Ondrej Jirman Signed-off-by: Chen-Yu Tsai --- drivers/bluetooth/hci_bcm.c | 41 - 1 file changed, 36 insertions(+), 5 deletions(-) diff --git a/drivers/bluetooth/hci_bcm.c b/drivers/bluetooth/hci_bcm.c index 1584c95c9c34

[PATCH v3 00/15] ARM: sunxi: Enable Broadcom-based Bluetooth controllers

2018-12-16 Thread Chen-Yu Tsai
27;}' I followed the existing code's style. If this is undesirable, I can send a follow-up patch fixing the entire code block. The first 13 patches should go through the Bluetooth tree, while we, the sunxi maintainers, will take the last 2. Thanks ChenYu Chen-Yu Tsai (14): dt-binding

[PATCH v3 11/15] Bluetooth: hci_bcm: Add BCM20702A1 variant

2018-12-16 Thread Chen-Yu Tsai
From: Maxime Ripard The BCM20702A1 chip is a single-chip Bluetooth 4.0 controller and transceiver. It is found in the AMPAK AP6210 WiFi+BT package. Signed-off-by: Maxime Ripard Tested-by: Ondrej Jirman Signed-off-by: Chen-Yu Tsai --- drivers/bluetooth/btbcm.c | 6 ++ drivers/bluetooth

[PATCH v3 13/15] Bluetooth: btbcm: Add default address for BCM43430A0

2018-12-16 Thread Chen-Yu Tsai
identifies itself as. Add this to the list of default MAC addresses and leave it to the user to configure a valid one. Signed-off-by: Chen-Yu Tsai --- drivers/bluetooth/btbcm.c | 7 ++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/drivers/bluetooth/btbcm.c b/drivers

[PATCH v3 14/15] ARM: dts: sunxi: Enable Broadcom-based Bluetooth for multiple boards

2018-12-16 Thread Chen-Yu Tsai
in the pin controller node is a good choice without having to deal with implementation issues. Signed-off-by: Chen-Yu Tsai --- arch/arm/boot/dts/sun7i-a20-cubietruck.dts| 25 +++ arch/arm/boot/dts/sun8i-a83t-bananapi-m3.dts | 18 + .../boot/dts/sun8i-a

[PATCH v3 10/15] Bluetooth: hci_bcm: Wait for device to come out of reset after power on

2018-12-16 Thread Chen-Yu Tsai
line low. This is shown to be 6.5 sleep cycles, with the sleep clock at 32.768 kHz. This is around 2 ms. Wait a full 10 ms after the regulators are enabled to account for signal rising times. Tested-by: Ondrej Jirman Signed-off-by: Chen-Yu Tsai --- drivers/bluetooth/hci_bcm.c | 3 +++ 1 file ch

[PATCH v3 03/15] dt-bindings: net: broadcom-bluetooth: Add BCM20702A1 compatible string

2018-12-16 Thread Chen-Yu Tsai
for the compatible string. Reviewed-by: Rob Herring Tested-by: Ondrej Jirman Signed-off-by: Chen-Yu Tsai --- Documentation/devicetree/bindings/net/broadcom-bluetooth.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/Documentation/devicetree/bindings/net/broadcom-bluetooth.txt b

[PATCH v3 04/15] dt-bindings: net: broadcom-bluetooth: Add BCM4330 compatible string

2018-12-16 Thread Chen-Yu Tsai
multiple revisions. The module does not have revision markings. This patch elects to use just BCM4330 for the compatible string. Reviewed-by: Rob Herring Signed-off-by: Chen-Yu Tsai --- Documentation/devicetree/bindings/net/broadcom-bluetooth.txt | 1 + 1 file changed, 1 insertion(+) diff --git a

[PATCH v3 09/15] Bluetooth: hci_bcm: Add support for regulator supplies

2018-12-16 Thread Chen-Yu Tsai
: Ondrej Jirman Signed-off-by: Chen-Yu Tsai --- drivers/bluetooth/hci_bcm.c | 39 - 1 file changed, 30 insertions(+), 9 deletions(-) diff --git a/drivers/bluetooth/hci_bcm.c b/drivers/bluetooth/hci_bcm.c index 345d728a5434..f2101038284e 100644 --- a/drivers

[PATCH v3 07/15] Bluetooth: hci_bcm: Use "txco" and "extclk" to get clock reference

2018-12-16 Thread Chen-Yu Tsai
upport for the "lpo" clock. Tested-by: Ondrej Jirman Signed-off-by: Chen-Yu Tsai --- drivers/bluetooth/hci_bcm.c | 41 +++-- 1 file changed, 30 insertions(+), 11 deletions(-) diff --git a/drivers/bluetooth/hci_bcm.c b/drivers/bluetooth/hci_bcm.c index ff

[PATCH v3 06/15] Bluetooth: hci_bcm: Simplify clk_get error handling

2018-12-16 Thread Chen-Yu Tsai
not. Simplify the code a bit by assigning NULL to the clk pointer if the error condition is one we want to ignore, which is every error except deferred probing. Tested-by: Ondrej Jirman Signed-off-by: Chen-Yu Tsai --- drivers/bluetooth/hci_bcm.c | 10 +++--- 1 file changed, 7 insertions

[PATCH v3 15/15] arm64: dts: allwinner: a64: bananapi-m64: Add Bluetooth device node

2018-12-16 Thread Chen-Yu Tsai
. Acked-by: Maxime Ripard Signed-off-by: Chen-Yu Tsai --- .../boot/dts/allwinner/sun50i-a64-bananapi-m64.dts | 14 ++ 1 file changed, 14 insertions(+) diff --git a/arch/arm64/boot/dts/allwinner/sun50i-a64-bananapi-m64.dts b/arch/arm64/boot/dts/allwinner/sun50i-a64-bananapi-m64.dts

[PATCH v3 05/15] Bluetooth: hci_bcm: Handle deferred probing for the clock supply

2018-12-16 Thread Chen-Yu Tsai
s can work reliably. Tested-by: Ondrej Jirman Signed-off-by: Chen-Yu Tsai --- drivers/bluetooth/hci_bcm.c | 4 1 file changed, 4 insertions(+) diff --git a/drivers/bluetooth/hci_bcm.c b/drivers/bluetooth/hci_bcm.c index ddbd8c6a0ceb..800132369134 100644 --- a/drivers/bluetooth/hci_bcm.c

[PATCH v3 12/15] Bluetooth: hci_bcm: Add compatible string for BCM4330

2018-12-16 Thread Chen-Yu Tsai
The BCM4330 chip is a 802.11 a/b/g/n + Bluetooth 4.0 + HS controller. This patch adds a compatible string match to the serdev driver for the Bluetooth part of the chip. Signed-off-by: Chen-Yu Tsai --- drivers/bluetooth/hci_bcm.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers

[PATCH v3 02/15] dt-bindings: net: broadcom-bluetooth: Add VBAT and VDDIO supplies

2018-12-16 Thread Chen-Yu Tsai
: Ondrej Jirman Signed-off-by: Chen-Yu Tsai --- Documentation/devicetree/bindings/net/broadcom-bluetooth.txt | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Documentation/devicetree/bindings/net/broadcom-bluetooth.txt b/Documentation/devicetree/bindings/net/broadcom-bluetooth.txt index

Re: [PATCH 0/6] media: sun6i: Separate H3 compatible from A31

2018-12-13 Thread Chen-Yu Tsai
On Fri, Dec 14, 2018 at 6:10 AM wrote: > > Hi Chen-Yu, > > On Fri, Nov 30, 2018 at 03:58:43PM +0800, Chen-Yu Tsai wrote: > > The CSI (camera sensor interface) controller found on the H3 (and H5) > > is a reduced version of the one found on the A31. It only has 1 channel, &

Re: [PATCH v8 2/2] mfd: axp20x: Add supported cells for AXP803

2018-12-09 Thread Chen-Yu Tsai
: Oskari Lemmela > > Reviewed-by: Chen-Yu Tsai > > Tested-by: Vasily Khoruzhick > > Signed-off-by: Chen-Yu Tsai > > I'm happy to fix this, but ... > > Can you explain these tags for me please? > > Specifically the last one. > > Why does Chen-Yu

[PATCH] dt-bindings: rtc: sun6i-rtc: Fix register range in example

2018-12-07 Thread Chen-Yu Tsai
The register range for the RTC extends beyond 0x54. Use the size from the user manual's memory map instead. Fixes: 9765d2d94309 ("rtc: sun6i: Add sun6i RTC driver") Signed-off-by: Chen-Yu Tsai --- Documentation/devicetree/bindings/rtc/sun6i-rtc.txt | 2 +- 1 file changed, 1

Re: [PATCH v6 0/8] AXP8x3 AC and battery power supply support

2018-12-06 Thread Chen-Yu Tsai
On Fri, Dec 7, 2018 at 3:28 PM Lee Jones wrote: > > On Wed, 05 Dec 2018, Sebastian Reichel wrote: > > > Hi, > > > > On Fri, Nov 30, 2018 at 04:31:28PM +0800, Chen-Yu Tsai wrote: > > > On Wed, Nov 21, 2018 at 1:52 AM Oskari Lemmela wrote: > > > > &

Re: [PATCH v2 00/14] rtc: sun6i: clock rework and pre-H6 SoC support

2018-12-06 Thread Chen-Yu Tsai
On Fri, Dec 7, 2018 at 4:34 AM Alexandre Belloni wrote: > > On 06/12/2018 13:49:10+0800, Chen-Yu Tsai wrote: > > Hi, > > > > On Mon, Dec 3, 2018 at 10:58 PM Chen-Yu Tsai wrote: > > > > > > Hi everyone, > > > > > > This is v2 o

Re: [PATCH v2 07/15] arm64: dts: allwinner: h5: Add system-control node with SRAM C1

2018-12-05 Thread Chen-Yu Tsai
On Wed, Dec 5, 2018 at 5:25 PM Paul Kocialkowski wrote: > > Add the H5-specific system control node description to its device-tree > with support for the SRAM C1 section, that will be used by the video > codec node later on. > > The CPU-side SRAM address was obtained empirically while the size was

Re: [PATCH v2 00/15] Cedrus H5 and A64 support with A33 and H3 updates

2018-12-05 Thread Chen-Yu Tsai
Add device-tree compatible and variant for A64 support > arm64: dts: allwinner: h5: Add Video Engine node > arm64: dts: allwinner: a64: Add Video Engine node Other than the error in patch 7, Acked-by: Chen-Yu Tsai

Re: [PATCH v2 00/15] ARM: sunxi: Enable Broadcom-based Bluetooth controllers

2018-12-03 Thread Chen-Yu Tsai
On Wed, Nov 28, 2018 at 12:25 PM Chen-Yu Tsai wrote: > > Hi, > > On Thu, Nov 15, 2018 at 5:36 PM Chen-Yu Tsai wrote: > > > > Hi everyone, > > > > This is v2 of my Broadcom-based Bluetooth controllers on Allwinner SoC- > > based SBCs series. > >

[PATCH 0/2] pinctrl: sunxi: a64: Drop numeral from csi0/ts0

2018-12-03 Thread Chen-Yu Tsai
ers nor support for these two controllers. I planned to send this together with CSI support for the A64, but Jagan beat me to it, so here it is. Regards ChenYu Chen-Yu Tsai (2): pinctrl: sunxi: a64: Rename function csi0 to csi pinctrl: sunxi: a64: Rename function ts0 to ts drivers/pinctr

Re: [PATCH v6 0/8] AXP8x3 AC and battery power supply support

2018-11-30 Thread Chen-Yu Tsai
On Wed, Nov 21, 2018 at 1:52 AM Oskari Lemmela wrote: > > AXP813 AC power supply support with input current and > voltage limiting support. > > AXP803 AC and battery power supply support. > > Changes in v6: > * Collected tags > * Rebase to master > * Dropped AXP803 compatible patches > > Changes i

[PATCH 01/15] dt-bindings: rtc: sun6i-rtc: Rewrite clock outputs as a list

2018-11-28 Thread Chen-Yu Tsai
reference this list instead. This will also make it easier to add notes or conditions to the clocks, and also for adding new outputs. Signed-off-by: Chen-Yu Tsai --- Documentation/devicetree/bindings/rtc/sun6i-rtc.txt | 10 ++ 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a

[PATCH 10/15] ARM: dts: sun8i: a23/a33: Fix up RTC device node

2018-11-28 Thread Chen-Yu Tsai
compatible string and clock properties to conform to the updated bindings. The register range is also fixed. Signed-off-by: Chen-Yu Tsai --- arch/arm/boot/dts/sun8i-a23-a33.dtsi | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/arch/arm/boot/dts/sun8i-a23-a33.dtsi b/arch/ar

[PATCH 00/15] rtc: sun6i: clock rework and pre-H6 SoC support

2018-11-28 Thread Chen-Yu Tsai
ames must also be shuffled around or the in kernel representation would be incorrect. This has been the case since the sunxi-ng drivers were introduced. There are plans to address this, but the code is still in its early stages. Please have a look. Thanks ChenYu Chen-Yu Tsai (15): dt-bindings: rtc: sun6i-

Re: [PATCH v2 00/15] ARM: sunxi: Enable Broadcom-based Bluetooth controllers

2018-11-27 Thread Chen-Yu Tsai
Hi, On Thu, Nov 15, 2018 at 5:36 PM Chen-Yu Tsai wrote: > > Hi everyone, > > This is v2 of my Broadcom-based Bluetooth controllers on Allwinner SoC- > based SBCs series. > > Changes since v1: > > - Collected tags > - Re-organize dt binding clocks and clock-n

Re: [PATCH 10/14] regulator: dts: set proper lradc vref on OLinuXino Lime2

2018-11-27 Thread Chen-Yu Tsai
On Tue, Nov 27, 2018 at 5:37 PM Maxime Ripard wrote: > > On Mon, Nov 26, 2018 at 05:27:51PM +0200, Priit Laes wrote: > > From: Olliver Schinagl > > > > The lradc's analog reference voltage is set to 3.0 volt in the > > hardware. This is more or less set in copper for at least lradc0. Set the > >

Re: [PATCH v6 3/3] arm64: dts: allwinner: a64: enable sound on Pinebook

2018-11-17 Thread Chen-Yu Tsai
On Thu, Nov 15, 2018 at 1:48 PM Vasily Khoruzhick wrote: > > On Wed, Nov 7, 2018 at 11:30 PM Chen-Yu Tsai wrote: > > > + > > > + speaker_amp: speaker_amp { > > > + compatible = "simple-audio-amplifier"; > > > +

[PATCH v2 00/15] ARM: sunxi: Enable Broadcom-based Bluetooth controllers

2018-11-15 Thread Chen-Yu Tsai
e, while we, the sunxi maintainers, will take the last 2. Thanks ChenYu Chen-Yu Tsai (14): dt-bindings: net: broadcom-bluetooth: Fix external clock names dt-bindings: net: broadcom-bluetooth: Add VBAT and VDDIO supplies dt-bindings: net: broadcom-bluetooth: Add BCM20702A1 compatible strin

[PATCH v2 02/15] dt-bindings: net: broadcom-bluetooth: Add VBAT and VDDIO supplies

2018-11-15 Thread Chen-Yu Tsai
: Chen-Yu Tsai --- Documentation/devicetree/bindings/net/broadcom-bluetooth.txt | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Documentation/devicetree/bindings/net/broadcom-bluetooth.txt b/Documentation/devicetree/bindings/net/broadcom-bluetooth.txt index 711c75ac2bb5..78cfa0fbece9 100644

[PATCH v2 01/15] dt-bindings: net: broadcom-bluetooth: Fix external clock names

2018-11-15 Thread Chen-Yu Tsai
"txco" and "lpo". Signed-off-by: Chen-Yu Tsai --- .../devicetree/bindings/net/broadcom-bluetooth.txt | 7 +-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/Documentation/devicetree/bindings/net/broadcom-bluetooth.txt b/Documentation/devicetree/bindi

[PATCH v2 04/15] dt-bindings: net: broadcom-bluetooth: Add BCM4330 compatible string

2018-11-15 Thread Chen-Yu Tsai
multiple revisions. The module does not have revision markings. This patch elects to use just BCM4330 for the compatible string. Reviewed-by: Rob Herring Signed-off-by: Chen-Yu Tsai --- Documentation/devicetree/bindings/net/broadcom-bluetooth.txt | 1 + 1 file changed, 1 insertion(+) diff --git a

[PATCH v2 13/15] Bluetooth: btbcm: Add default address for BCM43430A0

2018-11-15 Thread Chen-Yu Tsai
identifies itself as. Add this to the list of default MAC addresses and leave it to the user to configure a valid one. Signed-off-by: Chen-Yu Tsai --- drivers/bluetooth/btbcm.c | 7 ++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/drivers/bluetooth/btbcm.c b/drivers

[PATCH v2 10/15] Bluetooth: hci_bcm: Wait for device to come out of reset after power on

2018-11-15 Thread Chen-Yu Tsai
line low. This is shown to be 6.5 sleep cycles, with the sleep clock at 32.768 kHz. This is around 2 ms. Wait a full 10 ms after the regulators are enabled to account for signal rising times. Signed-off-by: Chen-Yu Tsai --- drivers/bluetooth/hci_bcm.c | 3 +++ 1 file changed, 3 insertions(+)

[PATCH v2 15/15] arm64: dts: allwinner: a64: bananapi-m64: Add Bluetooth device node

2018-11-15 Thread Chen-Yu Tsai
. Acked-by: Maxime Ripard Signed-off-by: Chen-Yu Tsai --- .../boot/dts/allwinner/sun50i-a64-bananapi-m64.dts | 14 ++ 1 file changed, 14 insertions(+) diff --git a/arch/arm64/boot/dts/allwinner/sun50i-a64-bananapi-m64.dts b/arch/arm64/boot/dts/allwinner/sun50i-a64-bananapi-m64.dts

[PATCH v2 06/15] Bluetooth: hci_bcm: Simplify clk_get error handling

2018-11-15 Thread Chen-Yu Tsai
not. Simplify the code a bit by assigning NULL to the clk pointer if the error condition is one we want to ignore, which is every error except deferred probing. Signed-off-by: Chen-Yu Tsai --- drivers/bluetooth/hci_bcm.c | 10 +++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff

[PATCH v2 14/15] ARM: dts: sunxi: Enable Broadcom-based Bluetooth for multiple boards

2018-11-15 Thread Chen-Yu Tsai
in the pin controller node is a good choice without having to deal with implementation issues. Signed-off-by: Chen-Yu Tsai --- arch/arm/boot/dts/sun7i-a20-cubietruck.dts| 23 +++ arch/arm/boot/dts/sun8i-a83t-bananapi-m3.dts | 18 +++ .../boot/dts/sun8i-a

[PATCH v2 07/15] Bluetooth: hci_bcm: Use "txco" and "extclk" to get clock reference

2018-11-15 Thread Chen-Yu Tsai
upport for the "lpo" clock. Signed-off-by: Chen-Yu Tsai --- drivers/bluetooth/hci_bcm.c | 41 +++-- 1 file changed, 30 insertions(+), 11 deletions(-) diff --git a/drivers/bluetooth/hci_bcm.c b/drivers/bluetooth/hci_bcm.c index ff73ecb8215f..1584c95c9c34 1

[PATCH v2 05/15] Bluetooth: hci_bcm: Handle deferred probing for the clock supply

2018-11-15 Thread Chen-Yu Tsai
s can work reliably. Signed-off-by: Chen-Yu Tsai --- drivers/bluetooth/hci_bcm.c | 4 1 file changed, 4 insertions(+) diff --git a/drivers/bluetooth/hci_bcm.c b/drivers/bluetooth/hci_bcm.c index ddbd8c6a0ceb..800132369134 100644 --- a/drivers/bluetooth/hci_bcm.c +++ b/drivers/bluetooth/hci_

[PATCH v2 09/15] Bluetooth: hci_bcm: Add support for regulator supplies

2018-11-15 Thread Chen-Yu Tsai
: Chen-Yu Tsai --- drivers/bluetooth/hci_bcm.c | 39 - 1 file changed, 30 insertions(+), 9 deletions(-) diff --git a/drivers/bluetooth/hci_bcm.c b/drivers/bluetooth/hci_bcm.c index 345d728a5434..f2101038284e 100644 --- a/drivers/bluetooth/hci_bcm.c +++ b/drivers

[PATCH v2 11/15] Bluetooth: hci_bcm: Add BCM20702A1 variant

2018-11-15 Thread Chen-Yu Tsai
From: Maxime Ripard The BCM20702A1 chip is a single-chip Bluetooth 4.0 controller and transceiver. It is found in the AMPAK AP6210 WiFi+BT package. Signed-off-by: Maxime Ripard Signed-off-by: Chen-Yu Tsai --- drivers/bluetooth/btbcm.c | 6 ++ drivers/bluetooth/hci_bcm.c | 1 + 2 files

[PATCH v2 08/15] Bluetooth: hci_bcm: Add support for LPO clock

2018-11-15 Thread Chen-Yu Tsai
will not function correctly. Signed-off-by: Chen-Yu Tsai --- drivers/bluetooth/hci_bcm.c | 41 - 1 file changed, 36 insertions(+), 5 deletions(-) diff --git a/drivers/bluetooth/hci_bcm.c b/drivers/bluetooth/hci_bcm.c index 1584c95c9c34..345d728a5434 100644 --- a

[PATCH v2 12/15] Bluetooth: hci_bcm: Add compatible string for BCM4330

2018-11-15 Thread Chen-Yu Tsai
The BCM4330 chip is a 802.11 a/b/g/n + Bluetooth 4.0 + HS controller. This patch adds a compatible string match to the serdev driver for the Bluetooth part of the chip. Signed-off-by: Chen-Yu Tsai --- drivers/bluetooth/hci_bcm.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers

[PATCH v2 03/15] dt-bindings: net: broadcom-bluetooth: Add BCM20702A1 compatible string

2018-11-15 Thread Chen-Yu Tsai
for the compatible string. Reviewed-by: Rob Herring Signed-off-by: Chen-Yu Tsai --- Documentation/devicetree/bindings/net/broadcom-bluetooth.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/Documentation/devicetree/bindings/net/broadcom-bluetooth.txt b/Documentation/devicetree/bindings

Re: [PATCH v4 25/26] [DO NOT MERGE] arm64: dts: allwinner: bananapi-m64: Bananapi S070WV20-CT16 DSI panel

2018-11-14 Thread Chen-Yu Tsai
On Wed, Nov 14, 2018 at 2:58 PM Chen-Yu Tsai wrote: > > On Wed, Nov 14, 2018 at 2:31 PM Jagan Teki wrote: > > > > On Tue, Nov 13, 2018 at 5:52 PM Andre Przywara > > wrote: > > > > > > On Tue, 13 Nov 2018 16:46:32 +0530 > > > Jagan Teki

Re: [PATCH v6 3/3] arm64: dts: allwinner: a64: enable sound on Pinebook

2018-11-07 Thread Chen-Yu Tsai
On Thu, Nov 8, 2018 at 2:42 PM Vasily Khoruzhick wrote: > > This commit enables I2S, digital and analog parts of audiocodec on > Pinebook > > Signed-off-by: Vasily Khoruzhick > --- > .../dts/allwinner/sun50i-a64-pinebook.dts | 42 +++ > 1 file changed, 42 insertions(+) > > di

Re: [PATCH v6 2/3] arm64: dts: allwinner: a64: enable sound on Pine64 and SoPine

2018-11-07 Thread Chen-Yu Tsai
On Thu, Nov 8, 2018 at 2:42 PM Vasily Khoruzhick wrote: > > This commit enables I2S, digital and analog parts of audiocodec on > Pine64 and SoPine boards. > > Signed-off-by: Vasily Khoruzhick > --- > .../boot/dts/allwinner/sun50i-a64-pine64.dts | 28 +++ > .../allwinner/sun50i-a

Re: [PATCH v6 1/3] arm64: dts: allwinner: a64: add nodes necessary for analog sound support

2018-11-07 Thread Chen-Yu Tsai
On Thu, Nov 8, 2018 at 2:42 PM Vasily Khoruzhick wrote: > > Add nodes for i2s, digital and analog parts of audiocodec on A64 > > Signed-off-by: Vasily Khoruzhick > --- > arch/arm64/boot/dts/allwinner/sun50i-a64.dtsi | 58 +++ > 1 file changed, 58 insertions(+) > > diff --git a/ar

Re: [PATCH v5 04/11] dt-bindings: iio: adc: add AXP803 ADC bindings

2018-11-04 Thread Chen-Yu Tsai
On Sat, Nov 3, 2018 at 6:22 PM Jonathan Cameron wrote: > > On Wed, 31 Oct 2018 10:29:59 +0800 > Chen-Yu Tsai wrote: > > > On Mon, Oct 29, 2018 at 9:10 PM Quentin Schulz > > wrote: > > > > > > Hi Jonathan, > > > > > > On Sun, Oct 28,

Re: [PATCH v5 08/11] arm64: dts: allwinner: a64: pinebook: enable power supplies

2018-10-30 Thread Chen-Yu Tsai
hes. Otherwise, Reviewed-by: Chen-Yu Tsai

Re: [PATCH v5 07/11] arm64: dts: allwinner: a64: sopine-baseboard: enable power supplies

2018-10-30 Thread Chen-Yu Tsai
s are routed to the baseboard 3-pin battery connector. > > Signed-off-by: Oskari Lemmela > Reviewed-by: Quentin Schulz Reviewed-by: Chen-Yu Tsai

Re: [PATCH v5 06/11] arm64: dts: allwinner: axp803: add AC and battery power supplies

2018-10-30 Thread Chen-Yu Tsai
Khoruzhick Reviewed-by: Chen-Yu Tsai

Re: [PATCH v5 03/11] dt-bindings: gpio: gpio-axp209: add AXP803 GPIO bindings

2018-10-30 Thread Chen-Yu Tsai
On Wed, Oct 24, 2018 at 2:54 AM Oskari Lemmela wrote: > > The AXP803 GPIO is compatible with AXP813 GPIO, but add > specific compatible for it. > > Signed-off-by: Oskari Lemmela > --- > Documentation/devicetree/bindings/gpio/gpio-axp209.txt | 2 ++ > 1 file changed, 2 insertions(+) > > diff --gi

Re: [PATCH v5 09/11] power: supply: add AC power supply driver for AXP813

2018-10-30 Thread Chen-Yu Tsai
On Wed, Oct 24, 2018 at 2:54 AM Oskari Lemmela wrote: > > AXP813 and AXP803 PMICs can control input current and minimum voltage. > > Both of these values are configurable. > > Signed-off-by: Oskari Lemmela > Reviewed-by: Quentin Schulz Reviewed-by: Chen-Yu Tsai

Re: [PATCH v5 02/11] dt-bindings: power: supply: axp20x: add AXP803 power bindings

2018-10-30 Thread Chen-Yu Tsai
On Wed, Oct 24, 2018 at 2:54 AM Oskari Lemmela wrote: > > The AXP803 power supplies are compatible with AXP813, but > add specific compatibles for them. > > Signed-off-by: Oskari Lemmela > --- > .../devicetree/bindings/power/supply/axp20x_ac_power.txt | 1 + > .../devicetree/bindings/pow

Re: [PATCH v5 00/11] AXP8x3 AC and battery power supply support

2018-10-30 Thread Chen-Yu Tsai
On Fri, Oct 26, 2018 at 3:08 AM Sebastian Reichel wrote: > > Hi, > > Patches 1, 2 & 9 look good to me and do not seem to have any > dependencies. I plan to merge them after the merge window > for 4.20 closes. Patches 2, 3 & 4 aren't needed. They aren't in the correct format for model-specific + f

Re: [PATCH v5 04/11] dt-bindings: iio: adc: add AXP803 ADC bindings

2018-10-30 Thread Chen-Yu Tsai
On Mon, Oct 29, 2018 at 9:10 PM Quentin Schulz wrote: > > Hi Jonathan, > > On Sun, Oct 28, 2018 at 03:40:11PM +, Jonathan Cameron wrote: > > On Wed, 24 Oct 2018 08:56:33 -0500 > > Rob Herring wrote: > > > > > On Tue, 23 Oct 2018 21:53:23 +0300, Oskari Lemmela wrote: > > > > The AXP803 ADC is

Re: [PATCH 09/12] dt-bindings: panel: Add Bananapi S070WV20-CT16 MIPI-DSI panel bindings

2018-10-22 Thread Chen-Yu Tsai
Hi Rob, On Mon, Oct 15, 2018 at 7:24 PM Rob Herring wrote: > > On Thu, 27 Sep 2018 17:18:47 +0530, Jagan Teki wrote: > > Bananapi S070WV20-CT16 is 800x480, 4-lane MIPI-DSI panel, the > > same panel PCB comes with parallel RBG which is supported via > > panel-simple with "bananapi,s070wv20-ct16" c

Re: [PATCH v4 5/7] power: supply: add AC power supply driver for AXP813

2018-10-16 Thread Chen-Yu Tsai
On Sat, Oct 13, 2018 at 4:09 PM Oskari Lemmela wrote: > > AXP813 and AXP803 PMICs can control input current and > minimum voltage. > > Both of these values are configurable. > > Signed-off-by: Oskari Lemmela > Reviewed-by: Quentin Schulz > --- > drivers/power/supply/axp20x_ac_power.c | 92 +

Re: [PATCH v4 6/7] mfd: axp20x: Add AC power supply cell for AXP813

2018-10-15 Thread Chen-Yu Tsai
On Sat, Oct 13, 2018 at 4:09 PM Oskari Lemmela wrote: > > As axp20x-ac-power-supply now supports AXP813, add a cell for it. > > Signed-off-by: Oskari Lemmela > Reviewed-by: Quentin Schulz Reviewed-by: Chen-Yu Tsai

Re: [PATCH v4 7/7] mfd: axp20x: Add supported cells for AXP803

2018-10-15 Thread Chen-Yu Tsai
ts on the AXP813. These include the GPIO, ADC, AC and battery power supplies. > Signed-off-by: Oskari Lemmela Otherwise, Reviewed-by: Chen-Yu Tsai

Re: [PATCH v4 4/7] arm64: dts: allwinner: a64: sopine: enable power supplies

2018-10-15 Thread Chen-Yu Tsai
On Sat, Oct 13, 2018 at 4:09 PM Oskari Lemmela wrote: > > Sopine baseboard have ACIN and battery connectors. The commit message should be more specific, like how the two connections from the PMIC are routed. In this case ACIN is routed from the SOM to the DC jack on the baseboard, while the batte

Re: [PATCH v4 3/7] arm64: dts: allwinner: axp803: add AC and battery power supplies

2018-10-15 Thread Chen-Yu Tsai
On Sat, Oct 13, 2018 at 4:09 PM Oskari Lemmela wrote: > > AXP803 is compatible with AXP813. Add DT nodes ADC, GPIO, > AC and battery power supplies. > > Signed-off-by: Oskari Lemmela > Reviewed-by: Quentin Schulz > --- > arch/arm64/boot/dts/allwinner/axp803.dtsi | 31 +++ >

Re: [PATCH v4 1/7] dt-bindings: power: supply: axp20x: add AXP813 AC power DT binding

2018-10-15 Thread Chen-Yu Tsai
On Sat, Oct 13, 2018 at 4:09 PM Oskari Lemmela wrote: > > The AXP803/AXP813 AC power supply can limit input current and voltage. > > Signed-off-by: Oskari Lemmela > Reviewed-by: Rob Herring > Reviewed-by: Quentin Schulz Reviewed-by: Chen-Yu Tsai

Re: [PATCH v4 2/7] ARM: dts: axp81x: add AC power supply subnode

2018-10-15 Thread Chen-Yu Tsai
On Sat, Oct 13, 2018 at 4:09 PM Oskari Lemmela wrote: > > Add AC power supply subnode for AXP81X PMIC. > > Signed-off-by: Oskari Lemmela > Reviewed-by: Quentin Schulz Reviewed-by: Chen-Yu Tsai

Re: [PATCH v4 1/2] arm64: dts: allwinner: new board - Emlid Neutis N5

2018-10-12 Thread Chen-Yu Tsai
On Sat, Oct 13, 2018 at 4:23 AM Maxime Ripard wrote: > > On Fri, Oct 12, 2018 at 04:39:14PM +0300, Aleksandr Aleksandrov wrote: > > Hi Andreas, > > > > Thanks for your feedback! > > > > > > + * > > > > + * Copyright (C) 2018 Aleksandr Aleksandrov > > > > > > > > + */ > > > > + > > > > +/dts-v1/;

Re: [PATCH v3 7/7] mfd: axp20x: Add supported cells for AXP803

2018-10-11 Thread Chen-Yu Tsai
On Tue, Oct 9, 2018 at 2:20 AM Oskari Lemmela wrote: > > AXP803 is compatible with AXP813. > Adding cells for GPIO, ADC, AC and battery power supplies. > > Signed-off-by: Oskari Lemmela > --- > drivers/mfd/axp20x.c | 17 - > 1 file changed, 16 insertions(+), 1 deletion(-) > > dif

Re: [PATCH v2 25/29] drm: sun4i: add quirks for TCON TOP

2018-10-08 Thread Chen-Yu Tsai
On Mon, Oct 8, 2018 at 6:20 PM Maxime Ripard wrote: > > On Mon, Oct 08, 2018 at 05:06:45PM +0800, Chen-Yu Tsai wrote: > > On Mon, Oct 8, 2018 at 4:51 PM Maxime Ripard > > wrote: > > > > > > On Sun, Oct 07, 2018 at 11:39:01AM +0200, Jernej Skrabe

Re: [PATCH v2] arm64: dts: rockchip: add spdif sound node for rock64

2018-10-03 Thread Chen-Yu Tsai
Hi, On Mon, Sep 17, 2018 at 8:28 PM Katsuhiro Suzuki wrote: > > This patch adds sound card node for rock64. Currently we can support > S/PDIF only. It seems the lack of codec driver of rk3328 to enable > analog audio out. > > Signed-off-by: Katsuhiro Suzuki > --- > .../arm64/boot/dts/rockchip/r

Re: [PATCH] ARM: dts: sunxi: h3-h5: Add Bananapi M2+ v1.2 device trees

2018-09-28 Thread Chen-Yu Tsai
On Fri, Sep 28, 2018 at 1:28 AM Maxime Ripard wrote: > > On Wed, Sep 26, 2018 at 09:23:39PM +0800, Chen-Yu Tsai wrote: > > Bananapi released an updated revision of the H3/H5 based Bananapi M2+. > > Version 1.2 enables voltage control for the CPU's regulator by using >

Re: [linux-sunxi] Re: [PATCH 04/12] drm/sun4i: sun6i_mipi_dsi: Enable missing DSI bus clock

2018-09-27 Thread Chen-Yu Tsai
On Fri, Sep 28, 2018 at 12:26 AM Jagan Teki wrote: > > On Thu, Sep 27, 2018 at 7:47 PM Chen-Yu Tsai wrote: > > > > On Thu, Sep 27, 2018 at 9:44 PM Jagan Teki > > wrote: > > > > > > On Thu, Sep 27, 2018 at 6:13 PM Chen-Yu Tsai wrote: > > > &g

Re: [linux-sunxi] Re: [PATCH 04/12] drm/sun4i: sun6i_mipi_dsi: Enable missing DSI bus clock

2018-09-27 Thread Chen-Yu Tsai
On Thu, Sep 27, 2018 at 9:44 PM Jagan Teki wrote: > > On Thu, Sep 27, 2018 at 6:13 PM Chen-Yu Tsai wrote: > > > > Hi, > > > > On Thu, Sep 27, 2018 at 7:49 PM Jagan Teki > > wrote: > > > > > > DSI bus_clk is already available in sun6i_dsi

Re: [PATCH 04/12] drm/sun4i: sun6i_mipi_dsi: Enable missing DSI bus clock

2018-09-27 Thread Chen-Yu Tsai
Hi, On Thu, Sep 27, 2018 at 7:49 PM Jagan Teki wrote: > > DSI bus_clk is already available in sun6i_dsi but missed to > get the clk and process for enable/disable. > > This patch add support for it. > > Signed-off-by: Jagan Teki > --- > drivers/gpu/drm/sun4i/sun6i_mipi_dsi.c | 8 > 1 f

Re: [PATCH v2] arm64: dts: allwinner: a64-olinuxino: set the PHY TX delay

2018-09-27 Thread Chen-Yu Tsai
On Thu, Sep 27, 2018 at 3:49 AM Rodrigo Exterckötter Tjäder wrote: > > The PHY found on the A64-OLinuXino requires a TX delay in order to > operate properly. Olimex uses a 600ps second delay in their BSP, and > that has been found to work, so let's use that value in the current > DT. > > Signed-of

[PATCH] ARM: dts: sunxi: h3-h5: Add Bananapi M2+ v1.2 device trees

2018-09-26 Thread Chen-Yu Tsai
i file for this new revision, which includes the original common sunxi-bananapi-m2-plus.dtsi file, and adds the GPIO-controlled regulator and a cpu-supply reference. H3 and H5 variant dts files are added as well. Signed-off-by: Chen-Yu Tsai --- arch/arm/boot/dts/Makefile| 1

[PATCH] arm64: dts: rockchip: Enable SPI NOR flash on Rock64

2018-09-25 Thread Chen-Yu Tsai
e. Signed-off-by: Chen-Yu Tsai --- This was working on linux-next 20180910, but now fails on linux-next 20180925, with the following error messages: m25p80 spi0.0: error -22 reading 9f m25p80: probe of spi0.0 failed with error -2 Reverting the spi/for-next branch makes it work again:

Re: [PATCH] arm64: dts: meson: Switch simple-mfd and syscon order

2018-09-12 Thread Chen-Yu Tsai
On Thu, Jul 26, 2018 at 10:51 PM Neil Armstrong wrote: > > Hi, > > On 26/07/2018 16:41, Yixun Lan wrote: > > HI Neil > > > > On 07/26/2018 10:13 PM, Neil Armstrong wrote: > >> The order between "syscon" and "simple-mfd" is important because in these > >> particular cases, the node needs to be firs

Re: [PATCH RESEND] drivers: soc: Allow building the sunxi driver without ARCH_SUNXI

2018-09-12 Thread Chen-Yu Tsai
On Mon, Sep 10, 2018 at 7:43 PM Maxime Ripard wrote: > > On Sun, Sep 09, 2018 at 09:04:39PM +0200, Paul Kocialkowski wrote: > > This makes it possible to build the sunxi SRAM driver without building > > for the sunxi architecture. This allows selecting the driver when > > building the kernel in te

Re: [PATCH 08/27] clk: sunxi-ng: Add support for H6 DE3 clocks

2018-09-12 Thread Chen-Yu Tsai
On Wed, Sep 5, 2018 at 1:46 AM Jernej Škrabec wrote: > > Dne torek, 04. september 2018 ob 11:04:21 CEST je Chen-Yu Tsai napisal(a): > > On Sun, Sep 2, 2018 at 3:27 PM Jernej Skrabec > wrote: > > > Support for mixer0, mixer1, writeback and rotation units is added. &

Re: [PATCH RESEND] drivers: soc: Allow building the sunxi driver without ARCH_SUNXI

2018-09-10 Thread Chen-Yu Tsai
Hi Hans, On Mon, Sep 10, 2018 at 3:04 AM Paul Kocialkowski wrote: > > This makes it possible to build the sunxi SRAM driver without building > for the sunxi architecture. This allows selecting the driver when > building the kernel in testing environments. > > In particular, this is necessary for

Re: [PATCH v4 09/13] ARM: dts: sun8i: r40: add sata node

2018-08-31 Thread Chen-Yu Tsai
On Fri, Aug 31, 2018 at 3:56 PM Corentin Labbe wrote: > > On Fri, Aug 31, 2018 at 09:35:00AM +0200, Maxime Ripard wrote: > > On Thu, Aug 30, 2018 at 09:01:16PM +0200, Corentin Labbe wrote: > > > R40 have a sata controller which is the same as A20. > > > This patch adds a DT node for it. > > > > >

Re: [PATCH] pinctrl: Convert to using %pOFn instead of device_node.name

2018-08-28 Thread Chen-Yu Tsai
Nicolas Ferre > Cc: Alexandre Belloni > Cc: Heiko Stuebner > Cc: Tony Lindgren > Cc: Haojian Zhuang > Cc: Patrice Chotard > Cc: Barry Song > Cc: Maxime Coquelin > Cc: Alexandre Torgue > Cc: Maxime Ripard > Cc: Chen-Yu Tsai > Cc: linux-g...@vger.kernel.org &g

Re: [linux-sunxi] [PATCH] clk: sunxi-ng: fix H6 bus clocks divider position

2018-08-10 Thread Chen-Yu Tsai
On Thu, Aug 9, 2018 at 1:19 AM, Icenowy Zheng wrote: > The bus clocks (AHB/APB) on Allwinner H6 have their second divider start > at bit 8, according to the user manual and the BSP code. However, > currently the divider is wrongly set to 16, thus the divider is not > correctly read and the clock f

Re: [PATCH] pinctrl: axp209: Fix NULL pointer dereference after allocation

2018-08-08 Thread Chen-Yu Tsai
ff-by: Anton Vasilyev Acked-by: Chen-Yu Tsai

Re: [PATCH] arm64: dts: allwinner: a64: add csi regulator to sopine dts

2018-08-06 Thread Chen-Yu Tsai
On Wed, Aug 1, 2018 at 3:43 PM, Akash Gajjar wrote: > sopine board has a csi. enable supply dvdd-1v8-csi, dovdd-2v8-csi and > avdd-2v8-csi on board to access external camera connected to it. Unless there are other uses beyond supplying the camera module, this is not going to be accepted. Enabling

Re: [linux-sunxi] Re: [PATCH 3/3] arm64: allwinner: dts: h6: add Wi-Fi support for Pine H64 model A/B

2018-07-23 Thread Chen-Yu Tsai
On Tue, Jul 24, 2018 at 10:28 AM, Icenowy Zheng wrote: > > > 于 2018年7月24日 GMT+08:00 上午10:26:02, Chen-Yu Tsai 写到: >>On Tue, Jul 24, 2018 at 10:23 AM, Icenowy Zheng >>wrote: >>> >>> >>> 于 2018年7月24日 GMT+08:00 上午10:21:59, Chen-Yu Tsai 写到: &g

Re: linux-next: Signed-off-by missing for commits in the arm-soc tree

2018-07-16 Thread Chen-Yu Tsai
On Mon, Jul 16, 2018 at 5:13 PM, Florian Fainelli wrote: > > > On 07/15/2018 03:50 PM, Olof Johansson wrote: >> Thanks Stephen, I keep saying every time you catch these that I need >> to run the same script. :( >> >> Florian, I wonder if this happened when you rebased to squash in the fix? > > Hum

Re: [PATCH 13/17] ARM: dts: sun8i: r40: Remove fallback compatible for TCON TV

2018-07-10 Thread Chen-Yu Tsai
mentation. You can however mention that hardware interaction makes it not so compatible. :) > Signed-off-by: Jernej Skrabec Otherwise, Reviewed-by: Chen-Yu Tsai

Re: [PATCH 05/17] drm/sun4i: tcon: Release node when traversing of graph

2018-07-10 Thread Chen-Yu Tsai
lize engine search algorithm") > > Signed-off-by: Jernej Skrabec Reviewed-by: Chen-Yu Tsai

<    1   2   3   4   5   6   7   8   9   10   >