[PATCH v3 14/29] acpi: Add a binding for ACPI settings in the device tree

Andy Shevchenko
2020-04-03T12:42:51Z

On Mon, Mar 30, 2020 at 05:12:50PM -0600, Simon Glass wrote:
> Devices need to report various identifiers in the ACPI tables. Rather than
> hard-coding these in drivers it is typically better to put them in the
> device tree.
>
> Add a binding file to describe this.

> +elan_touchscreen: elan-touchscreen at 10 {
> + compatible = "i2c-chip";
> + reg = <0x10>;
> + acpi,hid = "ELAN0001";
> + acpi,ddn = "ELAN Touchscreen";

> + interrupts-extended = <&acpi_gpe GPIO_21_IRQ
> + IRQ_TYPE_EDGE_FALLING>;

Can we have this on one line?

> + acpi,probed;
> +};

--
With Best Regards,
Andy Shevchenko