Re: [PATCH v2] drm/connector: Add of_drm_find_connector

2020-07-30 Thread Andy Yan
ping On 7/3/20 5:45 PM, Andy Yan wrote: Add a function to look up a connector by device tree node, like what of_drm_find_bridge/panel does. Signed-off-by: Andy Yan Reported-by: kernel test robot --- Changes in v2: - Add function declaration drivers/gpu/drm/drm_connector.c | 33

Re: [PATCH 2/5] drm: rockchip: add missing registers for RK3188【请注意,邮件由linux-rockchip-bounces+andy.yan=rock-chips....@lists.infradead.org代发】

2020-07-20 Thread Andy Yan
Hi Alex: On 7/20/20 10:46 PM, Alex Bee wrote: Hi Andy, Am 20.07.20 um 10:22 schrieb Andy Yan: Hi Alex: On 7/19/20 4:03 AM, Alex Bee wrote: This patch adds dither_up, dsp_lut_en, data_blank and dsp_data_swap registers to enable their respective functionality for RK3188's VOP. Signed-o

Re: [PATCH 2/5] drm: rockchip: add missing registers for RK3188【请注意,邮件由linux-rockchip-bounces+andy.yan=rock-chips....@lists.infradead.org代发】

2020-07-20 Thread Andy Yan
Hi Alex: On 7/19/20 4:03 AM, Alex Bee wrote: This patch adds dither_up, dsp_lut_en, data_blank and dsp_data_swap registers to enable their respective functionality for RK3188's VOP. Signed-off-by: Alex Bee --- drivers/gpu/drm/rockchip/rockchip_vop_reg.c | 4 1 file changed, 4 insertion

[PATCH v2] drm/connector: Add of_drm_find_connector

2020-07-03 Thread Andy Yan
Add a function to look up a connector by device tree node, like what of_drm_find_bridge/panel does. Signed-off-by: Andy Yan Reported-by: kernel test robot --- Changes in v2: - Add function declaration drivers/gpu/drm/drm_connector.c | 33 + include/drm

Re: [PATCH 1/2] arm64: dts: rockchip: Add core dts for RK3308 SOC

2019-10-21 Thread Andy Yan
Hi Heiko: Thanks for your kindly review. On 10/18/19 7:30 AM, Heiko Stuebner wrote: Hi Andy, Am Donnerstag, 17. Oktober 2019, 05:04:49 CEST schrieb Andy Yan: + psci { + compatible = "arm,psci-1.0"; + method = "smc"; + }; Pleas

[PATCH v2 2/4] arm64: dts: rockchip: Add core dts for RK3308 SOC

2019-10-21 Thread Andy Yan
RK3308 is a quad Cortex A35 based SOC with rich audio interfaces(I2S/PCM/TDM/PDM/SPDIF/VAD/HDMI ARC), which designed for intelligent voice interaction and audio input/output processing. This patch add basic core dtsi file for it. Signed-off-by: Andy Yan --- Changes in v2: - Address Heiko&#

[PATCH v2 0/4] Add basic dts support for RK3308

2019-10-21 Thread Andy Yan
development. Changes in v2: - Address Heiko's comments in V1 - Split with the dts file - Split binding to a separate patch - Power tree update. Andy Yan (4): dt-bindings: Add doc about rk3308 General Register Files arm64: dts: rockchip: Add core dts for RK3308 SOC dt-bindings: Add do

[PATCH v2 4/4] arm64: dts: rockchip: Add basic dts for RK3308 EVB

2019-10-21 Thread Andy Yan
This board use uart4 as debug port and arm core voltage is modulated by pwm, logic voltage is fixed to 1.05V. Signed-off-by: Andy Yan --- Changes in v2: - Split binding to a separate patch - Power tree update. arch/arm64/boot/dts/rockchip/Makefile | 1 + arch/arm64/boot/dts/rockchip

[PATCH v2 3/4] dt-bindings: Add doc for rk3308-evb

2019-10-21 Thread Andy Yan
Add compatible for RK3308 Evaluation board Signed-off-by: Andy Yan --- Changes in v2: - Split with the dts file Documentation/devicetree/bindings/arm/rockchip.yaml | 5 + 1 file changed, 5 insertions(+) diff --git a/Documentation/devicetree/bindings/arm/rockchip.yaml b/Documentation

[PATCH v2 1/4] dt-bindings: Add doc about rk3308 General Register Files

2019-10-21 Thread Andy Yan
RK3308 GRF is divided into four sections: GRF, SGRF, DETECTGRF, COREGRF. This patch add documentation for it. Signed-off-by: Andy Yan --- Changes in v2: None .../devicetree/bindings/soc/rockchip/grf.txt | 11 +++ 1 file changed, 11 insertions(+) diff --git a/Documentation

[PATCH 0/2] Add basic dts support for RK3308

2019-10-16 Thread Andy Yan
development. Andy Yan (2): arm64: dts: rockchip: Add core dts for RK3308 SOC arm64: dts: rockchip: Add basic dts for RK3308 EVB .../devicetree/bindings/arm/rockchip.yaml |5 + arch/arm64/boot/dts/rockchip/Makefile |1 + arch/arm64/boot/dts/rockchip/rk3308-evb.dts | 206

[PATCH 2/2] arm64: dts: rockchip: Add basic dts for RK3308 EVB

2019-10-16 Thread Andy Yan
This board use uart4 as debug port and arm core voltage is modulated by pwm. Signed-off-by: Andy Yan --- .../devicetree/bindings/arm/rockchip.yaml | 5 + arch/arm64/boot/dts/rockchip/Makefile | 1 + arch/arm64/boot/dts/rockchip/rk3308-evb.dts | 206 ++ 3 files

[PATCH 1/2] arm64: dts: rockchip: Add core dts for RK3308 SOC

