Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1709209 > unrolled thread

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

Started byAndy Yan <andy.yan@rock-chips.com>
First post2017-08-11 05:40 +0200
Last post2017-08-11 05:50 +0200
Articles 5 on this page of 25 — 4 participants

Back to article view | Back to linux.kernel


Contents

  [PATCH v3 00/13] Support more devices on rockchip rv1108 Andy Yan <andy.yan@rock-chips.com> - 2017-08-11 05:40 +0200
    [PATCH v3 02/13] i2c: rk3x: add support for rv1108 Andy Yan <andy.yan@rock-chips.com> - 2017-08-11 05:40 +0200
      Re: [PATCH v3 02/13] i2c: rk3x: add support for rv1108 Wolfram Sang <wsa@the-dreams.de> - 2017-08-12 16:10 +0200
        Re: [PATCH v3 02/13] i2c: rk3x: add support for rv1108 Wolfram Sang <wsa@the-dreams.de> - 2017-08-12 16:40 +0200
      Re: [PATCH v3 02/13] i2c: rk3x: add support for rv1108 Wolfram Sang <wsa@the-dreams.de> - 2017-08-12 16:50 +0200
    [PATCH v3 08/13] ARM: dts: rockchip: add watchdog dt node for rv1108 Andy Yan <andy.yan@rock-chips.com> - 2017-08-11 05:50 +0200
      Re: [PATCH v3 08/13] ARM: dts: rockchip: add watchdog dt node for rv1108 Heiko Stuebner <heiko@sntech.de> - 2017-08-13 14:20 +0200
    [PATCH v3 10/13] ARM: dts: rockchip: add saradc support for rv1108 Andy Yan <andy.yan@rock-chips.com> - 2017-08-11 05:50 +0200
      Re: [PATCH v3 10/13] ARM: dts: rockchip: add saradc support for rv1108 Heiko Stuebner <heiko@sntech.de> - 2017-08-13 14:20 +0200
        Re: [PATCH v3 10/13] ARM: dts: rockchip: add saradc support for  rv1108 Andy Yan <andy.yan@rock-chips.com> - 2017-08-14 03:50 +0200
    [PATCH v3 04/13] spi: rockchip: add compatible string for rv1108 spi Andy Yan <andy.yan@rock-chips.com> - 2017-08-11 05:50 +0200
    [PATCH v3 03/13] ARM: dts: rockchip: add i2c dt node for rv1108 Andy Yan <andy.yan@rock-chips.com> - 2017-08-11 05:50 +0200
      Re: [PATCH v3 03/13] ARM: dts: rockchip: add i2c dt node for rv1108 Wolfram Sang <wsa@the-dreams.de> - 2017-08-12 16:50 +0200
        Re: [PATCH v3 03/13] ARM: dts: rockchip: add i2c dt node for rv1108 Heiko Stuebner <heiko@sntech.de> - 2017-08-13 14:10 +0200
    [PATCH v3 05/13] ARM: dts: rockchip: add spi dt node for rv1108 Andy Yan <andy.yan@rock-chips.com> - 2017-08-11 05:50 +0200
    [PATCH v3 05/13] ARM: dts: rockchip: add spi dt node for rv1108 Andy Yan <andy.yan@rock-chips.com> - 2017-08-11 05:50 +0200
    [PATCH v3 11/13] ARM: dts: rockchip: add pwm backlight for rv1108 evb Andy Yan <andy.yan@rock-chips.com> - 2017-08-11 05:50 +0200
    [PATCH v3 07/13] ARM: dts: rockchip: add pwm dt node for rv1108 Andy Yan <andy.yan@rock-chips.com> - 2017-08-11 05:50 +0200
    [PATCH v3 09/13] dt-bindings: adc: add description for rv1108 saradc Andy Yan <andy.yan@rock-chips.com> - 2017-08-11 05:50 +0200
      Re: [PATCH v3 09/13] dt-bindings: adc: add description for rv1108  saradc Jonathan Cameron <jic23@jic23.retrosnub.co.uk> - 2017-08-12 14:50 +0200
    [PATCH v3 06/13] dt-bindings: pwm: add description for rv1108 pwm Andy Yan <andy.yan@rock-chips.com> - 2017-08-11 05:50 +0200
      Re: [PATCH v3 06/13] dt-bindings: pwm: add description for rv1108 pwm Heiko Stuebner <heiko@sntech.de> - 2017-08-13 13:00 +0200
    [PATCH v3 13/13] ARM: dts: rockchip: add accelerometer bma250e dt node for rv1108 evb Andy Yan <andy.yan@rock-chips.com> - 2017-08-11 05:50 +0200
      Re: [PATCH v3 13/13] ARM: dts: rockchip: add accelerometer bma250e dt node for rv1108 evb Heiko Stuebner <heiko@sntech.de> - 2017-08-13 14:20 +0200
    [PATCH v3 12/13] ARM: dts: rockchip: add pmic rk805 dt node for rv1108 evb Andy Yan <andy.yan@rock-chips.com> - 2017-08-11 05:50 +0200

