Skip to contentSkip to conversation

dt-bindings: mtd: rockchip: add rockchip,rk3128-nfc

PATCH Applied Johan Jonker 14 participants 40 messages Sep 9, 2022 – Sep 30, 2022 1 message not in the archive

Subsystems (11)
lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): [email protected]

#1 lore raw

PATCH 1/11 dt-bindings: serial: rockchip: add rockchip,rk3128-uart

Add rockchip,rk3128-uart compatible string.

---
 Documentation/devicetree/bindings/serial/snps-dw-apb-uart.yaml | 1 +
 1 file changed, 1 insertion(+)
Documentation/devicetree/bindings/serial/snps-dw-apb-uart.yaml +1 -0
index dc74643ae..b9c2287c5 100644
@@ -26,6 +26,7 @@ properties:
               - rockchip,rk1808-uart
               - rockchip,rk3036-uart
               - rockchip,rk3066-uart
+              - rockchip,rk3128-uart
               - rockchip,rk3188-uart
               - rockchip,rk3288-uart
               - rockchip,rk3308-uart
Signature · 1 line
2.20.1
maintainer
#2 lore raw

Re: (subset) [PATCH v1 01/11] dt-bindings: serial: rockchip: add rockchip,rk3128-uart

Quoted 3 lines · Johan Jonker

Add rockchip,rk3128-uart compatible string.

Applied to

https://git.kernel.org/pub/scm/linux/kernel/git/broonie/spi.git for-next

Thanks!

[05/11] dt-bindings: spi: rockchip: add rockchip,rk3128-spi

        commit: 14c3ffd7947ef3623682148be07b9c0bb8737f37

All being well this means that it will be integrated into the linux-next tree (usually sometime in the next 24 hours) and sent to Linus during the next merge window (or sooner if it is a bug fix), however if problems are discovered then the patch may be dropped or reverted.

You may get further e-mails resulting from automated or manual testing and review of the tree, please engage with people reporting problems and send followup patches addressing any issues that are reported if needed.

If any updates are required or you are submitting further changes they should be sent as incremental updates against current git, existing patches will not be replaced.

Please add any relevant lists and maintainers to the CCs when replying to this mail.

Thanks,
Mark

maintainer Acked-by on v1 1/11
#3 lore raw

Re: [PATCH v1 01/11] dt-bindings: serial: rockchip: add rockchip,rk3128-uart

In reply to Johan Jonker
Quoted 7 lines · Johan Jonker

Add rockchip,rk3128-uart compatible string.

---
 Documentation/devicetree/bindings/serial/snps-dw-apb-uart.yaml | 1 +
 1 file changed, 1 insertion(+)
Signature · 3 lines
linux-phy mailing list
[email protected]
https://lists.infradead.org/mailman/listinfo/linux-phy
maintainer Applied
#5 lore raw

Re: (subset) [PATCH v1 01/11] dt-bindings: serial: rockchip: add rockchip,rk3128-uart

In reply to Johan Jonker
Quoted 1 line · Johan Jonker

Add rockchip,rk3128-uart compatible string.

Applied, thanks!

[08/11] dt-bindings: arm: rockchip: pmu: add rockchip,rk3128-pmu

        commit: 9c2f4521344f3b14fa0be050100ef726edc36cbc
[10/11] dt-bindings: soc: rockchip: grf: add rockchip,rk3128-grf
        commit: adc4f190260a6c004f950992d8c9ee3aec8da38b

Best regards,

Signature · 1 line
Heiko Stuebner <[email protected]>
#6 lore raw

PATCH 2/11 dt-bindings: i2c: rockchip: add rockchip,rk3128-i2c

In reply to a message not in the archive

Add rockchip,rk3128-i2c compatible string.

---
 Documentation/devicetree/bindings/i2c/i2c-rk3x.yaml | 1 +
 1 file changed, 1 insertion(+)
Documentation/devicetree/bindings/i2c/i2c-rk3x.yaml +1 -0
index ee9f8b91d..82b9d6682 100644
@@ -29,6 +29,7 @@ properties:
       - items:
           - enum:
               - rockchip,rk3036-i2c
+              - rockchip,rk3128-i2c
               - rockchip,rk3368-i2c
           - const: rockchip,rk3288-i2c
       - items:
Signature · 1 line
2.20.1
maintainer Acked-by on v1 2/11
#7 lore raw

Re: [PATCH v1 02/11] dt-bindings: i2c: rockchip: add rockchip,rk3128-i2c

Quoted 7 lines · Johan Jonker

Add rockchip,rk3128-i2c compatible string.

---
 Documentation/devicetree/bindings/i2c/i2c-rk3x.yaml | 1 +
 1 file changed, 1 insertion(+)
Signature · 3 lines
linux-phy mailing list
[email protected]
https://lists.infradead.org/mailman/listinfo/linux-phy
#9 lore raw

PATCH 3/11 dt-bindings: pwm: rockchip: add rockchip,rk3128-pwm

In reply to a message not in the archive

Add rockchip,rk3128-pwm compatible string.

---
 Documentation/devicetree/bindings/pwm/pwm-rockchip.yaml | 1 +
 1 file changed, 1 insertion(+)
Documentation/devicetree/bindings/pwm/pwm-rockchip.yaml +1 -0
index a336ff936..f86170871 100644
@@ -21,6 +21,7 @@ properties:
           - const: rockchip,rk2928-pwm
       - items:
           - enum:
+              - rockchip,rk3128-pwm
               - rockchip,rk3368-pwm
               - rockchip,rk3399-pwm
               - rockchip,rv1108-pwm
Signature · 1 line
2.20.1
maintainer
#10 lore raw

Re: [PATCH v1 03/11] dt-bindings: pwm: rockchip: add rockchip,rk3128-pwm

Quoted 7 lines · Johan Jonker

Add rockchip,rk3128-pwm compatible string.

---
 Documentation/devicetree/bindings/pwm/pwm-rockchip.yaml | 1 +
 1 file changed, 1 insertion(+)

Running 'make dtbs_check' with the schema in this patch gives the following warnings. Consider if they are expected or the schema is incorrect. These may not be new warnings.

Note that it is not yet a requirement to have 0 warnings for dtbs_check. This will change in the future.

Full log is available here: https://patchwork.ozlabs.org/patch/

pwm@10280000: 'interrupts' does not match any of the regexes: 'pinctrl-[0-9]+'

	arch/arm/boot/dts/rv1108-elgin-r1.dtb
	arch/arm/boot/dts/rv1108-evb.dtb

pwm@10280010: 'interrupts' does not match any of the regexes: 'pinctrl-[0-9]+'

	arch/arm/boot/dts/rv1108-elgin-r1.dtb
	arch/arm/boot/dts/rv1108-evb.dtb