2019-10-16 Thread Andy Yan
RK3308 is a quad Cortex A35 based SOC with rich audio interfaces(I2S/PCM/TDM/PDM/SPDIF/VAD/HDMI ARC), which designed for intelligent voice interaction and audio input/output processing. This patch add basic core dtsi file for it. Signed-off-by: Andy Yan --- arch/arm64/boot/dts/rockchip

[PATCH v2] arm64: dts: rockchip: Add dts for Leez RK3399 P710 SBC

2019-08-05 Thread Andy Yan
://leez.lenovo.com Signed-off-by: Andy Yan --- Changes in v2: - Add vendor entry for Leez - Rework the regulator tree - Fix some pinctrl names .../devicetree/bindings/arm/rockchip.yaml | 5 + .../devicetree/bindings/vendor-prefixes.yaml | 2 + arch/arm64/boot/dts/rockchip/Makefile

[PATCH] arm64: dts: rockchip: Add dts for Leez RK3399 P710 SBC

2019-08-03 Thread Andy Yan
-off-by: Andy Yan --- .../devicetree/bindings/arm/rockchip.yaml | 5 + arch/arm64/boot/dts/rockchip/Makefile | 1 + .../boot/dts/rockchip/rk3399-leez-p710.dts| 635 ++ 3 files changed, 641 insertions(+) create mode 100644 arch/arm64/boot/dts/rockchip/rk3399-leez

[PATCH v8 3/3] ARM: dts: rockchip: enable sfc for rv1108 evb

2018-02-08 Thread Andy Yan
Enable the sfc support for rv1108 evaluation board. Signed-off-by: Andy Yan --- Changes in v8: None Changes in v7: None Changes in v6: None Changes in v5: None Changes in v4: None Changes in v3: None Changes in v2: None arch/arm/boot/dts/rv1108-evb.dts | 10 ++ arch/arm/boot/dts

[PATCH v8 1/3] mtd: spi-nor: Bindings for Rockchip serial flash controller

2018-02-08 Thread Andy Yan
From: Shawn Lin Add binding document for the Rockchip serial flash controller. Signed-off-by: Shawn Lin Acked-by: Marek Vasut Acked-by: Rob Herring Signed-off-by: Andy Yan --- Changes in v8: None Changes in v7: None Changes in v6: None Changes in v5: None Changes in v4: None Changes in

[PATCH v8 2/3] mtd: spi-nor: add rockchip serial flash controller driver

2018-02-08 Thread Andy Yan
From: Shawn Lin Add Rockchip SFC(serial flash controller) driver. Signed-off-by: Shawn Lin Signed-off-by: Andy Yan Acked-by: Marek Vasut --- Changes in v8: - remove unused macro SFC_CMD_TRAN_BYTES_MASK - set max transfer length to 15.5KB - remove unnecessary buffer align check - remove the

[PATCH v8 0/3] Add Rockchip SFC(serial flash controller) support

2018-02-08 Thread Andy Yan
g/pipermail/linux-mtd/2016-November/070321.html Andy Yan (1): ARM: dts: rockchip: enable sfc for rv1108 evb Shawn Lin (2): mtd: spi-nor: Bindings for Rockchip serial flash controller mtd: spi-nor: add rockchip serial flash controller driver .../devicetree/bindings/mtd/rockchip-sfc.txt

Re: [PATCH 2/2] cpufreq: dt: add support for rockchip rv1108

2017-09-13 Thread Andy Yan
Hi Viresh: On 2017年09月14日 03:18, Viresh Kumar wrote: On 21-08-17, 17:10, Andy Yan wrote: Add the compatible string to support the generic device tree cpufreq-dt driver on rockchip rv1108 soc. Signed-off-by: Andy Yan --- drivers/cpufreq/cpufreq-dt-platdev.c | 1 + 1 file changed, 1

[PATCH v7 2/2] mtd: spi-nor: add support for GD25Q256

2017-08-27 Thread Andy Yan
Add support for GD25Q256, a 32MiB SPI Nor flash from GigaDevice. Signed-off-by: Andy Yan --- Changes in v7: None Changes in v6: None Changes in v5: None Changes in v4: None Changes in v3: None Changes in v2: None drivers/mtd/spi-nor/spi-nor.c | 8 1 file changed, 8 insertions

[PATCH v7 1/2] mtd: spi-nor: add a quad_enable callback in struct flash_info

2017-08-27 Thread Andy Yan
it is impossible to select the quad enable method by distinguishing the MFR. This patch introduce a quad_enable function which can be set per memory in the flash_info list table. Signed-off-by: Andy Yan --- Changes in v7: - fix some typos. Changes in v6: - split the quad_enable callback to a

[PATCH v6 2/2] mtd: spi-nor: add support for GD25Q256

2017-08-23 Thread Andy Yan
Add support for GD25Q256, a 32MiB SPI Nor flash from GigaDevice. Signed-off-by: Andy Yan --- Changes in v6: None Changes in v5: None Changes in v4: None Changes in v3: None Changes in v2: None drivers/mtd/spi-nor/spi-nor.c | 8 1 file changed, 8 insertions(+) diff --git a/drivers

[PATCH v6 1/2] mtd: spi-nor: add a quad_enable callback in struct flash_info

2017-08-23 Thread Andy Yan
is impossible to select the quald enable methd by distinguish the MFR,So this patch introduce a quad_enable function which can be set per memory in the flash_info list table. Signed-off-by: Andy Yan --- Changes in v6: - split the quad_enable callback to a single patch - adjust the columns per

[PATCH v5] mtd: spi-nor: add support for GD25Q256

2017-08-23 Thread Andy Yan
Add support for GD25Q256, a 32MiB SPI Nor flash from GigaDevice. The GD25Q256 uses S6 to set QE, which is different with other supported memories from GigaDevice that use S9. So we introduce a quad_enable function which can be set per memory in the flash_info list. Signed-off-by: Andy Yan

Re: [PATCH v4] mtd: spi-nor: add support for GD25Q256

