[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <ZXlEXcLw5O_i1O37@google.com>
Date: Tue, 12 Dec 2023 21:42:53 -0800
From: Dmitry Torokhov <dmitry.torokhov@...il.com>
To: Marek Szyprowski <m.szyprowski@...sung.com>
Cc: linux-input@...r.kernel.org, linux-kernel@...r.kernel.org,
Krzysztof Kozlowski <krzysztof.kozlowski@...aro.org>
Subject: Re: [PATCH v2] Input: max77693-haptic - add device-tree compatible
strings
On Fri, Oct 06, 2023 at 12:03:20PM +0200, Marek Szyprowski wrote:
> Add the needed device-tree compatible strings to the MAX77693 haptic
> driver, so it can be automatically loaded when compiled as a kernel
> module and given device-tree contains separate (i.e. 'motor-driver') node
> under the main PMIC node. When device is instantiated from device-tree,
> the driver data cannot be read via platform_get_device_id(), so get
> device type from the parent MFD device instead, what works for both
> cases.
>
> Signed-off-by: Marek Szyprowski <m.szyprowski@...sung.com>
Applied, thank you.
--
Dmitry
Powered by blists - more mailing lists