* [PATCH 6/9] dt-bindings: media: IR: Add F1C100s IR compatible string
[not found] <20221101141658.3631342-1-andre.przywara@arm.com>
@ 2022-11-01 14:16 ` Andre Przywara
2022-11-02 17:28 ` Rob Herring
2022-11-01 14:16 ` [PATCH 7/9] ARM: dts: suniv: f1c100s: add CIR DT node Andre Przywara
1 sibling, 1 reply; 4+ messages in thread
From: Andre Przywara @ 2022-11-01 14:16 UTC (permalink / raw)
To: Jernej Skrabec, Samuel Holland, Chen-Yu Tsai, Rob Herring,
Krzysztof Kozlowski
Cc: devicetree, linux-sunxi, linux-arm-kernel, Icenowy Zheng,
Mauro Carvalho Chehab, linux-media
The CIR controller in the Allwinner F1C100s series of SoCs is compatible
to the ones used in other Allwinner SoCs.
Add the respective compatible name to the existing IR binding, and pair
it with the A31 fallback compatible string.
Signed-off-by: Andre Przywara <andre.przywara@arm.com>
---
.../devicetree/bindings/media/allwinner,sun4i-a10-ir.yaml | 1 +
1 file changed, 1 insertion(+)
diff --git a/Documentation/devicetree/bindings/media/allwinner,sun4i-a10-ir.yaml b/Documentation/devicetree/bindings/media/allwinner,sun4i-a10-ir.yaml
index 704033e21ee80..53945c61325c7 100644
--- a/Documentation/devicetree/bindings/media/allwinner,sun4i-a10-ir.yaml
+++ b/Documentation/devicetree/bindings/media/allwinner,sun4i-a10-ir.yaml
@@ -21,6 +21,7 @@ properties:
- const: allwinner,sun6i-a31-ir
- items:
- enum:
+ - allwinner,suniv-f1c100s-ir
- allwinner,sun8i-a83t-ir
- allwinner,sun8i-r40-ir
- allwinner,sun50i-a64-ir
--
2.25.1
^ permalink raw reply related [flat|nested] 4+ messages in thread
* [PATCH 7/9] ARM: dts: suniv: f1c100s: add CIR DT node
[not found] <20221101141658.3631342-1-andre.przywara@arm.com>
2022-11-01 14:16 ` [PATCH 6/9] dt-bindings: media: IR: Add F1C100s IR compatible string Andre Przywara
@ 2022-11-01 14:16 ` Andre Przywara
2022-11-06 8:23 ` Jernej Škrabec
1 sibling, 1 reply; 4+ messages in thread
From: Andre Przywara @ 2022-11-01 14:16 UTC (permalink / raw)
To: Jernej Skrabec, Samuel Holland, Chen-Yu Tsai, Rob Herring,
Krzysztof Kozlowski
Cc: devicetree, linux-sunxi, linux-arm-kernel, Icenowy Zheng,
Mauro Carvalho Chehab, linux-media
The CIR (infrared receiver) controller in the Allwinner F1C100s series
of SoCs is compatible to the ones used in other Allwinner SoCs.
Add the DT node describing the resources of the controller.
There are multiple possible pinmuxes, but none as them seem to be an
obvious choice, so refrain from adding any pincontroller subnodes for
now.
Signed-off-by: Andre Przywara <andre.przywara@arm.com>
---
arch/arm/boot/dts/suniv-f1c100s.dtsi | 11 +++++++++++
1 file changed, 11 insertions(+)
diff --git a/arch/arm/boot/dts/suniv-f1c100s.dtsi b/arch/arm/boot/dts/suniv-f1c100s.dtsi
index 2901c586971b4..d29b48f23b89a 100644
--- a/arch/arm/boot/dts/suniv-f1c100s.dtsi
+++ b/arch/arm/boot/dts/suniv-f1c100s.dtsi
@@ -251,6 +251,17 @@ pwm: pwm@1c21000 {
status = "disabled";
};
+ ir: ir@1c22c00 {
+ compatible = "allwinner,suniv-f1c100s-ir",
+ "allwinner,sun6i-a31-ir";
+ reg = <0x01c22c00 0x400>;
+ clocks = <&ccu CLK_BUS_IR>, <&ccu CLK_IR>;
+ clock-names = "apb", "ir";
+ resets = <&ccu RST_BUS_IR>;
+ interrupts = <6>;
+ status = "disabled";
+ };
+
uart0: serial@1c25000 {
compatible = "snps,dw-apb-uart";
reg = <0x01c25000 0x400>;
--
2.25.1
^ permalink raw reply related [flat|nested] 4+ messages in thread
* Re: [PATCH 6/9] dt-bindings: media: IR: Add F1C100s IR compatible string
2022-11-01 14:16 ` [PATCH 6/9] dt-bindings: media: IR: Add F1C100s IR compatible string Andre Przywara
@ 2022-11-02 17:28 ` Rob Herring
0 siblings, 0 replies; 4+ messages in thread
From: Rob Herring @ 2022-11-02 17:28 UTC (permalink / raw)
To: Andre Przywara
Cc: Jernej Skrabec, Icenowy Zheng, linux-media, Chen-Yu Tsai,
devicetree, Samuel Holland, linux-arm-kernel, Krzysztof Kozlowski,
linux-sunxi, Rob Herring, Mauro Carvalho Chehab
On Tue, 01 Nov 2022 14:16:55 +0000, Andre Przywara wrote:
> The CIR controller in the Allwinner F1C100s series of SoCs is compatible
> to the ones used in other Allwinner SoCs.
>
> Add the respective compatible name to the existing IR binding, and pair
> it with the A31 fallback compatible string.
>
> Signed-off-by: Andre Przywara <andre.przywara@arm.com>
> ---
> .../devicetree/bindings/media/allwinner,sun4i-a10-ir.yaml | 1 +
> 1 file changed, 1 insertion(+)
>
Acked-by: Rob Herring <robh@kernel.org>
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [PATCH 7/9] ARM: dts: suniv: f1c100s: add CIR DT node
2022-11-01 14:16 ` [PATCH 7/9] ARM: dts: suniv: f1c100s: add CIR DT node Andre Przywara
@ 2022-11-06 8:23 ` Jernej Škrabec
0 siblings, 0 replies; 4+ messages in thread
From: Jernej Škrabec @ 2022-11-06 8:23 UTC (permalink / raw)
To: Samuel Holland, Chen-Yu Tsai, Rob Herring, Krzysztof Kozlowski,
Andre Przywara
Cc: devicetree, linux-sunxi, linux-arm-kernel, Icenowy Zheng,
Mauro Carvalho Chehab, linux-media
Dne torek, 01. november 2022 ob 15:16:56 CET je Andre Przywara napisal(a):
> The CIR (infrared receiver) controller in the Allwinner F1C100s series
> of SoCs is compatible to the ones used in other Allwinner SoCs.
>
> Add the DT node describing the resources of the controller.
> There are multiple possible pinmuxes, but none as them seem to be an
> obvious choice, so refrain from adding any pincontroller subnodes for
> now.
>
> Signed-off-by: Andre Przywara <andre.przywara@arm.com>
Reviewed-by: Jernej Skrabec <jernej.skrabec@gmail.com>
Best regards,
Jernej
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2022-11-06 8:23 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
[not found] <20221101141658.3631342-1-andre.przywara@arm.com>
2022-11-01 14:16 ` [PATCH 6/9] dt-bindings: media: IR: Add F1C100s IR compatible string Andre Przywara
2022-11-02 17:28 ` Rob Herring
2022-11-01 14:16 ` [PATCH 7/9] ARM: dts: suniv: f1c100s: add CIR DT node Andre Przywara
2022-11-06 8:23 ` Jernej Škrabec
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox