From: Rob Herring <robh@kernel.org>
To: "B. Niedermayr" <benedikt.niedermayr@siemens.com>
Cc: devicetree@vger.kernel.org, linux-omap@vger.kernel.org,
krzysztof.kozlowski@linaro.org, rogerq@kernel.org,
tony@atomide.com
Subject: Re: [PATCH v6 2/2] dt-bindings: memory-controllers: gpmc-child: add wait-pin polarity
Date: Fri, 30 Sep 2022 14:42:57 -0500 [thread overview]
Message-ID: <20220930194257.GA756240-robh@kernel.org> (raw)
In-Reply-To: <20220929125639.143953-3-benedikt.niedermayr@siemens.com>
On Thu, Sep 29, 2022 at 02:56:39PM +0200, B. Niedermayr wrote:
> From: Benedikt Niedermayr <benedikt.niedermayr@siemens.com>
>
> The GPMC controller has the ability to configure the polarity for the
> wait pin. The current properties do not allow this configuration.
> This binding directly configures the WAITPIN<X>POLARITY bit
> in the GPMC_CONFIG register by setting the gpmc,wait-pin-polarity
> dt-property.
>
> Signed-off-by: Benedikt Niedermayr <benedikt.niedermayr@siemens.com>
> ---
> .../bindings/memory-controllers/ti,gpmc-child.yaml | 7 +++++++
> 1 file changed, 7 insertions(+)
>
> diff --git a/Documentation/devicetree/bindings/memory-controllers/ti,gpmc-child.yaml b/Documentation/devicetree/bindings/memory-controllers/ti,gpmc-child.yaml
> index 6e3995bb1630..477189973334 100644
> --- a/Documentation/devicetree/bindings/memory-controllers/ti,gpmc-child.yaml
> +++ b/Documentation/devicetree/bindings/memory-controllers/ti,gpmc-child.yaml
> @@ -230,6 +230,13 @@ properties:
> Wait-pin used by client. Must be less than "gpmc,num-waitpins".
> $ref: /schemas/types.yaml#/definitions/uint32
>
> + gpmc,wait-pin-polarity:
'gpmc' is not a vendor. Don't continue this bad pattern, use 'ti'.
> + description: |
> + Set the desired polarity for the selected wait pin.
> + 1 for active low, 0 for active high.
Well that looks backwards. I assume from the commit msg above, it's the
register value, but that's not what the description says. Please go with
the logical state here and do the inversion in the driver.
> + $ref: /schemas/types.yaml#/definitions/uint32
> + enum: [0, 1]
> +
> gpmc,wait-on-read:
> description: Enables wait monitoring on reads.
> type: boolean
> --
> 2.25.1
>
>
next prev parent reply other threads:[~2022-09-30 19:43 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-09-29 12:56 [PATCH v6 0/2] gpmc wait pin additions B. Niedermayr
2022-09-29 12:56 ` [PATCH v6 1/2] memory: omap-gpmc: " B. Niedermayr
2022-10-01 9:18 ` Roger Quadros
2022-09-29 12:56 ` [PATCH v6 2/2] dt-bindings: memory-controllers: gpmc-child: add wait-pin polarity B. Niedermayr
2022-09-30 19:42 ` Rob Herring [this message]
2022-09-30 20:01 ` Krzysztof Kozlowski
2022-10-05 10:05 ` Niedermayr, BENEDIKT
2022-10-05 11:01 ` Krzysztof Kozlowski
2022-10-05 10:13 ` Niedermayr, BENEDIKT
2022-10-05 11:00 ` Krzysztof Kozlowski
2022-10-05 11:15 ` Niedermayr, BENEDIKT
2022-10-05 11:48 ` Krzysztof Kozlowski
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20220930194257.GA756240-robh@kernel.org \
--to=robh@kernel.org \
--cc=benedikt.niedermayr@siemens.com \
--cc=devicetree@vger.kernel.org \
--cc=krzysztof.kozlowski@linaro.org \
--cc=linux-omap@vger.kernel.org \
--cc=rogerq@kernel.org \
--cc=tony@atomide.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).