Page 2 of 2 — ← Prev page 1 [2]


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

FromAndy Yan <andy.yan@rock-chips.com>
Date2017-08-11 05:50 +0200
Subject[PATCH v3 06/13] dt-bindings: pwm: add description for rv1108 pwm
Message-ID<ud97s-6Jm-25@gated-at.bofh.it>
In reply to#1709209
Add device tree bindings document for pwm on
rockchip rv1108 soc.

Signed-off-by: Andy Yan <andy.yan@rock-chips.com>

---

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.txt | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/Documentation/devicetree/bindings/pwm/pwm-rockchip.txt b/Documentation/devicetree/bindings/pwm/pwm-rockchip.txt
index 2350ef9..2c5e52a 100644
--- a/Documentation/devicetree/bindings/pwm/pwm-rockchip.txt
+++ b/Documentation/devicetree/bindings/pwm/pwm-rockchip.txt
@@ -3,7 +3,8 @@ Rockchip PWM controller
 Required properties:
  - compatible: should be "rockchip,<name>-pwm"
    "rockchip,rk2928-pwm": found on RK29XX,RK3066 and RK3188 SoCs
-   "rockchip,rk3288-pwm": found on RK3288 SoC
+   "rockchip,rk3288-pwm": found on RK3288 SOC
+   "rockchip,rv1108-pwm", "rockchip,rk3288-pwm": found on RV1108 SoC
    "rockchip,vop-pwm": found integrated in VOP on RK3288 SoC
  - reg: physical base address and length of the controller's registers
  - clocks: See ../clock/clock-bindings.txt
-- 
2.7.4

[toc] | [prev] | [next] | [standalone]


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

FromHeiko Stuebner <heiko@sntech.de>
Date2017-08-13 13:00 +0200
SubjectRe: [PATCH v3 06/13] dt-bindings: pwm: add description for rv1108 pwm
Message-ID<udYMF-69S-3@gated-at.bofh.it>
In reply to#1709224
Hi Andy,

Am Freitag, 11. August 2017, 11:44:06 CEST schrieb Andy Yan:
> Add device tree bindings document for pwm on
> rockchip rv1108 soc.
> 
> Signed-off-by: Andy Yan <andy.yan@rock-chips.com>

I think you forgot to add Thierry (thierry.reding@gmail.com)
who is the pwm maintainer, to your binding patch.

Especially, as normally he would take this binding patch.


Heiko

[toc] | [prev] | [next] | [standalone]


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

FromAndy Yan <andy.yan@rock-chips.com>
Date2017-08-11 05:50 +0200
Subject[PATCH v3 13/13] ARM: dts: rockchip: add accelerometer bma250e dt node for rv1108 evb
Message-ID<ud97s-6Jm-23@gated-at.bofh.it>
In reply to#1709209
Add dt node of bosch accelerometer bma250e on rv1108 evb.

Signed-off-by: Andy Yan <andy.yan@rock-chips.com>
---

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 a1bd95e..6690083 100644
--- a/arch/arm/boot/dts/rv1108-evb.dts
+++ b/arch/arm/boot/dts/rv1108-evb.dts
@@ -110,6 +110,13 @@
 	i2c-scl-falling-time-ns = <16>;
 	clock-frequency = <400000>;
 
