Re: [PATCH v3 1/2] dt-bindings: input: Add DT bindings for Whiskers switch

From: Dmitry Torokhov
Date: Fri Oct 25 2019 - 16:45:49 EST


On Fri, Oct 25, 2019 at 02:41:01PM -0500, Rob Herring wrote:
> On Wed, Oct 23, 2019 at 10:43:48AM +0800, Ikjoon Jang wrote:
> > Add the DT binding document for Hammer's TABLET_MODE switch.
>
> This doesn't have any properties. Why does it need to be in DT? Just
> have the EC driver instantiate it.

We need to know whether to instantiate it or not. EC does not allow
querying whether the switch is present.

Thanks.

--
Dmitry