Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1641335

Re: [PATCH v2 15/18] dt-bindings: sound: Add bindings for Cirrus Logic Madera codecs

From Mark Brown <broonie@kernel.org>
Newsgroups linux.kernel
Subject Re: [PATCH v2 15/18] dt-bindings: sound: Add bindings for Cirrus Logic Madera codecs
Date 2017-05-15 10:00 +0200
Message-ID <tHj58-5aS-17@gated-at.bofh.it> (permalink)
References <tzOIO-JE-23@gated-at.bofh.it> <tzOIO-JE-21@gated-at.bofh.it> <tAb2G-6Ff-43@gated-at.bofh.it> <tAbvH-74c-19@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


[Multipart message — attachments visible in raw view] - view raw

On Tue, Apr 25, 2017 at 05:27:44PM +0100, Richard Fitzgerald wrote:
> On Tue, 2017-04-25 at 16:52 +0100, Mark Brown wrote:

> > > +Required properties:
> > > +  - compatible : One of the following chip-specific strings:
> > > +        "cirrus,cs47l35-codec"
> > > +        "cirrus,cs47l85-codec"
> > > +        "cirrus,cs47l90-codec"

> > You shouldn't have compatible strings for subfunctions of a MFD unless
> > these represent meaningful reusable IPs that can exist separately from
> > the parent chip, that's clearly not the case here.  All you're doing
> > here is encoding Linux internal abstractions which aren't OS neutral and
> > might change in future (for example clocking might move more into the
> > clock API).

> While that's nice, the of_node doesn't get populated if there isn't a
> compatible string. And people don't like workarounds for the missing
> of_node.

What workarounds are you referring to?  Why would this need any kind of
workaround, there is no requirement for magic broken nodes like this in
the subsystem and if there is we should fix that rather than bodge the
ABI.

Back to linux.kernel | Previous | Next | Find similar | Unroll thread


Thread

Re: [PATCH v2 15/18] dt-bindings: sound: Add bindings for Cirrus  Logic Madera codecs Mark Brown <broonie@kernel.org> - 2017-05-15 10:00 +0200

csiph-web