Message ID | 20210330002338.335-3-zev@bewilderbeest.net (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
Series | simplify Aspeed VUART SIRQ polarity DT config, add e3c246d4i BMC dts | expand |
On Mon, Mar 29, 2021 at 07:23:37PM -0500, Zev Weiss wrote: > Update DT bindings documentation for the new incarnation of the > aspeed,sirq-polarity-sense property. Why? This isn't a compatible change. > > Signed-off-by: Zev Weiss <zev@bewilderbeest.net> > --- > Documentation/devicetree/bindings/serial/8250.yaml | 14 ++++++-------- > 1 file changed, 6 insertions(+), 8 deletions(-) > > diff --git a/Documentation/devicetree/bindings/serial/8250.yaml b/Documentation/devicetree/bindings/serial/8250.yaml > index f54cae9ff7b2..0bbb7121f720 100644 > --- a/Documentation/devicetree/bindings/serial/8250.yaml > +++ b/Documentation/devicetree/bindings/serial/8250.yaml > @@ -13,7 +13,7 @@ allOf: > - $ref: /schemas/serial.yaml# > - if: > required: > - - aspeed,sirq-polarity-sense > + - aspeed,sirq-active-high > then: > properties: > compatible: > @@ -181,13 +181,11 @@ properties: > rng-gpios: true > dcd-gpios: true > > - aspeed,sirq-polarity-sense: > - $ref: /schemas/types.yaml#/definitions/phandle-array > + aspeed,sirq-active-high: > + type: boolean > description: | > - Phandle to aspeed,ast2500-scu compatible syscon alongside register > - offset and bit number to identify how the SIRQ polarity should be > - configured. One possible data source is the LPC/eSPI mode bit. Only > - applicable to aspeed,ast2500-vuart. > + Set to indicate that the SIRQ polarity is active-high (default > + is active-low). Only applicable to aspeed,ast2500-vuart. > > required: > - reg > @@ -227,7 +225,7 @@ examples: > interrupts = <8>; > clocks = <&syscon ASPEED_CLK_APB>; > no-loopback-test; > - aspeed,sirq-polarity-sense = <&syscon 0x70 25>; > + aspeed,sirq-active-high; > }; > > ... > -- > 2.31.1 >
On Tue, Mar 30, 2021 at 05:39:02PM CDT, Rob Herring wrote: >On Mon, Mar 29, 2021 at 07:23:37PM -0500, Zev Weiss wrote: >> Update DT bindings documentation for the new incarnation of the >> aspeed,sirq-polarity-sense property. > >Why? > >This isn't a compatible change. > Ah, sorry -- that was a misunderstanding on my end. I'll resend a compatible v2 shortly. Zev
On Tue, 30 Mar 2021 at 22:39, Rob Herring <robh@kernel.org> wrote: > > On Mon, Mar 29, 2021 at 07:23:37PM -0500, Zev Weiss wrote: > > Update DT bindings documentation for the new incarnation of the > > aspeed,sirq-polarity-sense property. > > Why? > > This isn't a compatible change. We want to depreciate support for this property. It should have never been added to the bindings; in it's current form it describes a relationship that afaict doesn't exist ("This unrelated register over here dictates the polarity of your virtual serial port IRQ"). See https://lore.kernel.org/lkml/20200812112400.2406734-1-joel@jms.id.au/ The intent is to remove it from both the bindings and the code. There's already no users of it in any device tree. How would you like Zev to go about doing this? Cheers, Joel > > > > > Signed-off-by: Zev Weiss <zev@bewilderbeest.net> > > --- > > Documentation/devicetree/bindings/serial/8250.yaml | 14 ++++++-------- > > 1 file changed, 6 insertions(+), 8 deletions(-) > > > > diff --git a/Documentation/devicetree/bindings/serial/8250.yaml b/Documentation/devicetree/bindings/serial/8250.yaml > > index f54cae9ff7b2..0bbb7121f720 100644 > > --- a/Documentation/devicetree/bindings/serial/8250.yaml > > +++ b/Documentation/devicetree/bindings/serial/8250.yaml > > @@ -13,7 +13,7 @@ allOf: > > - $ref: /schemas/serial.yaml# > > - if: > > required: > > - - aspeed,sirq-polarity-sense > > + - aspeed,sirq-active-high > > then: > > properties: > > compatible: > > @@ -181,13 +181,11 @@ properties: > > rng-gpios: true > > dcd-gpios: true > > > > - aspeed,sirq-polarity-sense: > > - $ref: /schemas/types.yaml#/definitions/phandle-array > > + aspeed,sirq-active-high: > > + type: boolean > > description: | > > - Phandle to aspeed,ast2500-scu compatible syscon alongside register > > - offset and bit number to identify how the SIRQ polarity should be > > - configured. One possible data source is the LPC/eSPI mode bit. Only > > - applicable to aspeed,ast2500-vuart. > > + Set to indicate that the SIRQ polarity is active-high (default > > + is active-low). Only applicable to aspeed,ast2500-vuart. > > > > required: > > - reg > > @@ -227,7 +225,7 @@ examples: > > interrupts = <8>; > > clocks = <&syscon ASPEED_CLK_APB>; > > no-loopback-test; > > - aspeed,sirq-polarity-sense = <&syscon 0x70 25>; > > + aspeed,sirq-active-high; > > }; > > > > ... > > -- > > 2.31.1 > >
diff --git a/Documentation/devicetree/bindings/serial/8250.yaml b/Documentation/devicetree/bindings/serial/8250.yaml index f54cae9ff7b2..0bbb7121f720 100644 --- a/Documentation/devicetree/bindings/serial/8250.yaml +++ b/Documentation/devicetree/bindings/serial/8250.yaml @@ -13,7 +13,7 @@ allOf: - $ref: /schemas/serial.yaml# - if: required: - - aspeed,sirq-polarity-sense + - aspeed,sirq-active-high then: properties: compatible: @@ -181,13 +181,11 @@ properties: rng-gpios: true dcd-gpios: true - aspeed,sirq-polarity-sense: - $ref: /schemas/types.yaml#/definitions/phandle-array + aspeed,sirq-active-high: + type: boolean description: | - Phandle to aspeed,ast2500-scu compatible syscon alongside register - offset and bit number to identify how the SIRQ polarity should be - configured. One possible data source is the LPC/eSPI mode bit. Only - applicable to aspeed,ast2500-vuart. + Set to indicate that the SIRQ polarity is active-high (default + is active-low). Only applicable to aspeed,ast2500-vuart. required: - reg @@ -227,7 +225,7 @@ examples: interrupts = <8>; clocks = <&syscon ASPEED_CLK_APB>; no-loopback-test; - aspeed,sirq-polarity-sense = <&syscon 0x70 25>; + aspeed,sirq-active-high; }; ...
Update DT bindings documentation for the new incarnation of the aspeed,sirq-polarity-sense property. Signed-off-by: Zev Weiss <zev@bewilderbeest.net> --- Documentation/devicetree/bindings/serial/8250.yaml | 14 ++++++-------- 1 file changed, 6 insertions(+), 8 deletions(-)