2017-08-23 Thread Andy Yan
Hi Cyrille: On 2017年08月23日 15:46, Cyrille Pitchen wrote: Hi Andy, Le 16/08/2017 à 05:40, Andy Yan a écrit : Hi Cyrille: On 2017年08月16日 00:04, Cyrille Pitchen wrote: Hi Andy, Le 25/07/2017 à 12:12, Andy Yan a écrit : Add support for GD25Q256, a 32MiB SPI Nor flash from Gigadevice

Re: [PATCH v2 3/3] cpufreq: dt: add support for rockchip rv1108

2017-08-22 Thread Andy Yan
Hi Rafael: On 2017年08月22日 21:44, Rafael J. Wysocki wrote: On Tuesday, August 22, 2017 3:15:22 PM CEST Andy Yan wrote: Add the compatible string to support the generic device tree cpufreq-dt driver on rockchip rv1108 soc. Signed-off-by: Andy Yan This is a [3/3] in a series, so presumably it

[PATCH v2 3/3] cpufreq: dt: add support for rockchip rv1108

2017-08-22 Thread Andy Yan
Add the compatible string to support the generic device tree cpufreq-dt driver on rockchip rv1108 soc. Signed-off-by: Andy Yan --- Changes in v2: None drivers/cpufreq/cpufreq-dt-platdev.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/cpufreq/cpufreq-dt-platdev.c b/drivers

[PATCH v2 2/3] ARM: dts: rockchip: add cpu power supply for rv1108 evb

2017-08-22 Thread Andy Yan
The cpu is powered by regulator vdd_core on RV1108 evalution board. Add it to the cpu dt node. Signed-off-by: Andy Yan --- Changes in v2: None arch/arm/boot/dts/rv1108-evb.dts | 4 1 file changed, 4 insertions(+) diff --git a/arch/arm/boot/dts/rv1108-evb.dts b/arch/arm/boot/dts/rv1108

[PATCH v2 1/3] ARM: dts: rockchip: add cpu opp table for rv1108

2017-08-22 Thread Andy Yan
Add cpu opp table for rv1108 to support frequency from 408MHZ to 1008MHZ. Signed-off-by: Andy Yan --- Changes in v2: - switch to operating-points-v2 - split cpu-supply to a separate patch arch/arm/boot/dts/rv1108.dtsi | 27 +++ 1 file changed, 27 insertions(+) diff

[PATCH 2/2] cpufreq: dt: add support for rockchip rv1108

2017-08-21 Thread Andy Yan
Add the compatible string to support the generic device tree cpufreq-dt driver on rockchip rv1108 soc. Signed-off-by: Andy Yan --- drivers/cpufreq/cpufreq-dt-platdev.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/cpufreq/cpufreq-dt-platdev.c b/drivers/cpufreq/cpufreq-dt

[PATCH 1/2] ARM: dts: rockchip: add cpu opp table for rv1108

2017-08-21 Thread Andy Yan
Add cpu opp table for rv1108 to support frequency from 408MHZ to 1008MHZ. Signed-off-by: Andy Yan --- arch/arm/boot/dts/rv1108-evb.dts | 4 arch/arm/boot/dts/rv1108.dtsi| 9 + 2 files changed, 13 insertions(+) diff --git a/arch/arm/boot/dts/rv1108-evb.dts b/arch/arm/boot/dts

Re: [PATCH v4] mtd: spi-nor: add support for GD25Q256

2017-08-15 Thread Andy Yan
Hi Cyrille: On 2017年08月16日 00:04, Cyrille Pitchen wrote: Hi Andy, Le 25/07/2017 à 12:12, Andy Yan a écrit : Add support for GD25Q256, a 32MiB SPI Nor flash from Gigadevice. Signed-off-by: Andy Yan --- Changes in v4: - add SPI_NOR_HAS_LOCK and SPI_NOR_HAS_TB Between v3 and v4, I see that

[PATCH v4 7/8] ARM: dts: rockchip: add pmic rk805 dt node for rv1108 evb

2017-08-14 Thread Andy Yan
RK805 is used as the voltage regulator on rv1108 evaluation board. Add device tree node for it. Signed-off-by: Andy Yan --- Changes in v4: None Changes in v3: None Changes in v2: None arch/arm/boot/dts/rv1108-evb.dts | 108 +++ 1 file changed, 108

[PATCH v4 8/8] ARM: dts: rockchip: add accelerometer bma250e dt node for rv1108 evb

2017-08-14 Thread Andy Yan
Add dt node of bosch accelerometer bma250e on rv1108 evb. Signed-off-by: Andy Yan --- Changes in v4: - order it by i2c address. Changes in v3: None Changes in v2: None arch/arm/boot/dts/rv1108-evb.dts | 7 +++ 1 file changed, 7 insertions(+) diff --git a/arch/arm/boot/dts/rv1108

[PATCH v4 6/8] ARM: dts: rockchip: add pwm backlight for rv1108 evb

2017-08-14 Thread Andy Yan
RV1108 EVB uses pwm0 modulate the backlight, add dt node to enable it. Signed-off-by: Andy Yan --- Changes in v4: None Changes in v3: None Changes in v2: None arch/arm/boot/dts/rv1108-evb.dts | 43 1 file changed, 43 insertions(+) diff --git a/arch

[PATCH v4 5/8] ARM: dts: rockchip: add saradc support for rv1108

2017-08-14 Thread Andy Yan
Add saradc device tree node for rv1108 soc Signed-off-by: Andy Yan --- Changes in v4: - remove unnecessary property io-channel-ranges Changes in v3: None Changes in v2: - add compatible string "rockchip,rv1108-saradc" arch/arm/boot/dts/rv1108.dtsi | 11 +++ 1 file c

[PATCH v4 4/8] ARM: dts: rockchip: add pwm dt node for rv1108