pwm@10280020: 'interrupts' does not match any of the regexes: 'pinctrl-[0-9]+'

	arch/arm/boot/dts/rv1108-elgin-r1.dtb
	arch/arm/boot/dts/rv1108-evb.dtb

pwm@10280030: 'interrupts' does not match any of the regexes: 'pinctrl-[0-9]+'

	arch/arm/boot/dts/rv1108-elgin-r1.dtb
	arch/arm/boot/dts/rv1108-evb.dtb

pwm@20040000: 'interrupts' does not match any of the regexes: 'pinctrl-[0-9]+'

	arch/arm/boot/dts/rv1108-elgin-r1.dtb
	arch/arm/boot/dts/rv1108-evb.dtb

pwm@20040010: 'interrupts' does not match any of the regexes: 'pinctrl-[0-9]+'

	arch/arm/boot/dts/rv1108-elgin-r1.dtb
	arch/arm/boot/dts/rv1108-evb.dtb

pwm@20040020: 'interrupts' does not match any of the regexes: 'pinctrl-[0-9]+'

	arch/arm/boot/dts/rv1108-elgin-r1.dtb
	arch/arm/boot/dts/rv1108-evb.dtb

pwm@20040030: 'interrupts' does not match any of the regexes: 'pinctrl-[0-9]+'

	arch/arm/boot/dts/rv1108-elgin-r1.dtb
	arch/arm/boot/dts/rv1108-evb.dtb

pwm@ff1b0030: 'interrupts' does not match any of the regexes: 'pinctrl-[0-9]+'

	arch/arm64/boot/dts/rockchip/rk3318-a95x-z2.dtb
	arch/arm64/boot/dts/rockchip/rk3328-a1.dtb
	arch/arm64/boot/dts/rockchip/rk3328-evb.dtb
	arch/arm64/boot/dts/rockchip/rk3328-nanopi-r2s.dtb
	arch/arm64/boot/dts/rockchip/rk3328-roc-cc.dtb
	arch/arm64/boot/dts/rockchip/rk3328-rock64.dtb
	arch/arm64/boot/dts/rockchip/rk3328-rock-pi-e.dtb
	arch/arm64/boot/dts/rockchip/rk3328-roc-pc.dtb
#11 lore raw

Re: [PATCH v1 03/11] dt-bindings: pwm: rockchip: add rockchip,rk3128-pwm

Reduced CC.

Hi Rob,

The rk3328 and rv1108 PWM interrupt is chaired between blocks I think. For rv1108 the same interrupt is used for all PWM nodes. For rk3328 only added to one PWM node.
Currently not in use in a Linux drivers??

No consensus yet...on removing or parent node, so it stays as it is... Maybe if you have ideas things will change. ;)

Johan

===

See discussion:
https://lore.kernel.org/linux-rockchip/[email protected]/

Quoted 61 lines · Rob Herring
Quoted 7 lines · Johan Jonker

Add rockchip,rk3128-pwm compatible string.

---
 Documentation/devicetree/bindings/pwm/pwm-rockchip.yaml | 1 +
 1 file changed, 1 insertion(+)

Running 'make dtbs_check' with the schema in this patch gives the following warnings. Consider if they are expected or the schema is incorrect. These may not be new warnings.

Note that it is not yet a requirement to have 0 warnings for dtbs_check. This will change in the future.

Full log is available here: https://patchwork.ozlabs.org/patch/

pwm@10280000: 'interrupts' does not match any of the regexes: 'pinctrl-[0-9]+'

	arch/arm/boot/dts/rv1108-elgin-r1.dtb
	arch/arm/boot/dts/rv1108-evb.dtb

pwm@10280010: 'interrupts' does not match any of the regexes: 'pinctrl-[0-9]+'

	arch/arm/boot/dts/rv1108-elgin-r1.dtb
	arch/arm/boot/dts/rv1108-evb.dtb

pwm@10280020: 'interrupts' does not match any of the regexes: 'pinctrl-[0-9]+'

	arch/arm/boot/dts/rv1108-elgin-r1.dtb
	arch/arm/boot/dts/rv1108-evb.dtb

pwm@10280030: 'interrupts' does not match any of the regexes: 'pinctrl-[0-9]+'

	arch/arm/boot/dts/rv1108-elgin-r1.dtb
	arch/arm/boot/dts/rv1108-evb.dtb

pwm@20040000: 'interrupts' does not match any of the regexes: 'pinctrl-[0-9]+'

	arch/arm/boot/dts/rv1108-elgin-r1.dtb
	arch/arm/boot/dts/rv1108-evb.dtb

pwm@20040010: 'interrupts' does not match any of the regexes: 'pinctrl-[0-9]+'

	arch/arm/boot/dts/rv1108-elgin-r1.dtb
	arch/arm/boot/dts/rv1108-evb.dtb

pwm@20040020: 'interrupts' does not match any of the regexes: 'pinctrl-[0-9]+'

	arch/arm/boot/dts/rv1108-elgin-r1.dtb
	arch/arm/boot/dts/rv1108-evb.dtb

pwm@20040030: 'interrupts' does not match any of the regexes: 'pinctrl-[0-9]+'

	arch/arm/boot/dts/rv1108-elgin-r1.dtb
	arch/arm/boot/dts/rv1108-evb.dtb

pwm@ff1b0030: 'interrupts' does not match any of the regexes: 'pinctrl-[0-9]+'

	arch/arm64/boot/dts/rockchip/rk3318-a95x-z2.dtb
	arch/arm64/boot/dts/rockchip/rk3328-a1.dtb
	arch/arm64/boot/dts/rockchip/rk3328-evb.dtb
	arch/arm64/boot/dts/rockchip/rk3328-nanopi-r2s.dtb
	arch/arm64/boot/dts/rockchip/rk3328-roc-cc.dtb
	arch/arm64/boot/dts/rockchip/rk3328-rock64.dtb
	arch/arm64/boot/dts/rockchip/rk3328-rock-pi-e.dtb
	arch/arm64/boot/dts/rockchip/rk3328-roc-pc.dtb
maintainer
#12 lore raw

Re: [PATCH v1 03/11] dt-bindings: pwm: rockchip: add rockchip,rk3128-pwm

Quoted 4 lines · Johan Jonker

Reduced CC.

Hi Rob,

Seemed like a simple enough warning to fix...

Quoted 4 lines

The rk3328 and rv1108 PWM interrupt is chaired between blocks I think. For rv1108 the same interrupt is used for all PWM nodes. For rk3328 only added to one PWM node.
Currently not in use in a Linux drivers??

How is that relevant to the binding? It's used in dts files.

Quoted 3 lines

No consensus yet...on removing or parent node, so it stays as it is... Maybe if you have ideas things will change. ;)

Only that existing issues should be addressed before adding new platforms especially if the binding might change in an incompatible way (splitting nodes).

