mirror of
https://github.com/torvalds/linux.git
synced 2026-04-19 23:34:00 -04:00
Everything in i2c.txt is covered by schemas/i2c/i2c-controller.yaml in dtschema project, so remove i2c.txt and update links to it in the tree. Reviewed-by: Wolfram Sang <wsa+renesas@sang-engineering.com> Acked-by: Mark Brown <broonie@kernel.org> Link: https://lore.kernel.org/r/20240222174343.3482354-2-robh@kernel.org Signed-off-by: Rob Herring <robh@kernel.org>
20 lines
491 B
Plaintext
20 lines
491 B
Plaintext
Gateworks PLD GPIO controller bindings
|
|
|
|
The GPIO controller should be a child node on an I2C bus.
|
|
|
|
Required properties:
|
|
- compatible: Should be "gateworks,pld-gpio"
|
|
- reg: I2C slave address
|
|
- gpio-controller: Marks the device node as a GPIO controller.
|
|
- #gpio-cells: Should be <2>. The first cell is the gpio number and
|
|
the second cell is used to specify optional parameters.
|
|
|
|
Example:
|
|
|
|
pld@56 {
|
|
compatible = "gateworks,pld-gpio";
|
|
reg = <0x56>;
|
|
gpio-controller;
|
|
#gpio-cells = <2>;
|
|
};
|