+	bma250: accelerometer@19 {
+		compatible = "bosch,bma250e";
+		reg = <0x19>;
+		interrupt-parent = <&gpio0>;
+		interrupts = <RK_PB3 IRQ_TYPE_LEVEL_LOW>;
+	};
+
 	rk805: pmic@18 {
 		compatible = "rockchip,rk805";
 		reg = <0x18>;
-- 
2.7.4

[toc] | [prev] | [next] | [standalone]


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

FromHeiko Stuebner <heiko@sntech.de>
Date2017-08-13 14:20 +0200
SubjectRe: [PATCH v3 13/13] ARM: dts: rockchip: add accelerometer bma250e dt node for rv1108 evb
Message-ID<ue026-756-7@gated-at.bofh.it>
In reply to#1709225
Am Freitag, 11. August 2017, 11:49:18 CEST schrieb Andy Yan:
> Add dt node of bosch accelerometer bma250e on rv1108 evb.
> 
> Signed-off-by: Andy Yan <andy.yan@rock-chips.com>
> ---
> 
> 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 a1bd95e..6690083 100644
> --- a/arch/arm/boot/dts/rv1108-evb.dts
> +++ b/arch/arm/boot/dts/rv1108-evb.dts
> @@ -110,6 +110,13 @@
>  	i2c-scl-falling-time-ns = <16>;
>  	clock-frequency = <400000>;
>  
> +	bma250: accelerometer@19 {

please order such things by address,
foo@19 should come after bar@18 of course


Thanks
Heiko

> +		compatible = "bosch,bma250e";
> +		reg = <0x19>;
> +		interrupt-parent = <&gpio0>;
> +		interrupts = <RK_PB3 IRQ_TYPE_LEVEL_LOW>;
> +	};
> +
>  	rk805: pmic@18 {
>  		compatible = "rockchip,rk805";
>  		reg = <0x18>;
> 

[toc] | [prev] | [next] | [standalone]


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

FromAndy Yan <andy.yan@rock-chips.com>
Date2017-08-11 05:50 +0200
Subject[PATCH v3 12/13] ARM: dts: rockchip: add pmic rk805 dt node for rv1108 evb
Message-ID<ud97s-6Jm-27@gated-at.bofh.it>
In reply to#1709209
RK805 is used as the voltage regulator on rv1108 evaluation
board. Add device tree node for it.

Signed-off-by: Andy Yan <andy.yan@rock-chips.com>
---

Changes in v3: None
Changes in v2: None

 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/arm/boot/dts/rv1108-evb.dts
index 77ce707..a1bd95e 100644
--- a/arch/arm/boot/dts/rv1108-evb.dts
+++ b/arch/arm/boot/dts/rv1108-evb.dts
@@ -94,6 +94,114 @@
 			248 249 250 251 252 253 254 255>;
 		default-brightness-level = <200>;
 	};
+
+	vcc_sys: vsys-regulator {
+		compatible = "regulator-fixed";
+		regulator-name = "vsys";
+		regulator-min-microvolt = <5000000>;
+		regulator-max-microvolt = <5000000>;
+		regulator-boot-on;
+	};
+};
+
+&i2c0 {
+	status = "okay";
+	i2c-scl-rising-time-ns = <275>;
+	i2c-scl-falling-time-ns = <16>;
+	clock-frequency = <400000>;
+
+	rk805: pmic@18 {
+		compatible = "rockchip,rk805";
+		reg = <0x18>;
+		interrupt-parent = <&gpio0>;
+		interrupts = <RK_PB4 IRQ_TYPE_LEVEL_LOW>;
+		rockchip,system-power-controller;
+
+		vcc1-supply = <&vcc_sys>;
+		vcc2-supply = <&vcc_sys>;
+		vcc3-supply = <&vcc_sys>;
+		vcc4-supply = <&vcc_sys>;
+		vcc5-supply = <&vcc_sys>;
+		vcc6-supply = <&vcc_sys>;
+
+		regulators {
+			vdd_core: DCDC_REG1 {
+				regulator-name= "vdd_core";
+				regulator-min-microvolt = <700000>;
+				regulator-max-microvolt = <1500000>;
+				regulator-boot-on;
+				regulator-always-on;
+				regulator-state-mem {
+					regulator-state-enabled;
+					regulator-state-uv = <900000>;
+				};
+			};
+
+			vdd_cam: DCDC_REG2 {
+				regulator-name= "vdd_cam";
+				regulator-min-microvolt = <700000>;
+				regulator-max-microvolt = <2000000>;
+				regulator-state-mem {
+					regulator-state-disabled;
+				};
+			};
+
+			vcc_ddr: DCDC_REG3 {
+				regulator-name= "vcc_ddr";
+				regulator-boot-on;
+				regulator-always-on;
+				regulator-state-mem {
+					regulator-state-enabled;
+				};
+			};
+
+			vcc_io: DCDC_REG4 {
+				regulator-name= "vcc_io";
+				regulator-min-microvolt = <3300000>;
+				regulator-max-microvolt = <3300000>;
+				regulator-boot-on;
+				regulator-always-on;
+				regulator-state-mem {
+					regulator-state-enabled;
+					regulator-state-uv = <3300000>;
+				};
+			};
+
+			vdd_10: LDO_REG1 {
+				regulator-name= "vdd_10";
+				regulator-min-microvolt = <1000000>;
+				regulator-max-microvolt = <1000000>;
+				regulator-boot-on;
+				regulator-always-on;
+				regulator-state-mem {
+					regulator-state-disabled;
+				};
+			};
+
+			vcc_18: LDO_REG2 {
+				regulator-name= "vcc_18";
+				regulator-min-microvolt = <1800000>;
+				regulator-max-microvolt = <1800000>;
+				regulator-boot-on;
+				regulator-always-on;
+				regulator-state-mem {
+					regulator-state-disabled;
+				};
+			};
+
+			vdd10_pmu: LDO_REG3 {
+				regulator-name= "vdd10_pmu";
+				regulator-min-microvolt = <1000000>;
+				regulator-max-microvolt = <1000000>;
+				regulator-boot-on;
+				regulator-always-on;
+				regulator-state-mem {
+					regulator-state-enabled;
+					regulator-state-uv = <1000000>;
+				};
+			};
+		};
+	};
 };
 
 &pwm0 {
-- 
2.7.4

[toc] | [prev] | [standalone]


Page 2 of 2 — ← Prev page 1 [2]

Back to top | Article view | linux.kernel


csiph-web