Rob

#13 lore raw

Re: [PATCH v1 03/11] dt-bindings: pwm: rockchip: add rockchip,rk3128-pwm

Quoted 7 lines · Rob Herring
Quoted 4 lines · Johan Jonker

Reduced CC.

Hi Rob,

Seemed like a simple enough warning to fix...

Some examples for comment.
Let us know what would be the better solution?

===========================================================================

option1:

	combpwm0: combpwm0 {
		compatible = "rockchip,rv1108-combpwm";
		interrupts = <GIC_SPI 39 IRQ_TYPE_LEVEL_HIGH>;
		#address-cells = <2>;
		#size-cells = <2>;

		pwm0: pwm@20040000 {
			compatible = "rockchip,rv1108-pwm";
			reg = <0x20040000 0x10>;
		};

		pwm1: pwm@20040010 {
			compatible = "rockchip,rv1108-pwm";
			reg = <0x20040010 0x10>;
		};

		pwm2: pwm@20040020 {
			compatible = "rockchip,rv1108-pwm";
			reg = <0x20040020 0x10>;
		};

		pwm3: pwm@20040030 {
			compatible = "rockchip,rv1108-pwm";
			reg = <0x20040030 0x10>;
		};
	};

PRO:
- Existing driver might still work.
CON:
- New compatible needed to service the combined interrupts.
- Driver change needed.

===========================================================================
option 2:

	combpwm0: pwm@10280000 {
		compatible = "rockchip,rv1108-pwm";
		reg = <0x10280000 0x40>;
		interrupts = <GIC_SPI 38 IRQ_TYPE_LEVEL_HIGH>;
		#address-cells = <1>;
		#size-cells = <0>;

		pwm4: pwm-4@0 {
			reg = <0x0>;
		};

		pwm5: pwm-5@10 {
			reg = <0x10>;
		};

		pwm6: pwm-6@20 {
			reg = <0x20>;
		};

		pwm7: pwm-7@30 {
			reg = <0x30>;
		};
	};

CON:
- Driver change needed.
- Not compatible with current drivers.

===========================================================================

Current situation:

	pwm0: pwm@20040000 {
		compatible = "rockchip,rv1108-pwm", "rockchip,rk3288-pwm";
		reg = <0x20040000 0x10>;
		interrupts = <GIC_SPI 39 IRQ_TYPE_LEVEL_HIGH>;
	};

	pwm1: pwm@20040010 {
		compatible = "rockchip,rv1108-pwm", "rockchip,rk3288-pwm";
		reg = <0x20040010 0x10>;
		interrupts = <GIC_SPI 39 IRQ_TYPE_LEVEL_HIGH>;
	};

	pwm2: pwm@20040020 {
		compatible = "rockchip,rv1108-pwm", "rockchip,rk3288-pwm";
		reg = <0x20040020 0x10>;
		interrupts = <GIC_SPI 39 IRQ_TYPE_LEVEL_HIGH>;
	};

	pwm3: pwm@20040030 {
		compatible = "rockchip,rv1108-pwm", "rockchip,rk3288-pwm";
		reg = <0x20040030 0x10>;
		interrupts = <GIC_SPI 39 IRQ_TYPE_LEVEL_HIGH>;
	};

CON:
- The property "interrupts 39" can only be claimed ones by one probe function at the time.
- Has a fall-back string for rk3288, but unknown identical behavior for interrupts ???

Quoted 9 lines
Quoted 5 lines

The rk3328 and rv1108 PWM interrupt is chaired between blocks I think. For rv1108 the same interrupt is used for all PWM nodes. For rk3328 only added to one PWM node.
Currently not in use in a Linux drivers??

How is that relevant to the binding? It's used in dts files.

Quoted 1 line
Quoted 8 lines
Quoted 2 lines

No consensus yet...on removing or parent node, so it stays as it is... Maybe if you have ideas things will change. ;)

Only that existing issues should be addressed before adding new platforms especially if the binding might change in an incompatible way (splitting nodes).

Rob

_______________________________________________
Linux-rockchip mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/linux-rockchip

#14 lore raw

Re: [PATCH v1 03/11] dt-bindings: pwm: rockchip: add rockchip,rk3128-pwm

Quoted 110 lines · Johan Jonker
Quoted 7 lines · Rob Herring
Quoted 4 lines · Johan Jonker

Reduced CC.

Hi Rob,

Seemed like a simple enough warning to fix...

Some examples for comment.
Let us know what would be the better solution?

===========================================================================

option1:

	combpwm0: combpwm0 {
		compatible = "rockchip,rv1108-combpwm";
		interrupts = <GIC_SPI 39 IRQ_TYPE_LEVEL_HIGH>;
		#address-cells = <2>;
		#size-cells = <2>;

		pwm0: pwm@20040000 {
			compatible = "rockchip,rv1108-pwm";
			reg = <0x20040000 0x10>;
		};

		pwm1: pwm@20040010 {
			compatible = "rockchip,rv1108-pwm";
			reg = <0x20040010 0x10>;
		};

		pwm2: pwm@20040020 {
			compatible = "rockchip,rv1108-pwm";
			reg = <0x20040020 0x10>;
		};

		pwm3: pwm@20040030 {
			compatible = "rockchip,rv1108-pwm";
			reg = <0x20040030 0x10>;
		};
	};

PRO:
- Existing driver might still work.
CON:
- New compatible needed to service the combined interrupts.
- Driver change needed.

===========================================================================
option 2:

	combpwm0: pwm@10280000 {
		compatible = "rockchip,rv1108-pwm";
		reg = <0x10280000 0x40>;
		interrupts = <GIC_SPI 38 IRQ_TYPE_LEVEL_HIGH>;
		#address-cells = <1>;
		#size-cells = <0>;

		pwm4: pwm-4@0 {
			reg = <0x0>;
		};

		pwm5: pwm-5@10 {
			reg = <0x10>;
		};

		pwm6: pwm-6@20 {
			reg = <0x20>;
		};

		pwm7: pwm-7@30 {
			reg = <0x30>;
		};
	};

CON:
- Driver change needed.
- Not compatible with current drivers.

===========================================================================

Current situation:

	pwm0: pwm@20040000 {
		compatible = "rockchip,rv1108-pwm", "rockchip,rk3288-pwm";
		reg = <0x20040000 0x10>;
		interrupts = <GIC_SPI 39 IRQ_TYPE_LEVEL_HIGH>;
	};

	pwm1: pwm@20040010 {
		compatible = "rockchip,rv1108-pwm", "rockchip,rk3288-pwm";
		reg = <0x20040010 0x10>;
		interrupts = <GIC_SPI 39 IRQ_TYPE_LEVEL_HIGH>;
	};

	pwm2: pwm@20040020 {
		compatible = "rockchip,rv1108-pwm", "rockchip,rk3288-pwm";
		reg = <0x20040020 0x10>;
		interrupts = <GIC_SPI 39 IRQ_TYPE_LEVEL_HIGH>;
	};

	pwm3: pwm@20040030 {
		compatible = "rockchip,rv1108-pwm", "rockchip,rk3288-pwm";
		reg = <0x20040030 0x10>;
		interrupts = <GIC_SPI 39 IRQ_TYPE_LEVEL_HIGH>;
	};
