From mboxrd@z Thu Jan 1 00:00:00 1970 From: Andy Shevchenko Date: Fri, 3 Apr 2020 15:42:51 +0300 Subject: [PATCH v3 14/29] acpi: Add a binding for ACPI settings in the device tree In-Reply-To: <20200330171226.v3.14.I7842b2dd0d6b475301fc044c6640d8089873053f@changeid> References: <20200330231305.130488-1-sjg@chromium.org> <20200330171226.v3.14.I7842b2dd0d6b475301fc044c6640d8089873053f@changeid> Message-ID: <20200403124251.GA3676135@smile.fi.intel.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de 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