Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

dt-bindings: memory-controllers: ti,gpmc: add wait-pin polarity

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 "ti,wait-pin-polarity"
dt-property.

Signed-off-by: Benedikt Niedermayr <benedikt.niedermayr@siemens.com>
Reviewed-by: Rob Herring <robh@kernel.org>
Reviewed-by: Roger Quadros <rogerq@kernel.org>
Link: https://lore.kernel.org/r/20221102133047.1654449-3-benedikt.niedermayr@siemens.com
Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>

authored by

Benedikt Niedermayr and committed by
Krzysztof Kozlowski
1f1e46b8 89aed3cd

+7
+7
Documentation/devicetree/bindings/memory-controllers/ti,gpmc-child.yaml
··· 230 230 Wait-pin used by client. Must be less than "gpmc,num-waitpins". 231 231 $ref: /schemas/types.yaml#/definitions/uint32 232 232 233 + ti,wait-pin-polarity: 234 + description: | 235 + Set the desired polarity for the selected wait pin. 236 + 0 for active low, 1 for active high. 237 + $ref: /schemas/types.yaml#/definitions/uint32 238 + enum: [0, 1] 239 + 233 240 gpmc,wait-on-read: 234 241 description: Enables wait monitoring on reads. 235 242 type: boolean