Quoted 3 lines

CON:
- The property "interrupts 39" can only be claimed ones by one probe function at the time.
- Has a fall-back string for rk3288, but unknown identical behavior for interrupts ???

To be honest, all three descriptions look wrong to me. From the above it looks like this is simply one PWM controller with four channels, so it should really be described as such, i.e.:

	pwm@20040030 {
		compatible = "rockchip,rv1108-pwm";
		reg = <0x20040030 0x40>;
		interrupts = <GIC_SPI 39 IRQ_TYPE_LEVEL_HIGH>;
	};

Looking through existing Rockchip SoC DTSI files, though, it looks like this has been done the wrong way since the beginning, so not sure if you still want to fix it up.

This whole problem of dealing with a shared interrupt wouldn't be a problem if this was described properly.

Thierry

#15 lore raw

Re: [PATCH v1 03/11] dt-bindings: pwm: rockchip: add rockchip,rk3128-pwm

Quoted 120 lines · Thierry Reding
Quoted 110 lines · Johan Jonker
Quoted 7 lines · Rob Herring
Quoted 4 lines · Johan Jonker

Reduced CC.

Hi Rob,

Seemed like a simple enough warning to fix...

Some examples for comment.
Let us know what would be the better solution?

===========================================================================

option1:

	combpwm0: combpwm0 {
		compatible = "rockchip,rv1108-combpwm";
		interrupts = <GIC_SPI 39 IRQ_TYPE_LEVEL_HIGH>;
		#address-cells = <2>;
		#size-cells = <2>;

		pwm0: pwm@20040000 {
			compatible = "rockchip,rv1108-pwm";
			reg = <0x20040000 0x10>;
		};

		pwm1: pwm@20040010 {
			compatible = "rockchip,rv1108-pwm";
			reg = <0x20040010 0x10>;
		};

		pwm2: pwm@20040020 {
			compatible = "rockchip,rv1108-pwm";
			reg = <0x20040020 0x10>;
		};

		pwm3: pwm@20040030 {
			compatible = "rockchip,rv1108-pwm";
			reg = <0x20040030 0x10>;
		};
	};

PRO:
- Existing driver might still work.
CON:
- New compatible needed to service the combined interrupts.
- Driver change needed.

===========================================================================
option 2:

	combpwm0: pwm@10280000 {
		compatible = "rockchip,rv1108-pwm";
		reg = <0x10280000 0x40>;
		interrupts = <GIC_SPI 38 IRQ_TYPE_LEVEL_HIGH>;
		#address-cells = <1>;
		#size-cells = <0>;

		pwm4: pwm-4@0 {
			reg = <0x0>;
		};

		pwm5: pwm-5@10 {
			reg = <0x10>;
		};

		pwm6: pwm-6@20 {
			reg = <0x20>;
		};

		pwm7: pwm-7@30 {
			reg = <0x30>;
		};
	};

CON:
- Driver change needed.
- Not compatible with current drivers.

===========================================================================

Current situation:

	pwm0: pwm@20040000 {
		compatible = "rockchip,rv1108-pwm", "rockchip,rk3288-pwm";
		reg = <0x20040000 0x10>;
		interrupts = <GIC_SPI 39 IRQ_TYPE_LEVEL_HIGH>;
	};

	pwm1: pwm@20040010 {
		compatible = "rockchip,rv1108-pwm", "rockchip,rk3288-pwm";
		reg = <0x20040010 0x10>;
		interrupts = <GIC_SPI 39 IRQ_TYPE_LEVEL_HIGH>;
	};

	pwm2: pwm@20040020 {
		compatible = "rockchip,rv1108-pwm", "rockchip,rk3288-pwm";
		reg = <0x20040020 0x10>;
		interrupts = <GIC_SPI 39 IRQ_TYPE_LEVEL_HIGH>;
	};

	pwm3: pwm@20040030 {
		compatible = "rockchip,rv1108-pwm", "rockchip,rk3288-pwm";
		reg = <0x20040030 0x10>;
		interrupts = <GIC_SPI 39 IRQ_TYPE_LEVEL_HIGH>;
	};
Quoted 3 lines

CON:
- The property "interrupts 39" can only be claimed ones by one probe function at the time.
- Has a fall-back string for rk3288, but unknown identical behavior for interrupts ???

To be honest, all three descriptions look wrong to me. From the above it looks like this is simply one PWM controller with four channels, so it should really be described as such, i.e.:

Quoted 6 lines
	pwm@20040030 {
		compatible = "rockchip,rv1108-pwm";
		reg = <0x20040030 0x40>;
		interrupts = <GIC_SPI 39 IRQ_TYPE_LEVEL_HIGH>;
	};

Each PWM channel has it's own pinctrl.
Not all channel pins are always in use for PWM exclusively. Your proposal would not allow pins to be used for other functions. More ideas with this interrupt? Please advise.

===

The SoCs PWM are configurable to operate in continuous mode (default mainline) or one-shot mode or capture mode. Is there any good example for one-shot mode interrupt use?

Quoted 8 lines

Looking through existing Rockchip SoC DTSI files, though, it looks like this has been done the wrong way since the beginning, so not sure if you still want to fix it up.

This whole problem of dealing with a shared interrupt wouldn't be a problem if this was described properly.

Thierry

#16 lore raw

Re: [PATCH v1 03/11] dt-bindings: pwm: rockchip: add rockchip,rk3128-pwm

Quoted 130 lines · Johan Jonker
Quoted 120 lines · Thierry Reding
Quoted 110 lines · Johan Jonker
Quoted 7 lines · Rob Herring
Quoted 4 lines · Johan Jonker

Reduced CC.

Hi Rob,

Seemed like a simple enough warning to fix...

Some examples for comment.
Let us know what would be the better solution?

===========================================================================

option1:

	combpwm0: combpwm0 {
		compatible = "rockchip,rv1108-combpwm";
		interrupts = <GIC_SPI 39 IRQ_TYPE_LEVEL_HIGH>;
		#address-cells = <2>;
		#size-cells = <2>;

		pwm0: pwm@20040000 {
			compatible = "rockchip,rv1108-pwm";
			reg = <0x20040000 0x10>;
		};

		pwm1: pwm@20040010 {
			compatible = "rockchip,rv1108-pwm";
			reg = <0x20040010 0x10>;
		};

		pwm2: pwm@20040020 {
			compatible = "rockchip,rv1108-pwm";
			reg = <0x20040020 0x10>;
		};

		pwm3: pwm@20040030 {
			compatible = "rockchip,rv1108-pwm";
			reg = <0x20040030 0x10>;
		};
	};

