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

Andy Shevchenko andriy.shevchenko at linux.intel.com
Fri Apr 3 14:42:51 CEST 2020


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




More information about the U-Boot mailing list