[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20140915223554.GF7960@sirena.org.uk>
Date: Mon, 15 Sep 2014 15:35:54 -0700
From: Mark Brown <broonie@...nel.org>
To: Gyungoh Yoo <gyungoh@...il.com>
Cc: lgirdwood@...il.com, grant.likely@...aro.org, robh+dt@...nel.org,
linux-kernel@...r.kernel.org, devicetree@...r.kernel.org,
Gyungoh Yoo <jack.yoo@...worksinc.com>
Subject: Re: [PATCH v2.2 2/2] dt-bindings: Adding compatible attribute for
SKY81452 regulator
On Thu, Sep 11, 2014 at 02:22:30PM +0900, Gyungoh Yoo wrote:
> By the way,
> I knew that compatible string is used for binding a driver.
> http://devicetree.org/Device_Tree_Usage#Understanding_the_compatible_Property
> And, from kernel 3.6, MFD core has a mechanism for binding of_node
> to the driver with of_compatible.
> Can I have a question about if it is possible to assign compatible string
> for binding driver independently with reusability?
Look at a driver like the wm831x regulator drivers - they don't have
device tree but they're reusing a driver for an IP with the base
register for the IP being specified in the MFD. If convering to DT it
might be reasonable to specify this in device tree, though it's marginal
since the part name in the core is also good enough.
Download attachment "signature.asc" of type "application/pgp-signature" (474 bytes)
Powered by blists - more mailing lists