PRO:
- Existing driver might still work.
CON:
- New compatible needed to service the combined interrupts.
- Driver change needed.

===========================================================================
option 2:

	combpwm0: pwm@10280000 {
		compatible = "rockchip,rv1108-pwm";
		reg = <0x10280000 0x40>;
		interrupts = <GIC_SPI 38 IRQ_TYPE_LEVEL_HIGH>;
		#address-cells = <1>;
		#size-cells = <0>;

		pwm4: pwm-4@0 {
			reg = <0x0>;
		};

		pwm5: pwm-5@10 {
			reg = <0x10>;
		};

		pwm6: pwm-6@20 {
			reg = <0x20>;
		};

		pwm7: pwm-7@30 {
			reg = <0x30>;
		};
	};

CON:
- Driver change needed.
- Not compatible with current drivers.

===========================================================================

Current situation:

	pwm0: pwm@20040000 {
		compatible = "rockchip,rv1108-pwm", "rockchip,rk3288-pwm";
		reg = <0x20040000 0x10>;
		interrupts = <GIC_SPI 39 IRQ_TYPE_LEVEL_HIGH>;
	};

	pwm1: pwm@20040010 {
		compatible = "rockchip,rv1108-pwm", "rockchip,rk3288-pwm";
		reg = <0x20040010 0x10>;
		interrupts = <GIC_SPI 39 IRQ_TYPE_LEVEL_HIGH>;
	};

	pwm2: pwm@20040020 {
		compatible = "rockchip,rv1108-pwm", "rockchip,rk3288-pwm";
		reg = <0x20040020 0x10>;
		interrupts = <GIC_SPI 39 IRQ_TYPE_LEVEL_HIGH>;
	};

	pwm3: pwm@20040030 {
		compatible = "rockchip,rv1108-pwm", "rockchip,rk3288-pwm";
		reg = <0x20040030 0x10>;
		interrupts = <GIC_SPI 39 IRQ_TYPE_LEVEL_HIGH>;
	};
Quoted 3 lines

CON:
- The property "interrupts 39" can only be claimed ones by one probe function at the time.
- Has a fall-back string for rk3288, but unknown identical behavior for interrupts ???

To be honest, all three descriptions look wrong to me. From the above it looks like this is simply one PWM controller with four channels, so it should really be described as such, i.e.:

Quoted 6 lines
	pwm@20040030 {
		compatible = "rockchip,rv1108-pwm";
		reg = <0x20040030 0x40>;
		interrupts = <GIC_SPI 39 IRQ_TYPE_LEVEL_HIGH>;
	};
Quoted 3 lines

Each PWM channel has it's own pinctrl.
Not all channel pins are always in use for PWM exclusively. Your proposal would not allow pins to be used for other functions.

Why would you think that? It would just mean moving the pinctrl selection down to the board level like for GPIOs - we manage just fine with a single DT node per GPIO bank, and semantically PWMs have no reason do be different. In fact on newer SoCs some PWM channels can be muxed to multiple pins, so pinctrl really has to be at the board level already in those casesa.

The TRMs seem pretty clear that the "new" PWM block from RK3288 onwards is a single module with 4 channels, not 4 independent controllers, so it seems to have been an unfortunate mistake not to create a new binding for it at that point. It would be a little fiddly, but far from impossible, to make the driver support both the existing binding and a new one (and I don't see how we could use the interrupt on newer SoCs *without* a binding change, given that the interrupt status register is outside any channel's current "reg"), but an old kernel with a new DT would be more problematic. If we kept the existing compatibles then an old driver would always use channel 0 regardless of what the consumer requested; using new compatibles as well means the old kernel loses PWM functionality entirely, which is arguably "safe", but I'm not sure if it's really better or worse :/

Robin.

Quoted 15 lines

More ideas with this interrupt? Please advise.

===

The SoCs PWM are configurable to operate in continuous mode (default mainline) or one-shot mode or capture mode. Is there any good example for one-shot mode interrupt use?

Quoted 7 lines

Looking through existing Rockchip SoC DTSI files, though, it looks like this has been done the wrong way since the beginning, so not sure if you still want to fix it up.

This whole problem of dealing with a shared interrupt wouldn't be a problem if this was described properly.

Quoted 6 lines
Quoted 1 line

Thierry

_______________________________________________
Linux-rockchip mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/linux-rockchip

_______________________________________________
Linux-rockchip mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/linux-rockchip

#17 lore raw

RE: [PATCH v1 03/11] dt-bindings: pwm: rockchip: add rockchip,rk3128-pwm

In reply to Thierry Reding

Hi Thierry Reding,

Quoted 130 lines

Subject: Re: [PATCH v1 03/11] dt-bindings: pwm: rockchip: add rockchip,rk3128-pwm

Quoted 6 lines · Johan Jonker
Quoted 3 lines · Rob Herring
Quoted 2 lines · Johan Jonker

Reduced CC.

Quoted 9 lines
Quoted 4 lines
Quoted 2 lines

Hi Rob,

Seemed like a simple enough warning to fix...

Some examples for comment.
Let us know what would be the better solution?

======================================================================

Quoted 31 lines

=====

option1:

	combpwm0: combpwm0 {
		compatible = "rockchip,rv1108-combpwm";
		interrupts = <GIC_SPI 39 IRQ_TYPE_LEVEL_HIGH>;
		#address-cells = <2>;
		#size-cells = <2>;

		pwm0: pwm@20040000 {
			compatible = "rockchip,rv1108-pwm";
			reg = <0x20040000 0x10>;
		};

		pwm1: pwm@20040010 {
			compatible = "rockchip,rv1108-pwm";
			reg = <0x20040010 0x10>;
		};

		pwm2: pwm@20040020 {
			compatible = "rockchip,rv1108-pwm";
			reg = <0x20040020 0x10>;
		};

		pwm3: pwm@20040030 {
			compatible = "rockchip,rv1108-pwm";
			reg = <0x20040030 0x10>;
		};
	};
Quoted 7 lines

PRO:
- Existing driver might still work.
CON:
- New compatible needed to service the combined interrupts.
- Driver change needed.

======================================================================

Quoted 27 lines

=====
option 2:

	combpwm0: pwm@10280000 {
		compatible = "rockchip,rv1108-pwm";
		reg = <0x10280000 0x40>;
		interrupts = <GIC_SPI 38 IRQ_TYPE_LEVEL_HIGH>;
		#address-cells = <1>;
		#size-cells = <0>;

		pwm4: pwm-4@0 {
			reg = <0x0>;
		};

		pwm5: pwm-5@10 {
			reg = <0x10>;
		};

		pwm6: pwm-6@20 {
			reg = <0x20>;
		};

		pwm7: pwm-7@30 {
			reg = <0x30>;
		};
	};