2017-08-14 Thread Andy Yan
Add pwm device tree node for rv1108 soc Signed-off-by: Andy Yan --- Changes in v4: None Changes in v3: None Changes in v2: - add compatible string "rockchip,rv1108-pwm" arch/arm/boot/dts/rv1108.dtsi | 143 ++ 1 file changed, 143 insertion

[PATCH v4 3/8] dt-bindings: pwm: add description for rv1108 pwm

2017-08-14 Thread Andy Yan
Add device tree bindings document for pwm on rockchip rv1108 soc. Signed-off-by: Andy Yan --- Changes in v4: None Changes in v3: - make the compatible string be: "rockchip,rv1108-pwm", "rockchip,rk3288-pwm" for rv1108 Changes in v2: None Documentation/devicet

[PATCH v4 2/8] ARM: dts: rockchip: add spi dt node for rv1108

2017-08-14 Thread Andy Yan
Add SPI device tree node for rv1108. Signed-off-by: Andy Yan --- Changes in v4: None Changes in v3: None Changes in v2: None arch/arm/boot/dts/rv1108.dtsi | 13 + 1 file changed, 13 insertions(+) diff --git a/arch/arm/boot/dts/rv1108.dtsi b/arch/arm/boot/dts/rv1108.dtsi index

[PATCH v4 1/8] spi: rockchip: add compatible string for rv1108 spi

2017-08-14 Thread Andy Yan
The spi on rv1108 is the same as other rockchip based socs, add compatible string for it. Signed-off-by: Andy Yan Acked-by: Rob Herring --- Changes in v4: None Changes in v3: None Changes in v2: None Documentation/devicetree/bindings/spi/spi-rockchip.txt | 1 + drivers/spi/spi-rockchip.c

[PATCH v4 0/8] Support more devices on rockchip rv1108

2017-08-14 Thread Andy Yan
devices by i2c address. Changes in v3: - make the compatible string be: "rockchip,rv1108-pwm", "rockchip,rk3288-pwm" for rv1108 Changes in v2: - add compatible string "rockchip,rv1108-pwm" - add compatible string "rockchip,rv1108-saradc" Andy Yan (8):

Re: [PATCH v3 10/13] ARM: dts: rockchip: add saradc support for rv1108

