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

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

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

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

2018-12-19 Thread Chen-Yu Tsai
> > 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 the existing code's styl

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

2018-12-16 Thread Chen-Yu Tsai
adds "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
e 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-bindings: net: broadcom-bluetooth: Fi

[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
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-a83t-cubietruck-plus.dts | 18

[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
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 changed

[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
, or if there are 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

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

2018-12-16 Thread Chen-Yu Tsai
-by: 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
t 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 ff73ecb

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

2018-12-16 Thread Chen-Yu Tsai
or 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
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 +++ b

[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
-by: 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
-by: 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 inser

[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 inser

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 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

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

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] 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. > >

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
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/pinctrl/sunxi/pinctrl

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

2018-12-03 Thread Chen-Yu Tsai
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/pinctrl/sunxi/pinctrl

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

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

[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

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

2018-11-28 Thread Chen-Yu Tsai
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/arm/boot/dts

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

2018-11-28 Thread Chen-Yu Tsai
uffled 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-rtc: Rewrite clock o

[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

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

2018-11-28 Thread Chen-Yu Tsai
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/arm/boot/dts

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

2018-11-28 Thread Chen-Yu Tsai
uffled 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-rtc: Rewrite clock o

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 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 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"; > > > +

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
aintainers, 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 string dt-bindings: net: broadcom

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

2018-11-15 Thread Chen-Yu Tsai
aintainers, 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 string dt-bindings: net: broadcom

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

2018-11-15 Thread Chen-Yu Tsai
-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 711c75ac2bb5..78cfa0fbece9 100644

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

2018-11-15 Thread Chen-Yu Tsai
-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 711c75ac2bb5..78cfa0fbece9 100644

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

2018-11-15 Thread Chen-Yu Tsai
adds "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 01/15] dt-bindings: net: broadcom-bluetooth: Fix external clock names

2018-11-15 Thread Chen-Yu Tsai
adds "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
, or if there are 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

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

2018-11-15 Thread Chen-Yu Tsai
, or if there are 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

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

2018-11-15 Thread Chen-Yu Tsai
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-a83t-cubietruck-plus.dts | 18

[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
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(+) diff

[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
or 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 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
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(+) diff

[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
or 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
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-a83t-cubietruck-plus.dts | 18

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

2018-11-15 Thread Chen-Yu Tsai
t 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 100644

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

2018-11-15 Thread Chen-Yu Tsai
t 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 100644

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

2018-11-15 Thread Chen-Yu Tsai
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_bcm.c

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

2018-11-15 Thread Chen-Yu Tsai
-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/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

[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 05/15] Bluetooth: hci_bcm: Handle deferred probing for the clock supply

2018-11-15 Thread Chen-Yu Tsai
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_bcm.c

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

2018-11-15 Thread Chen-Yu Tsai
-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/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

[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

[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 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(+) > >

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(+) > >

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 +++ >

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 +++ >

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

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

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 S

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 S

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

2018-10-30 Thread Chen-Yu Tsai
herwise, Reviewed-by: Chen-Yu Tsai

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

2018-10-30 Thread Chen-Yu Tsai
herwise, 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
pins 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 07/11] arm64: dts: allwinner: a64: sopine-baseboard: enable power supplies

2018-10-30 Thread Chen-Yu Tsai
pins 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 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

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