Quoted 5 lines

CON:
- Driver change needed.
- Not compatible with current drivers.

======================================================================

Quoted 28 lines

=====

Current situation:

	pwm0: pwm@20040000 {
		compatible = "rockchip,rv1108-pwm", "rockchip,rk3288-pwm";
		reg = <0x20040000 0x10>;
		interrupts = <GIC_SPI 39 IRQ_TYPE_LEVEL_HIGH>;
	};

	pwm1: pwm@20040010 {
		compatible = "rockchip,rv1108-pwm", "rockchip,rk3288-pwm";
		reg = <0x20040010 0x10>;
		interrupts = <GIC_SPI 39 IRQ_TYPE_LEVEL_HIGH>;
	};

	pwm2: pwm@20040020 {
		compatible = "rockchip,rv1108-pwm", "rockchip,rk3288-pwm";
		reg = <0x20040020 0x10>;
		interrupts = <GIC_SPI 39 IRQ_TYPE_LEVEL_HIGH>;
	};

	pwm3: pwm@20040030 {
		compatible = "rockchip,rv1108-pwm", "rockchip,rk3288-pwm";
		reg = <0x20040030 0x10>;
		interrupts = <GIC_SPI 39 IRQ_TYPE_LEVEL_HIGH>;
	};
Quoted 2 lines

CON:
- The property "interrupts 39" can only be claimed ones by one probe

function at the time.

Quoted 1 line

- Has a fall-back string for rk3288, but unknown identical behavior

for interrupts ???

To be honest, all three descriptions look wrong to me. From the above it looks like this is simply one PWM controller with four channels, so it should really be described as such, i.e.:

Quoted 5 lines
	pwm@20040030 {
		compatible = "rockchip,rv1108-pwm";
		reg = <0x20040030 0x40>;
		interrupts = <GIC_SPI 39 IRQ_TYPE_LEVEL_HIGH>;
	};

Sorry to jump in.

Renesas GPT has also similar case where we have large PWM IP block
having 8 pwm channels. Each channel has it's Own pinctrl, unique registers, interrupts for each channel. But there are 4 sharable external trigger input pins for all the channels.

If it is a single block like this, how will you associate pinctrl with each channel?

At board level if you specify <pin4 enabled>, without pwm channel specific information how will you configure channel4?

Maybe something like this will help. Is it acceptable?

	pwm@20040030 {
		compatible = "rockchip,rv1108-pwm";
		reg = <0x20040030 0x40>;
		interrupts = <GIC_SPI 39 IRQ_TYPE_LEVEL_HIGH>;

		pwm4: pwm-4@0 {
			reg = <0x0>;
		};

		pwm5: pwm-5@10 {
			reg = <0x10>;
		};

		pwm6: pwm-6@20 {
			reg = <0x20>;
		};

		pwm7: pwm-7@30 {
			reg = <0x30>;
		};
	};

Cheers,
Biju

Acked-by on v1 3/11
#18 lore raw

Re: [PATCH v1 03/11] dt-bindings: pwm: rockchip: add rockchip,rk3128-pwm

In reply to Johan Jonker

Hello,

Quoted 3 lines · Johan Jonker

Add rockchip,rk3128-pwm compatible string.

Considering the problems pointed out by Rob as orthogonal to this change:

Best regards
Uwe

Signature · 2 lines
Pengutronix e.K.                           | Uwe Kleine-König            |
Industrial Linux Solutions                 | https://www.pengutronix.de/ |
maintainer Acked-by on v1 3/11
#19 lore raw

Re: [PATCH v1 03/11] dt-bindings: pwm: rockchip: add rockchip,rk3128-pwm

In reply to Johan Jonker
Quoted 7 lines · Johan Jonker

Add rockchip,rk3128-pwm compatible string.

---
 Documentation/devicetree/bindings/pwm/pwm-rockchip.yaml | 1 +
 1 file changed, 1 insertion(+)

_______________________________________________
linux-arm-kernel mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

Acked-by on v1 3/11
#20 lore raw

Re: [PATCH v1 03/11] dt-bindings: pwm: rockchip: add rockchip,rk3128-pwm

In reply to Johan Jonker

Hello,

Quoted 3 lines · Johan Jonker

Add rockchip,rk3128-pwm compatible string.

Is the expectation that this goes in via PWM, or together with the other patches via the rockchip maintainers?

Best regards
Uwe

Signature · 2 lines
Pengutronix e.K.                           | Uwe Kleine-König            |
Industrial Linux Solutions                 | https://www.pengutronix.de/ |
maintainer Acked-by
#21 lore raw

Re: [PATCH v1 03/11] dt-bindings: pwm: rockchip: add rockchip,rk3128-pwm

Am Dienstag, 20. September 2022, 08:21:49 CEST schrieb Uwe Kleine-König:

Quoted 11 lines

Hello,

Quoted 3 lines · Johan Jonker

Add rockchip,rk3128-pwm compatible string.

Is the expectation that this goes in via PWM, or together with the other patches via the rockchip maintainers?

in general I think bindings always go through the subsystem that they're targetting - PWM in this case.

Heiko

#22 lore raw

PATCH 4/11 dt-bindings: mmc: rockchip: add rockchip,rk3128-dw-mshc

In reply to a message not in the archive

Add rockchip,rk3128-dw-mshc compatible string.

---
 Documentation/devicetree/bindings/mmc/rockchip-dw-mshc.yaml | 1 +
 1 file changed, 1 insertion(+)
Documentation/devicetree/bindings/mmc/rockchip-dw-mshc.yaml +1 -0
index bad28bc74..95f59a5e3 100644
@@ -32,6 +32,7 @@ properties:
               - rockchip,px30-dw-mshc
               - rockchip,rk1808-dw-mshc
               - rockchip,rk3036-dw-mshc
+              - rockchip,rk3128-dw-mshc
               - rockchip,rk3228-dw-mshc
               - rockchip,rk3308-dw-mshc
               - rockchip,rk3328-dw-mshc
Signature · 1 line
2.20.1
maintainer Acked-by on v1 4/11
#23 lore raw

Re: [PATCH v1 04/11] dt-bindings: mmc: rockchip: add rockchip,rk3128-dw-mshc

Quoted 7 lines · Johan Jonker

Add rockchip,rk3128-dw-mshc compatible string.

---
 Documentation/devicetree/bindings/mmc/rockchip-dw-mshc.yaml | 1 +
 1 file changed, 1 insertion(+)

_______________________________________________
Linux-rockchip mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/linux-rockchip