2017-08-13 Thread Andy Yan
Hi Heiko: On 2017年08月13日 20:13, Heiko Stuebner wrote: Hi Andy, Am Freitag, 11. August 2017, 11:46:51 CEST schrieb Andy Yan: Add saradc device tree node for rv1108 soc Signed-off-by: Andy Yan + adc: adc@1038c000 { + compatible = "rockchip,rv1108-saradc",

[PATCH v3 13/13] ARM: dts: rockchip: add accelerometer bma250e dt node for rv1108 evb

2017-08-10 Thread Andy Yan
Add dt node of bosch accelerometer bma250e on rv1108 evb. Signed-off-by: Andy Yan --- Changes in v3: None Changes in v2: None arch/arm/boot/dts/rv1108-evb.dts | 7 +++ 1 file changed, 7 insertions(+) diff --git a/arch/arm/boot/dts/rv1108-evb.dts b/arch/arm/boot/dts/rv1108-evb.dts index

[PATCH v3 12/13] ARM: dts: rockchip: add pmic rk805 dt node for rv1108 evb

2017-08-10 Thread Andy Yan
RK805 is used as the voltage regulator on rv1108 evaluation board. Add device tree node for it. Signed-off-by: Andy Yan --- Changes in v3: None Changes in v2: None arch/arm/boot/dts/rv1108-evb.dts | 108 +++ 1 file changed, 108 insertions(+) diff --git a

[PATCH v3 11/13] ARM: dts: rockchip: add pwm backlight for rv1108 evb

2017-08-10 Thread Andy Yan
RV1108 EVB uses pwm0 modulate the backlight, add dt node to enable it. Signed-off-by: Andy Yan --- Changes in v3: None Changes in v2: None arch/arm/boot/dts/rv1108-evb.dts | 43 1 file changed, 43 insertions(+) diff --git a/arch/arm/boot/dts/rv1108

[PATCH v3 10/13] ARM: dts: rockchip: add saradc support for rv1108

2017-08-10 Thread Andy Yan
Add saradc device tree node for rv1108 soc Signed-off-by: Andy Yan --- Changes in v3: None Changes in v2: - add compatible string "rockchip,rv1108-saradc" arch/arm/boot/dts/rv1108.dtsi | 12 1 file changed, 12 insertions(+) diff --git a/arch/arm/boot/dts/rv1108.dtsi

[PATCH v3 09/13] dt-bindings: adc: add description for rv1108 saradc

2017-08-10 Thread Andy Yan
Add device tree bindings document for saradc on rockchip rv1108 soc. Signed-off-by: Andy Yan Acked-by: Rob Herring --- Changes in v3: None Changes in v2: None Documentation/devicetree/bindings/iio/adc/rockchip-saradc.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/Documentation

[PATCH v3 08/13] ARM: dts: rockchip: add watchdog dt node for rv1108

2017-08-10 Thread Andy Yan
Add watchdog device tree node for rv1108 Signed-off-by: Andy Yan --- Changes in v3: None Changes in v2: None arch/arm/boot/dts/rv1108.dtsi | 9 + 1 file changed, 9 insertions(+) diff --git a/arch/arm/boot/dts/rv1108.dtsi b/arch/arm/boot/dts/rv1108.dtsi index 76a325a..75a0b1e 100644

[PATCH v3 07/13] ARM: dts: rockchip: add pwm dt node for rv1108

2017-08-10 Thread Andy Yan
Add pwm device tree node for rv1108 soc Signed-off-by: Andy Yan --- Changes in v3: None Changes in v2: - add compatible string "rockchip,rv1108-pwm" arch/arm/boot/dts/rv1108.dtsi | 143 ++ 1 file changed, 143 insertions(+) diff --git a/arc

[PATCH v3 06/13] dt-bindings: pwm: add description for rv1108 pwm

2017-08-10 Thread Andy Yan
Add device tree bindings document for pwm on rockchip rv1108 soc. Signed-off-by: Andy Yan --- Changes in v3: - make the compatible string be: "rockchip,rv1108-pwm", "rockchip,rk3288-pwm" for rv1108 Changes in v2: None Documentation/devicetree/bindings/pwm/pwm-rockchip

[PATCH v3 05/13] ARM: dts: rockchip: add spi dt node for rv1108

2017-08-10 Thread Andy Yan
Add SPI device tree node for rv1108. Signed-off-by: Andy Yan --- Changes in v3: None Changes in v2: None arch/arm/boot/dts/rv1108.dtsi | 13 + 1 file changed, 13 insertions(+) diff --git a/arch/arm/boot/dts/rv1108.dtsi b/arch/arm/boot/dts/rv1108.dtsi index 663f2f2..b688f4a 100644

[PATCH v3 05/13] ARM: dts: rockchip: add spi dt node for rv1108

2017-08-10 Thread Andy Yan
Add SPI device tree node for rv1108. Signed-off-by: Andy Yan --- Changes in v3: None Changes in v2: None arch/arm/boot/dts/rv1108.dtsi | 13 + 1 file changed, 13 insertions(+) diff --git a/arch/arm/boot/dts/rv1108.dtsi b/arch/arm/boot/dts/rv1108.dtsi index 663f2f2..b688f4a 100644

[PATCH v3 04/13] spi: rockchip: add compatible string for rv1108 spi

2017-08-10 Thread Andy Yan
The spi on rv1108 is the same as other rockchip based socs, add compatible string for it. Signed-off-by: Andy Yan Acked-by: Rob Herring --- Changes in v3: None Changes in v2: None Documentation/devicetree/bindings/spi/spi-rockchip.txt | 1 + drivers/spi/spi-rockchip.c

[PATCH v3 03/13] ARM: dts: rockchip: add i2c dt node for rv1108

2017-08-10 Thread Andy Yan
There are four i2c controllers on rv1108, add device tree node for them. Signed-off-by: Andy Yan --- Changes in v3: None Changes in v2: None arch/arm/boot/dts/rv1108.dtsi | 72 +++ 1 file changed, 72 insertions(+) diff --git a/arch/arm/boot/dts/rv1108

[PATCH v3 02/13] i2c: rk3x: add support for rv1108

2017-08-10 Thread Andy Yan
Support for the i2c controller on rv1108 soc. Signed-off-by: Andy Yan Reviewed-by: Heiko Stuebner --- Changes in v3: None Changes in v2: None drivers/i2c/busses/i2c-rk3x.c | 9 + 1 file changed, 9 insertions(+) diff --git a/drivers/i2c/busses/i2c-rk3x.c b/drivers/i2c/busses/i2c

[PATCH v3 01/13] dt-bindings: i2c: rk3x: add support for rv1108

2017-08-10 Thread Andy Yan
Add dt Document for i2c controller on rv1108 Signed-off-by: Andy Yan Acked-by: Rob Herring --- Changes in v3: None Changes in v2: None Documentation/devicetree/bindings/i2c/i2c-rk3x.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/Documentation/devicetree/bindings/i2c/i2c-rk3x.txt b

[PATCH v3 00/13] Support more devices on rockchip rv1108

2017-08-10 Thread Andy Yan
ompatible string "rockchip,rv1108-saradc" Andy Yan (13): dt-bindings: i2c: rk3x: add support for rv1108 i2c: rk3x: add support for rv1108 ARM: dts: rockchip: add i2c dt node for rv1108 spi: rockchip: add compatible string for rv1108 spi ARM: dts: rockchip: add spi dt node for rv1

[PATCH v2 23/23] ARM: dts: rockchip: add accelerometer bma250e dt node for rv1108 evb

2017-08-02 Thread Andy Yan
Add dt node of bosch accelerometer bma250e on rv1108 evb. Signed-off-by: Andy Yan --- Changes in v2: None arch/arm/boot/dts/rv1108-evb.dts | 7 +++ 1 file changed, 7 insertions(+) diff --git a/arch/arm/boot/dts/rv1108-evb.dts b/arch/arm/boot/dts/rv1108-evb.dts index a1bd95e..6690083

[PATCH v2 22/23] ARM: dts: rockchip: add pmic rk805 dt node for rv1108 evb

2017-08-02 Thread Andy Yan
RK805 is used as the voltage regulator on rv1108 evaluation board. Add device tree node for it. Signed-off-by: Andy Yan --- Changes in v2: None arch/arm/boot/dts/rv1108-evb.dts | 108 +++ 1 file changed, 108 insertions(+) diff --git a/arch/arm/boot/dts

[PATCH v2 21/23] ARM: dts: rockchip: add pwm backlight for rv1108 evb

2017-08-02 Thread Andy Yan
RV1108 EVB uses pwm0 modulate the backlight, add dt node to enable it. Signed-off-by: Andy Yan --- Changes in v2: None arch/arm/boot/dts/rv1108-evb.dts | 43 1 file changed, 43 insertions(+) diff --git a/arch/arm/boot/dts/rv1108-evb.dts b/arch/arm

[PATCH v2 20/23] ARM: dts: rockchip: add saradc support for rv1108

2017-08-02 Thread Andy Yan
Add saradc device tree node for rv1108 soc Signed-off-by: Andy Yan --- Changes in v2: - add compatible string "rockchip,rv1108-saradc" arch/arm/boot/dts/rv1108.dtsi | 12 1 file changed, 12 insertions(+) diff --git a/arch/arm/boot/dts/rv1108.dtsi b/arch/arm/boot/dts/r

[PATCH v2 19/23] dt-bindings: adc: add description for rv1108 saradc

2017-08-02 Thread Andy Yan
Add device tree bindings document for saradc on rockchip rv1108 soc. Signed-off-by: Andy Yan --- Changes in v2: None Documentation/devicetree/bindings/iio/adc/rockchip-saradc.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/Documentation/devicetree/bindings/iio/adc/rockchip-saradc.txt

[PATCH v2 18/23] ARM: dts: rockchip: add watchdog dt node for rv1108

2017-08-02 Thread Andy Yan
Add watchdog device tree node for rv1108 Signed-off-by: Andy Yan --- Changes in v2: None arch/arm/boot/dts/rv1108.dtsi | 9 + 1 file changed, 9 insertions(+) diff --git a/arch/arm/boot/dts/rv1108.dtsi b/arch/arm/boot/dts/rv1108.dtsi index d397c22..592aba3 100644 --- a/arch/arm/boot

[PATCH v2 17/23] ARM: dts: rockchip: add pwm dt node for rv1108

2017-08-02 Thread Andy Yan
Add pwm device tree node for rv1108 soc Signed-off-by: Andy Yan --- Changes in v2: - add compatible string "rockchip,rv1108-pwm" arch/arm/boot/dts/rv1108.dtsi | 143 ++ 1 file changed, 143 insertions(+) diff --git a/arch/arm/boot/dts/rv1

[PATCH v2 16/23] dt-bindings: pwm: add description for rv1108 pwm

2017-08-02 Thread Andy Yan
Add device tree bindings document for pwm on rockchip rv1108 soc. Signed-off-by: Andy Yan --- Changes in v2: None Documentation/devicetree/bindings/pwm/pwm-rockchip.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Documentation/devicetree/bindings/pwm/pwm-rockchip.txt

[PATCH v2 15/23] ARM: dts: rockchip: add spi dt node for rv1108

2017-08-02 Thread Andy Yan
Add SPI device tree node for rv1108. Signed-off-by: Andy Yan --- Changes in v2: None arch/arm/boot/dts/rv1108.dtsi | 13 + 1 file changed, 13 insertions(+) diff --git a/arch/arm/boot/dts/rv1108.dtsi b/arch/arm/boot/dts/rv1108.dtsi index 124ed97..f6fb47f 100644 --- a/arch/arm/boot

[PATCH v2 14/23] spi: rockchip: add compatible string for rv1108 spi

2017-08-02 Thread Andy Yan
The spi on rv1108 is the same as other rockchip based socs, add compatible string for it. Signed-off-by: Andy Yan --- Changes in v2: None Documentation/devicetree/bindings/spi/spi-rockchip.txt | 1 + drivers/spi/spi-rockchip.c | 1 + 2 files changed, 2 insertions

[PATCH v2 13/23] ARM: dts: rockchip: add i2c dt node for rv1108

2017-08-02 Thread Andy Yan
There are four i2c controllers on rv1108, add device tree node for them. Signed-off-by: Andy Yan --- Changes in v2: None arch/arm/boot/dts/rv1108.dtsi | 72 +++ 1 file changed, 72 insertions(+) diff --git a/arch/arm/boot/dts/rv1108.dtsi b/arch/arm/boot

[PATCH v2 12/23] i2c: rk3x: add support for rv1108

2017-08-02 Thread Andy Yan
Support for the i2c controller on rv1108 soc. Signed-off-by: Andy Yan Reviewed-by: Heiko Stuebner --- Changes in v2: None drivers/i2c/busses/i2c-rk3x.c | 9 + 1 file changed, 9 insertions(+) diff --git a/drivers/i2c/busses/i2c-rk3x.c b/drivers/i2c/busses/i2c-rk3x.c index df22066

[PATCH v2 11/23] dt-bindings: i2c: rk3x: add support for rv1108

2017-08-02 Thread Andy Yan
Add dt Document for i2c controller on rv1108 Signed-off-by: Andy Yan --- Changes in v2: None Documentation/devicetree/bindings/i2c/i2c-rk3x.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/Documentation/devicetree/bindings/i2c/i2c-rk3x.txt b/Documentation/devicetree/bindings/i2c/i2c

[PATCH v2 10/23] pinctrl: rockchip: add schmitt input mode support for rv1108

2017-08-02 Thread Andy Yan
Some pins like i2c SCL/SDA need the schmitt input function to avoid crosstalk problems. Signed-off-by: Andy Yan Reviewed-by: Heiko Stuebner --- Changes in v2: None drivers/pinctrl/pinctrl-rockchip.c | 31 +++ 1 file changed, 31 insertions(+) diff --git a/drivers

[PATCH v2 09/23] clk: rockchip: add some critical clocks for rv1108 SoC

2017-08-02 Thread Andy Yan
From: Elaine Zhang the bus/periph/nclk_ddrupctl/pclk_ddrmon/pclk_acodecphy/pclk_pmu no driver to handle them, chip design requirements for these clock to always on. Signed-off-by: Elaine Zhang Signed-off-by: Andy Yan --- Changes in v2: None drivers/clk/rockchip/clk-rv1108.c | 8 +++- 1

[PATCH v2 08/23] clk: rockchip: rename some of clks for rv1108 SoC

2017-08-02 Thread Andy Yan
From: Elaine Zhang Rename some of clks to keep the consistency with the TRM. Signed-off-by: Elaine Zhang Signed-off-by: Andy Yan --- Changes in v2: None drivers/clk/rockchip/clk-rv1108.c | 32 1 file changed, 16 insertions(+), 16 deletions(-) diff --git a

[PATCH v2 07/23] clk: rockchip: fix up some clks describe error for rv1108 SoC

2017-08-02 Thread Andy Yan
From: Elaine Zhang 1. fix up the parent name 2. remove the CLK_IGNORE_UNUSED flag for some clk not need to always on. 3. fix up some clks regs describe error. Signed-off-by: Elaine Zhang Signed-off-by: Andy Yan --- Changes in v2: None drivers/clk/rockchip/clk-rv1108.c | 169

[PATCH v2 06/23] clk: rockchip: support more clks for rv1108

2017-08-02 Thread Andy Yan
From: Elaine Zhang Added the description of the missing clock, make the clock tree more complete. Signed-off-by: Elaine Zhang Signed-off-by: Andy Yan --- Changes in v2: None drivers/clk/rockchip/clk-rv1108.c | 282 +- 1 file changed, 280 insertions(+), 2

[PATCH v2 05/23] clk: rockchip: fix up the pll clks error for rv1108 SoC

2017-08-02 Thread Andy Yan
From: Elaine Zhang fix up the lock_shift describe error. remove the ROCKCHIP_PLL_SYNC_RATE flag for gpll. Signed-off-by: Elaine Zhang Signed-off-by: Andy Yan --- Changes in v2: None drivers/clk/rockchip/clk-rv1108.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a

[PATCH v2 04/23] clk: rockchip: support more rates for cpuclk

2017-08-02 Thread Andy Yan
From: Elaine Zhang fix up the cpuclk rates table for support more freqs. fix up the mux_core_mask describe error. Signed-off-by: Elaine Zhang Signed-off-by: Andy Yan --- Changes in v2: - split the new added clks and rename. drivers/clk/rockchip/clk-rv1108.c | 23 +++ 1

[PATCH v2 03/23] clk: rockchip: fix up the indentation stuff for RV1108 SoC

2017-08-02 Thread Andy Yan
From: Elaine Zhang Make the code look better. Signed-off-by: Elaine Zhang Signed-off-by: Andy Yan --- Changes in v2: None include/dt-bindings/clock/rv1108-cru.h | 28 ++-- 1 file changed, 14 insertions(+), 14 deletions(-) diff --git a/include/dt-bindings/clock

[PATCH v2 02/23] clk: rockchip: rename the clk id for HCLK_I2S1_2CH

2017-08-02 Thread Andy Yan
From: Elaine Zhang i2s1 has 2 channels but not 8 channels. Signed-off-by: Elaine Zhang Signed-off-by: Andy Yan --- Changes in v2: None include/dt-bindings/clock/rv1108-cru.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/dt-bindings/clock/rv1108-cru.h b

[PATCH v2 01/23] clk: rockchip: add more clk ids for rv1108

2017-08-02 Thread Andy Yan
From: Elaine Zhang Add new clk ids for the peripherals on rv1108 soc. Signed-off-by: Elaine Zhang Signed-off-by: Andy Yan --- Changes in v2: - split the rename and intentation fix part include/dt-bindings/clock/rv1108-cru.h | 93 +- 1 file changed, 92

[PATCH v2 00/23] Support more devices on rockchip rv1108

2017-08-02 Thread Andy Yan
ble string "rockchip,rv1108-saradc" Andy Yan (14): pinctrl: rockchip: add schmitt input mode support for rv1108 dt-bindings: i2c: rk3x: add support for rv1108 i2c: rk3x: add support for rv1108 ARM: dts: rockchip: add i2c dt node for rv1108 spi: rockchip: add compatible string for r

Re: [PATCH 10/14] ARM: dts: rockchip: add watchdog dt node for rv1108

2017-08-01 Thread Andy Yan
Hi Heiko: On 2017年08月02日 02:55, Heiko Stuebner wrote: Hi Andy, Am Dienstag, 1. August 2017, 17:16:40 CEST schrieb Heiko Stuebner: Am Montag, 31. Juli 2017, 18:18:30 CEST schrieb Andy Yan: Add watchdog device tree node for rv1108 Signed-off-by: Andy Yan I've adapted this patch to

[PATCH 14/14] ARM: dts: rockchip: add accelerometer bma250e dt node for rv1108 evb

2017-07-31 Thread Andy Yan
Add dt node of bosch accelerometer bma250e on rv1108 evb. Signed-off-by: Andy Yan --- arch/arm/boot/dts/rv1108-evb.dts | 7 +++ 1 file changed, 7 insertions(+) diff --git a/arch/arm/boot/dts/rv1108-evb.dts b/arch/arm/boot/dts/rv1108-evb.dts index 5675975..60bb501 100644 --- a/arch/arm

[PATCH 13/14] ARM: dts: rockchip: add pmic rk805 dt node for rv1108 evb

2017-07-31 Thread Andy Yan
RK805 is used as the voltage regulator on rv1108 evaluation board. Add device tree node for it. Signed-off-by: Andy Yan --- arch/arm/boot/dts/rv1108-evb.dts | 108 +++ 1 file changed, 108 insertions(+) diff --git a/arch/arm/boot/dts/rv1108-evb.dts b/arch

[PATCH 12/14] ARM: dts: rockchip: add pwm backlight for rv1108 evb

2017-07-31 Thread Andy Yan
RV1108 EVB uses pwm0 modulate the backlight, add dt node to enable it. Signed-off-by: Andy Yan --- arch/arm/boot/dts/rv1108-evb.dts | 43 1 file changed, 43 insertions(+) diff --git a/arch/arm/boot/dts/rv1108-evb.dts b/arch/arm/boot/dts/rv1108-evb.dts

[PATCH 11/14] ARM: dts: rockchip: add saradc support for rv1108

2017-07-31 Thread Andy Yan
Add saradc device tree node for rv1108 Signed-off-by: Andy Yan --- arch/arm/boot/dts/rv1108.dtsi | 12 1 file changed, 12 insertions(+) diff --git a/arch/arm/boot/dts/rv1108.dtsi b/arch/arm/boot/dts/rv1108.dtsi index 1fc467e..958fecd 100644 --- a/arch/arm/boot/dts/rv1108.dtsi

[PATCH 10/14] ARM: dts: rockchip: add watchdog dt node for rv1108

2017-07-31 Thread Andy Yan
Add watchdog device tree node for rv1108 Signed-off-by: Andy Yan --- arch/arm/boot/dts/rv1108.dtsi | 9 + 1 file changed, 9 insertions(+) diff --git a/arch/arm/boot/dts/rv1108.dtsi b/arch/arm/boot/dts/rv1108.dtsi index 7fcc6de..1fc467e 100644 --- a/arch/arm/boot/dts/rv1108.dtsi +++ b

[PATCH 09/14] ARM: dts: rockchip: add pwm dt node for rv1108

2017-07-31 Thread Andy Yan
Add pwm device tree node for rv1108 Signed-off-by: Andy Yan --- arch/arm/boot/dts/rv1108.dtsi | 143 ++ 1 file changed, 143 insertions(+) diff --git a/arch/arm/boot/dts/rv1108.dtsi b/arch/arm/boot/dts/rv1108.dtsi index 6ae83a8..7fcc6de 100644 --- a/arch

[PATCH 08/14] ARM: dts: rockchip: add spi dt node for rv1108

2017-07-31 Thread Andy Yan
Add SPI device tree node for rv1108 Signed-off-by: Andy Yan --- arch/arm/boot/dts/rv1108.dtsi | 13 + 1 file changed, 13 insertions(+) diff --git a/arch/arm/boot/dts/rv1108.dtsi b/arch/arm/boot/dts/rv1108.dtsi index a4d34d9..6ae83a8 100644 --- a/arch/arm/boot/dts/rv1108.dtsi +++ b

[PATCH 07/14] spi: rockchip: add compatible string for rv1108 spi

2017-07-31 Thread Andy Yan
The spi on rv1108 is the same as other rockchip based socs, add compatible string for it. Signed-off-by: Andy Yan --- Documentation/devicetree/bindings/spi/spi-rockchip.txt | 1 + drivers/spi/spi-rockchip.c | 1 + 2 files changed, 2 insertions(+) diff --git a

[PATCH 06/14] ARM: dts: rockchip: add i2c dt node for rv1108

2017-07-31 Thread Andy Yan
There are four i2c controllers on rv1108, add device tree node for them. Signed-off-by: Andy Yan --- arch/arm/boot/dts/rv1108.dtsi | 72 +++ 1 file changed, 72 insertions(+) diff --git a/arch/arm/boot/dts/rv1108.dtsi b/arch/arm/boot/dts/rv1108.dtsi

[PATCH 05/14] i2c: rk3x: add support for rv1108

2017-07-31 Thread Andy Yan
Support for the i2c controller on rv1108 Signed-off-by: Andy Yan --- drivers/i2c/busses/i2c-rk3x.c | 9 + 1 file changed, 9 insertions(+) diff --git a/drivers/i2c/busses/i2c-rk3x.c b/drivers/i2c/busses/i2c-rk3x.c index df22066..fe23457 100644 --- a/drivers/i2c/busses/i2c-rk3x.c +++ b

[PATCH 04/14] dt-bindings: i2c: rk3x: add support for rv1108

2017-07-31 Thread Andy Yan
Add dt Document for i2c controller on rv1108 Signed-off-by: Andy Yan --- Documentation/devicetree/bindings/i2c/i2c-rk3x.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/Documentation/devicetree/bindings/i2c/i2c-rk3x.txt b/Documentation/devicetree/bindings/i2c/i2c-rk3x.txt index e18445d

[PATCH 03/14] pinctrl: rockchip: add input schmitt support for rv1108

2017-07-31 Thread Andy Yan
Some pins like i2c SCL/SDA need the schmitt input function to avoid crosstalk problems. Signed-off-by: Andy Yan --- drivers/pinctrl/pinctrl-rockchip.c | 31 +++ 1 file changed, 31 insertions(+) diff --git a/drivers/pinctrl/pinctrl-rockchip.c b/drivers/pinctrl

[PATCH 02/14] clk: rockchip: support more clks for rv1108

2017-07-31 Thread Andy Yan
From: Elaine Zhang 1. Added the description of the missing clock, make the clock more complete. 2. fix up some clk descriptions error. Signed-off-by: Elaine Zhang Signed-off-by: Andy Yan --- drivers/clk/rockchip/clk-rv1108.c | 513 ++ 1 file changed, 405

[PATCH 01/14] clk: rockchip: add more clk ids for rv1108

2017-07-31 Thread Andy Yan
From: Elaine Zhang Added the missing clock ids, make the clock more complete. Signed-off-by: Elaine Zhang Signed-off-by: Andy Yan --- include/dt-bindings/clock/rv1108-cru.h | 128 - 1 file changed, 109 insertions(+), 19 deletions(-) diff --git a/include/dt

[PATCH 00/14] Support more devices on rockchip rv1108

2017-07-31 Thread Andy Yan
This series try to support i2c/spi/pwm/saradc/pmic/watchdog and the full clk tree on rockchip rv1108 soc. Andy Yan (12): pinctrl: rockchip: add input schmitt support for rv1108 dt-bindings: i2c: rk3x: add support for rv1108 i2c: rk3x: add support for rv1108 ARM: dts: rockchip: add i2c

[PATCH v4] mtd: spi-nor: add support for GD25Q256

2017-07-25 Thread Andy Yan
Add support for GD25Q256, a 32MiB SPI Nor flash from Gigadevice. Signed-off-by: Andy Yan --- Changes in v4: - add SPI_NOR_HAS_LOCK and SPI_NOR_HAS_TB Changes in v3: - rebase on top of spi-nor tree - add SPI_NOR_4B_OPCODES flag Changes in v2: - drop one line unnecessary modification drivers

[PATCH] ARM: dts: enable sdmmc for rockchip rv1108 evb

2017-07-20 Thread Andy Yan
Enable sdmmc on rv1108 evaluation board. Also add pinctrl for sdmmc controller. Signed-off-by: Andy Yan --- arch/arm/boot/dts/rv1108-evb.dts | 4 arch/arm/boot/dts/rv1108.dtsi| 2 ++ 2 files changed, 6 insertions(+) diff --git a/arch/arm/boot/dts/rv1108-evb.dts b/arch/arm/boot/dts

  1   2   3   4   5   6   >