[PATCH] backlight: lm3630a: bump REG_MAX value to 0x50 instead of 0x1F

2017-06-20 Thread Bhushan Shah
In the lm3630a_chip_init we try to write to 0x50 register, which is higher value then the max_register value, this resulted in regmap_write return -EIO. Fix this by bumping REG_MAX value to 0x50. Signed-off-by: Bhushan Shah Suggested-by: Bjorn Andersson --- drivers/video/backlight

[PATCH v2] backlight: lm3630a: bump REG_MAX value to 0x50 instead of 0x1F

2017-06-20 Thread Bhushan Shah
In the lm3630a_chip_init we try to write to 0x50 register, which is higher value then the max_register value, this resulted in regmap_write return -EIO. Fix this by bumping REG_MAX value to 0x50. Signed-off-by: Bhushan Shah Suggested-by: Bjorn Andersson --- Changes since v1: - Fix the

Re: [PATCH v2] backlight: lm3630a: bump REG_MAX value to 0x50 instead of 0x1F

2017-06-21 Thread Bhushan Shah
On Wed, Jun 21, 2017 at 10:37:43AM +0100, Daniel Thompson wrote: > On 21/06/17 06:31, Bhushan Shah wrote: > > In the lm3630a_chip_init we try to write to 0x50 register, which is > > higher value then the max_register value, this resulted in regmap_write > > return -EIO.

[PATCH] ARM: dts: qcom: msm8974-hammerhead: increase load on l20 for sdhci

2018-07-09 Thread Bhushan Shah
: Reset 0x1 never completed. This patch increases the load on l20 to 0.2 amps for the sdhci and allows the device to boot normally. Signed-off-by: Bhushan Shah Suggested-by: Bjorn Andersson Tested-by: Brian Masney --- arch/arm/boot/dts/qcom-msm8974-lge-nexus5-hammerhead.dts | 2 ++ 1 file

Re: [PATCH] ARM: dts: qcom: msm8974-hammerhead: increase load on l20 for sdhci

2018-07-09 Thread Bhushan Shah
Hi, On Mon, Jul 09, 2018 at 02:46:28PM +0530, Bhushan Shah wrote: > The kernel would not boot on the hammerhead hardware due to the > following error: > > mmc0: Timeout waiting for hardware interrupt. > mmc0: sdhci: SDHCI REGISTER DUMP === > mmc

[PATCH v2 2/3] arm64: allwinner: h6: add I2C nodes

2019-08-15 Thread Bhushan Shah
Add device-tree nodes for i2c0 to i2c2, and also add relevant pinctrl nodes. Suggested-by: Icenowy Zheng Signed-off-by: Bhushan Shah --- Changes in v2: - Add the SoC specific compatible string instead of re-using a31 one. arch/arm64/boot/dts/allwinner/sun50i-h6.dtsi | 56

[PATCH v2 3/3] arm64: allwinner: h6: add i2c0 node in PineH64

2019-08-15 Thread Bhushan Shah
i2c0 bus is exposed by PI-2 BUS in the PineH64, model B. Signed-off-by: Bhushan Shah --- Changes in v2: - Don't enable the i2c0 node in PineH64 by default arch/arm64/boot/dts/allwinner/sun50i-h6-pine-h64.dts | 9 + 1 file changed, 9 insertions(+) diff --git a/arch/arm64/boo

[PATCH v2 0/3] Enable the I2C nodes for Allwinner H6 CPU

2019-08-15 Thread Bhushan Shah
This patch series adds device-tree nodes for i2c nodes in the H6 dtsi, and enables it for the Pine H64. Changes in v2: - Add the SoC specific compatible string instead of re-using a31 one. - Don't enable the i2c0 node in PineH64 by default Bhushan Shah (3): dt-bindings: i2c: mv64xxx

[PATCH v2 1/3] dt-bindings: i2c: mv64xxx: Add compatible for the H6 i2c node.

2019-08-15 Thread Bhushan Shah
Allwinner H6 have a mv64xxx i2c interface available to be used. Signed-off-by: Bhushan Shah --- Documentation/devicetree/bindings/i2c/marvell,mv64xxx-i2c.yaml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Documentation/devicetree/bindings/i2c/marvell,mv64xxx-i2c.yaml b/Documentation

Re: [PATCH v2 3/3] arm64: allwinner: h6: add i2c0 node in PineH64

2019-08-16 Thread Bhushan Shah
d in the DTSI already I added this node here with disabled status due to comment from wens in previous revision, main reason being that serves as reference/pointer to people looking at how to enable i2c0. I can remove it if you prefer. -- Bhushan Shah http://blog.bshah.in IRC Nick : bshah on Freenode G