#24 lore raw

Re: [PATCH v1 04/11] dt-bindings: mmc: rockchip: add rockchip,rk3128-dw-mshc

In reply to Johan Jonker
Quoted 4 lines · Johan Jonker

Add rockchip,rk3128-dw-mshc compatible string.

Applied for next, thanks!

Kind regards
Uffe

Quoted 17 lines
---
 Documentation/devicetree/bindings/mmc/rockchip-dw-mshc.yaml | 1 +
 1 file changed, 1 insertion(+)
Documentation/devicetree/bindings/mmc/rockchip-dw-mshc.yaml +1 -1
index bad28bc74..95f59a5e3 100644
@@ -32,6 +32,7 @@ properties:
               - rockchip,px30-dw-mshc
               - rockchip,rk1808-dw-mshc
               - rockchip,rk3036-dw-mshc
+              - rockchip,rk3128-dw-mshc
               - rockchip,rk3228-dw-mshc
               - rockchip,rk3308-dw-mshc
               - rockchip,rk3328-dw-mshc
--
Quoted 2 lines

2.20.1

_______________________________________________
Linux-rockchip mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/linux-rockchip

#25 lore raw

PATCH 5/11 dt-bindings: spi: rockchip: add rockchip,rk3128-spi

In reply to a message not in the archive

Add rockchip,rk3128-spi compatible string.

---
 Documentation/devicetree/bindings/spi/spi-rockchip.yaml | 1 +
 1 file changed, 1 insertion(+)
Documentation/devicetree/bindings/spi/spi-rockchip.yaml +1 -0
index 21f2de785..52768894b 100644
@@ -27,6 +27,7 @@ properties:
       - items:
           - enum:
               - rockchip,px30-spi
+              - rockchip,rk3128-spi
               - rockchip,rk3188-spi
               - rockchip,rk3288-spi
               - rockchip,rk3308-spi
Signature · 1 line
2.20.1
maintainer
#26 lore raw

Re: [PATCH v1 05/11] dt-bindings: spi: rockchip: add rockchip,rk3128-spi

Quoted 7 lines · Johan Jonker

Add rockchip,rk3128-spi compatible string.

---
 Documentation/devicetree/bindings/spi/spi-rockchip.yaml | 1 +
 1 file changed, 1 insertion(+)

Running 'make dtbs_check' with the schema in this patch gives the following warnings. Consider if they are expected or the schema is incorrect. These may not be new warnings.

Note that it is not yet a requirement to have 0 warnings for dtbs_check. This will change in the future.

Full log is available here: https://patchwork.ozlabs.org/patch/

spi@ff1d0000: Unevaluated properties are not allowed ('max-freq' was unexpected)

	arch/arm64/boot/dts/rockchip/rk3399-pinebook-pro.dtb

spi@ff200000: Unevaluated properties are not allowed ('power-domains' was unexpected)

	arch/arm64/boot/dts/rockchip/rk3399-evb.dtb
	arch/arm64/boot/dts/rockchip/rk3399-ficus.dtb
	arch/arm64/boot/dts/rockchip/rk3399-firefly.dtb
	arch/arm64/boot/dts/rockchip/rk3399-gru-bob.dtb
	arch/arm64/boot/dts/rockchip/rk3399-gru-kevin.dtb
	arch/arm64/boot/dts/rockchip/rk3399-gru-scarlet-dumo.dtb
	arch/arm64/boot/dts/rockchip/rk3399-gru-scarlet-inx.dtb
	arch/arm64/boot/dts/rockchip/rk3399-gru-scarlet-kd.dtb
	arch/arm64/boot/dts/rockchip/rk3399-hugsun-x99.dtb
	arch/arm64/boot/dts/rockchip/rk3399-khadas-edge-captain.dtb
	arch/arm64/boot/dts/rockchip/rk3399-khadas-edge.dtb
	arch/arm64/boot/dts/rockchip/rk3399-khadas-edge-v.dtb
	arch/arm64/boot/dts/rockchip/rk3399-kobol-helios64.dtb
	arch/arm64/boot/dts/rockchip/rk3399-leez-p710.dtb
	arch/arm64/boot/dts/rockchip/rk3399-nanopc-t4.dtb
	arch/arm64/boot/dts/rockchip/rk3399-nanopi-m4b.dtb
	arch/arm64/boot/dts/rockchip/rk3399-nanopi-m4.dtb
	arch/arm64/boot/dts/rockchip/rk3399-nanopi-neo4.dtb
	arch/arm64/boot/dts/rockchip/rk3399-nanopi-r4s.dtb
	arch/arm64/boot/dts/rockchip/rk3399-orangepi.dtb
	arch/arm64/boot/dts/rockchip/rk3399-pinebook-pro.dtb
	arch/arm64/boot/dts/rockchip/rk3399pro-rock-pi-n10.dtb
	arch/arm64/boot/dts/rockchip/rk3399-puma-haikou.dtb
	arch/arm64/boot/dts/rockchip/rk3399-rock960.dtb
	arch/arm64/boot/dts/rockchip/rk3399-rock-pi-4a.dtb
	arch/arm64/boot/dts/rockchip/rk3399-rock-pi-4a-plus.dtb
	arch/arm64/boot/dts/rockchip/rk3399-rock-pi-4b.dtb
	arch/arm64/boot/dts/rockchip/rk3399-rock-pi-4b-plus.dtb
	arch/arm64/boot/dts/rockchip/rk3399-rock-pi-4c.dtb
	arch/arm64/boot/dts/rockchip/rk3399-rockpro64.dtb
	arch/arm64/boot/dts/rockchip/rk3399-rockpro64-v2.dtb
	arch/arm64/boot/dts/rockchip/rk3399-roc-pc.dtb
	arch/arm64/boot/dts/rockchip/rk3399-roc-pc-mezzanine.dtb
	arch/arm64/boot/dts/rockchip/rk3399-roc-pc-plus.dtb
	arch/arm64/boot/dts/rockchip/rk3399-sapphire.dtb
	arch/arm64/boot/dts/rockchip/rk3399-sapphire-excavator.dtb
#27 lore raw

PATCH 6/11 dt-bindings: usb: dwc2: rockchip: add rockchip,rk3128-usb

In reply to a message not in the archive

Add rockchip,rk3128-usb compatible string.

---
 Documentation/devicetree/bindings/usb/dwc2.yaml | 1 +
 1 file changed, 1 insertion(+)
Documentation/devicetree/bindings/usb/dwc2.yaml +1 -0
index 1bfbc6ef1..dc4988c00 100644
@@ -32,6 +32,7 @@ properties:
           - enum:
               - rockchip,px30-usb
               - rockchip,rk3036-usb
+              - rockchip,rk3128-usb
               - rockchip,rk3188-usb
               - rockchip,rk3228-usb
               - rockchip,rk3288-usb
