* [PATCH v5 1/2] dt-bindings: media: remove nokia,n900-ir as pwm-ir-tx is compatible [not found] <cover.1693577725.git.sean@mess.org> @ 2023-09-01 14:18 ` Sean Young 2023-09-02 10:50 ` Conor Dooley 0 siblings, 1 reply; 3+ messages in thread From: Sean Young @ 2023-09-01 14:18 UTC (permalink / raw) To: linux-media, Pavel Machek, Lee Jones, Rob Herring, Krzysztof Kozlowski, Conor Dooley, Mauro Carvalho Chehab Cc: linux-leds, devicetree, linux-kernel The generic pwm-ir-tx driver works for the Nokia n900, so nokia,n900-ir can be removed. Signed-off-by: Sean Young <sean@mess.org> --- .../bindings/leds/irled/pwm-ir-tx.yaml | 5 ++++- .../devicetree/bindings/media/nokia,n900-ir | 20 ------------------- 2 files changed, 4 insertions(+), 21 deletions(-) delete mode 100644 Documentation/devicetree/bindings/media/nokia,n900-ir diff --git a/Documentation/devicetree/bindings/leds/irled/pwm-ir-tx.yaml b/Documentation/devicetree/bindings/leds/irled/pwm-ir-tx.yaml index f2a6fa140f38..7526e3149f72 100644 --- a/Documentation/devicetree/bindings/leds/irled/pwm-ir-tx.yaml +++ b/Documentation/devicetree/bindings/leds/irled/pwm-ir-tx.yaml @@ -15,7 +15,10 @@ description: properties: compatible: - const: pwm-ir-tx + oneOf: + - const: pwm-ir-tx + - const: nokia,n900-ir + deprecated: true pwms: maxItems: 1 diff --git a/Documentation/devicetree/bindings/media/nokia,n900-ir b/Documentation/devicetree/bindings/media/nokia,n900-ir deleted file mode 100644 index 13a18ce37dd1..000000000000 --- a/Documentation/devicetree/bindings/media/nokia,n900-ir +++ /dev/null @@ -1,20 +0,0 @@ -Device-Tree bindings for LIRC TX driver for Nokia N900(RX51) - -Required properties: - - compatible: should be "nokia,n900-ir". - - pwms: specifies PWM used for IR signal transmission. - -Example node: - - pwm9: dmtimer-pwm@9 { - compatible = "ti,omap-dmtimer-pwm"; - ti,timers = <&timer9>; - ti,clock-source = <0x00>; /* timer_sys_ck */ - #pwm-cells = <3>; - }; - - ir: n900-ir { - compatible = "nokia,n900-ir"; - - pwms = <&pwm9 0 26316 0>; /* 38000 Hz */ - }; -- 2.42.0 ^ permalink raw reply related [flat|nested] 3+ messages in thread
* Re: [PATCH v5 1/2] dt-bindings: media: remove nokia,n900-ir as pwm-ir-tx is compatible 2023-09-01 14:18 ` [PATCH v5 1/2] dt-bindings: media: remove nokia,n900-ir as pwm-ir-tx is compatible Sean Young @ 2023-09-02 10:50 ` Conor Dooley 2023-09-04 14:28 ` Lee Jones 0 siblings, 1 reply; 3+ messages in thread From: Conor Dooley @ 2023-09-02 10:50 UTC (permalink / raw) To: Sean Young Cc: linux-media, Pavel Machek, Lee Jones, Rob Herring, Krzysztof Kozlowski, Conor Dooley, Mauro Carvalho Chehab, linux-leds, devicetree, linux-kernel [-- Attachment #1: Type: text/plain, Size: 1960 bytes --] On Fri, Sep 01, 2023 at 03:18:55PM +0100, Sean Young wrote: > The generic pwm-ir-tx driver works for the Nokia n900, so nokia,n900-ir > can be removed. > > Signed-off-by: Sean Young <sean@mess.org> Acked-by: Conor Dooley <conor.dooley@microchip.com> Thanks, Conor. > --- > .../bindings/leds/irled/pwm-ir-tx.yaml | 5 ++++- > .../devicetree/bindings/media/nokia,n900-ir | 20 ------------------- > 2 files changed, 4 insertions(+), 21 deletions(-) > delete mode 100644 Documentation/devicetree/bindings/media/nokia,n900-ir > > diff --git a/Documentation/devicetree/bindings/leds/irled/pwm-ir-tx.yaml b/Documentation/devicetree/bindings/leds/irled/pwm-ir-tx.yaml > index f2a6fa140f38..7526e3149f72 100644 > --- a/Documentation/devicetree/bindings/leds/irled/pwm-ir-tx.yaml > +++ b/Documentation/devicetree/bindings/leds/irled/pwm-ir-tx.yaml > @@ -15,7 +15,10 @@ description: > > properties: > compatible: > - const: pwm-ir-tx > + oneOf: > + - const: pwm-ir-tx > + - const: nokia,n900-ir > + deprecated: true > > pwms: > maxItems: 1 > diff --git a/Documentation/devicetree/bindings/media/nokia,n900-ir b/Documentation/devicetree/bindings/media/nokia,n900-ir > deleted file mode 100644 > index 13a18ce37dd1..000000000000 > --- a/Documentation/devicetree/bindings/media/nokia,n900-ir > +++ /dev/null > @@ -1,20 +0,0 @@ > -Device-Tree bindings for LIRC TX driver for Nokia N900(RX51) > - > -Required properties: > - - compatible: should be "nokia,n900-ir". > - - pwms: specifies PWM used for IR signal transmission. > - > -Example node: > - > - pwm9: dmtimer-pwm@9 { > - compatible = "ti,omap-dmtimer-pwm"; > - ti,timers = <&timer9>; > - ti,clock-source = <0x00>; /* timer_sys_ck */ > - #pwm-cells = <3>; > - }; > - > - ir: n900-ir { > - compatible = "nokia,n900-ir"; > - > - pwms = <&pwm9 0 26316 0>; /* 38000 Hz */ > - }; > -- > 2.42.0 > [-- Attachment #2: signature.asc --] [-- Type: application/pgp-signature, Size: 228 bytes --] ^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH v5 1/2] dt-bindings: media: remove nokia,n900-ir as pwm-ir-tx is compatible 2023-09-02 10:50 ` Conor Dooley @ 2023-09-04 14:28 ` Lee Jones 0 siblings, 0 replies; 3+ messages in thread From: Lee Jones @ 2023-09-04 14:28 UTC (permalink / raw) To: Conor Dooley Cc: Sean Young, linux-media, Pavel Machek, Rob Herring, Krzysztof Kozlowski, Conor Dooley, Mauro Carvalho Chehab, linux-leds, devicetree, linux-kernel On Sat, 02 Sep 2023, Conor Dooley wrote: > On Fri, Sep 01, 2023 at 03:18:55PM +0100, Sean Young wrote: > > The generic pwm-ir-tx driver works for the Nokia n900, so nokia,n900-ir > > can be removed. > > > > Signed-off-by: Sean Young <sean@mess.org> > > Acked-by: Conor Dooley <conor.dooley@microchip.com> > > --- > > .../bindings/leds/irled/pwm-ir-tx.yaml | 5 ++++- Acked-by: Lee Jones <lee@kernel.org> > > .../devicetree/bindings/media/nokia,n900-ir | 20 ------------------- > > 2 files changed, 4 insertions(+), 21 deletions(-) > > delete mode 100644 Documentation/devicetree/bindings/media/nokia,n900-ir > > > > diff --git a/Documentation/devicetree/bindings/leds/irled/pwm-ir-tx.yaml b/Documentation/devicetree/bindings/leds/irled/pwm-ir-tx.yaml > > index f2a6fa140f38..7526e3149f72 100644 > > --- a/Documentation/devicetree/bindings/leds/irled/pwm-ir-tx.yaml > > +++ b/Documentation/devicetree/bindings/leds/irled/pwm-ir-tx.yaml > > @@ -15,7 +15,10 @@ description: > > > > properties: > > compatible: > > - const: pwm-ir-tx > > + oneOf: > > + - const: pwm-ir-tx > > + - const: nokia,n900-ir > > + deprecated: true > > > > pwms: > > maxItems: 1 > > diff --git a/Documentation/devicetree/bindings/media/nokia,n900-ir b/Documentation/devicetree/bindings/media/nokia,n900-ir > > deleted file mode 100644 > > index 13a18ce37dd1..000000000000 > > --- a/Documentation/devicetree/bindings/media/nokia,n900-ir > > +++ /dev/null > > @@ -1,20 +0,0 @@ > > -Device-Tree bindings for LIRC TX driver for Nokia N900(RX51) > > - > > -Required properties: > > - - compatible: should be "nokia,n900-ir". > > - - pwms: specifies PWM used for IR signal transmission. > > - > > -Example node: > > - > > - pwm9: dmtimer-pwm@9 { > > - compatible = "ti,omap-dmtimer-pwm"; > > - ti,timers = <&timer9>; > > - ti,clock-source = <0x00>; /* timer_sys_ck */ > > - #pwm-cells = <3>; > > - }; > > - > > - ir: n900-ir { > > - compatible = "nokia,n900-ir"; > > - > > - pwms = <&pwm9 0 26316 0>; /* 38000 Hz */ > > - }; > > -- > > 2.42.0 > > -- Lee Jones [李琼斯] ^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2023-09-04 14:28 UTC | newest] Thread overview: 3+ messages (download: mbox.gz follow: Atom feed -- links below jump to the message on this page -- [not found] <cover.1693577725.git.sean@mess.org> 2023-09-01 14:18 ` [PATCH v5 1/2] dt-bindings: media: remove nokia,n900-ir as pwm-ir-tx is compatible Sean Young 2023-09-02 10:50 ` Conor Dooley 2023-09-04 14:28 ` Lee Jones
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox; as well as URLs for NNTP newsgroup(s).