Re: [PATCH v2 2/3] arm64: allwinner: h6: add I2C nodes

2019-08-16 Thread Bhushan Shah
On Fri, Aug 16, 2019 at 09:50:31AM +0200, Maxime Ripard wrote: > On Fri, Aug 16, 2019 at 12:17:09PM +0530, Bhushan Shah wrote: > > Add device-tree nodes for i2c0 to i2c2, and also add relevant pinctrl > > nodes. > > > > Suggested-by: Icenowy Zheng >

[PATCH v3 1/2] dt-bindings: i2c: mv64xxx: Add compatible for the H6 i2c node.

2019-08-16 Thread Bhushan Shah
Allwinner H6 have a mv64xxx i2c interface available to be used. Signed-off-by: Bhushan Shah --- Documentation/devicetree/bindings/i2c/marvell,mv64xxx-i2c.yaml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Documentation/devicetree/bindings/i2c/marvell,mv64xxx-i2c.yaml b/Documentation

[PATCH v3 2/2] arm64: allwinner: h6: add I2C nodes

2019-08-16 Thread Bhushan Shah
Add device-tree nodes for i2c0 to i2c2, and also add relevant pinctrl nodes. Suggested-by: Icenowy Zheng Signed-off-by: Bhushan Shah --- Changes in v3: - fix compatible for the i2c arch/arm64/boot/dts/allwinner/sun50i-h6.dtsi | 60 +++- 1 file changed, 59 insertions(+), 1

[PATCH v3 0/2] Enable the I2C nodes for Allwinner H6 CPU

2019-08-16 Thread Bhushan Shah
un50i-h6.dtsi - drop changes in the PineH64 dts completely Bhushan Shah (2): dt-bindings: i2c: mv64xxx: Add compatible for the H6 i2c node. arm64: allwinner: h6: add I2C nodes .../bindings/i2c/marvell,mv64xxx-i2c.yaml | 3 + arch/arm64/boot/dts/allwinner/sun50i-h6.dtsi

Re: [v4,2/2] drm/panel: Add Feiyang FY07024DI26A30-D MIPI-DSI LCD panel

2019-01-24 Thread Bhushan Shah
On Fri, Jan 25, 2019 at 12:13:13AM +0530, Jagan Teki wrote: > Feiyang FY07024DI26A30-D is 1024x600, 4-lane MIPI-DSI LCD panel. > > Add panel driver for it. > > Signed-off-by: Jagan Teki Tested-by: Bhushan Shah -- Bhushan Shah http://blog.bshah.in IRC Nick : bshah on F

[PATCH 0/2] Enable the I2C nodes for Allwinner H6 CPU

2019-08-11 Thread Bhushan Shah
This patch series adds device-tree nodes for i2c nodes in the H6 dtsi, and enables it for the Pine H64. Bhushan Shah (2): arm64: allwinner: h6: add I2C nodes arm64: allwinner: h6: enable i2c0 in PineH64 .../boot/dts/allwinner/sun50i-h6-pine-h64.dts | 4 ++ arch/arm64/boot/dts/allwinner

[PATCH 2/2] arm64: allwinner: h6: enable i2c0 in PineH64

2019-08-11 Thread Bhushan Shah
i2c0 bus is exposed by PI-2 BUS in the PineH64, model B. Signed-off-by: Bhushan Shah --- arch/arm64/boot/dts/allwinner/sun50i-h6-pine-h64.dts | 8 1 file changed, 8 insertions(+) diff --git a/arch/arm64/boot/dts/allwinner/sun50i-h6-pine-h64.dts b/arch/arm64/boot/dts/allwinner/sun50i

[PATCH 1/2] arm64: allwinner: h6: add I2C nodes

2019-08-11 Thread Bhushan Shah
Add device-tree nodes for i2c0 to i2c2, and also add relevant pinctrl nodes. Suggested-by: Icenowy Zheng Signed-off-by: Bhushan Shah --- arch/arm64/boot/dts/allwinner/sun50i-h6.dtsi | 54 1 file changed, 54 insertions(+) diff --git a/arch/arm64/boot/dts/allwinner/sun50i

[PATCH v3] backlight: lm3630a: bump REG_MAX value to 0x50 instead of 0x1F

2017-06-22 Thread Bhushan Shah
commit lm3630a_chip_init succeeds instead of failing with -EIO. Fixes: 28e64a68a2ef ("backlight: lm3630: apply chip revision") Fixes: 2a0c316bf3cc ("drivers/video/backlight/lm3630a_bl.c: fix signedness bug in lm3630a_chip_init()") Signed-off-by: Bhushan Shah Suggested