Signature · 1 line
2.20.1
#29 lore raw

PATCH 7/11 dt-bindings: watchdog: rockchip: add rockchip,rk3128-wdt

In reply to a message not in the archive

Add rockchip,rk3128-wdt compatible string.

---
 Documentation/devicetree/bindings/watchdog/snps,dw-wdt.yaml | 1 +
 1 file changed, 1 insertion(+)
Documentation/devicetree/bindings/watchdog/snps,dw-wdt.yaml +1 -0
index 6461eb4f4..92df6e453 100644
@@ -20,6 +20,7 @@ properties:
           - enum:
               - rockchip,px30-wdt
               - rockchip,rk3066-wdt
+              - rockchip,rk3128-wdt
               - rockchip,rk3188-wdt
               - rockchip,rk3228-wdt
               - rockchip,rk3288-wdt
Signature · 1 line
2.20.1
maintainer Reviewed-by on v1 7/11
#30 lore raw

Re: [PATCH v1 07/11] dt-bindings: watchdog: rockchip: add rockchip,rk3128-wdt

Quoted 3 lines · Johan Jonker

Add rockchip,rk3128-wdt compatible string.

Quoted 16 lines
---
  Documentation/devicetree/bindings/watchdog/snps,dw-wdt.yaml | 1 +
  1 file changed, 1 insertion(+)
Documentation/devicetree/bindings/watchdog/snps,dw-wdt.yaml +1 -0
index 6461eb4f4..92df6e453 100644
@@ -20,6 +20,7 @@ properties:
            - enum:
                - rockchip,px30-wdt
                - rockchip,rk3066-wdt
+              - rockchip,rk3128-wdt
                - rockchip,rk3188-wdt
                - rockchip,rk3228-wdt
                - rockchip,rk3288-wdt
#32 lore raw

PATCH 8/11 dt-bindings: arm: rockchip: pmu: add rockchip,rk3128-pmu

In reply to a message not in the archive

Add rockchip,rk3128-pmu compatible string.

---
 Documentation/devicetree/bindings/arm/rockchip/pmu.yaml | 2 ++
 1 file changed, 2 insertions(+)
Documentation/devicetree/bindings/arm/rockchip/pmu.yaml +2 -0
index 5ece38065..f5800f7cc 100644
@@ -21,6 +21,7 @@ select:
         enum:
           - rockchip,px30-pmu
           - rockchip,rk3066-pmu
+          - rockchip,rk3128-pmu
           - rockchip,rk3288-pmu
           - rockchip,rk3368-pmu
           - rockchip,rk3399-pmu
@@ -35,6 +36,7 @@ properties:
       - enum:
           - rockchip,px30-pmu
           - rockchip,rk3066-pmu
+          - rockchip,rk3128-pmu
           - rockchip,rk3288-pmu
           - rockchip,rk3368-pmu
           - rockchip,rk3399-pmu
Signature · 1 line
2.20.1
#34 lore raw

PATCH 9/11 dt-bindings: phy: phy-rockchip-inno-usb2: add rockchip,rk3128-usb2phy

In reply to a message not in the archive

Add rockchip,rk3128-usb2phy compatible string.

---
 .../devicetree/bindings/phy/phy-rockchip-inno-usb2.yaml          | 1 +
 1 file changed, 1 insertion(+)
Documentation/devicetree/bindings/phy/phy-rockchip-inno-usb2.yaml +1 -0
index 4b7528973..f71920082 100644
@@ -13,6 +13,7 @@ properties:
   compatible:
     enum:
       - rockchip,px30-usb2phy
+      - rockchip,rk3128-usb2phy
       - rockchip,rk3228-usb2phy
       - rockchip,rk3308-usb2phy
       - rockchip,rk3328-usb2phy
Signature · 1 line
2.20.1
maintainer Acked-by on v1 9/11
#35 lore raw

Re: [PATCH v1 09/11] dt-bindings: phy: phy-rockchip-inno-usb2: add rockchip,rk3128-usb2phy

Quoted 7 lines · Johan Jonker

Add rockchip,rk3128-usb2phy compatible string.

---
 .../devicetree/bindings/phy/phy-rockchip-inno-usb2.yaml          | 1 +
 1 file changed, 1 insertion(+)
maintainer Applied
#36 lore raw

Re: [PATCH v1 09/11] dt-bindings: phy: phy-rockchip-inno-usb2: add rockchip,rk3128-usb2phy

In reply to Johan Jonker
Quoted 1 line · Johan Jonker

Add rockchip,rk3128-usb2phy compatible string.

Applied, thanks

Signature · 5 lines
~Vinod

______________________________________________________
Linux MTD discussion mailing list
http://lists.infradead.org/mailman/listinfo/linux-mtd/
#37 lore raw

PATCH 10/11 dt-bindings: soc: rockchip: grf: add rockchip,rk3128-grf

In reply to a message not in the archive

Add rockchip,rk3128-grf compatible string.

---
 Documentation/devicetree/bindings/soc/rockchip/grf.yaml | 2 ++
 1 file changed, 2 insertions(+)
Documentation/devicetree/bindings/soc/rockchip/grf.yaml +2 -0
index 75a2b8bb2..08d705ab4 100644
@@ -28,6 +28,7 @@ properties:
               - rockchip,px30-usb2phy-grf
               - rockchip,rk3036-grf
               - rockchip,rk3066-grf
+              - rockchip,rk3128-grf
               - rockchip,rk3188-grf
               - rockchip,rk3228-grf
               - rockchip,rk3288-grf
@@ -178,6 +179,7 @@ allOf:
           contains:
             enum:
               - rockchip,px30-usb2phy-grf
+              - rockchip,rk3128-grf
               - rockchip,rk3228-grf
               - rockchip,rk3308-usb2phy-grf
               - rockchip,rk3328-usb2phy-grf
Signature · 1 line
2.20.1
#39 lore raw

PATCH 11/11 dt-bindings: mtd: rockchip: add rockchip,rk3128-nfc

In reply to a message not in the archive

Add rockchip,rk3128-nfc compatible string.

---
 .../devicetree/bindings/mtd/rockchip,nand-controller.yaml     | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)
Documentation/devicetree/bindings/mtd/rockchip,nand-controller.yaml +3 -1
index d681a4676..566f33085 100644
@@ -19,7 +19,9 @@ properties:
       - const: rockchip,rk2928-nfc
       - const: rockchip,rv1108-nfc
       - items:
-          - const: rockchip,rk3036-nfc
+          - enum:
+              - rockchip,rk3036-nfc
+              - rockchip,rk3128-nfc
           - const: rockchip,rk2928-nfc
       - items:
           - const: rockchip,rk3308-nfc
Signature · 1 line
2.20.1