devicetree.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Biju Das <biju.das.jz@bp.renesas.com>
To: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>,
	Geert Uytterhoeven <geert@linux-m68k.org>
Cc: "Rob Herring" <robh@kernel.org>,
	"William Breathitt Gray" <william.gray@linaro.org>,
	"Thierry Reding" <thierry.reding@gmail.com>,
	"Lee Jones" <lee@kernel.org>,
	"Philipp Zabel" <p.zabel@pengutronix.de>,
	"Krzysztof Kozlowski" <krzysztof.kozlowski+dt@linaro.org>,
	"Uwe Kleine-König" <u.kleine-koenig@pengutronix.de>,
	"devicetree@vger.kernel.org" <devicetree@vger.kernel.org>,
	"linux-pwm@vger.kernel.org" <linux-pwm@vger.kernel.org>,
	"Geert Uytterhoeven" <geert+renesas@glider.be>,
	"Chris Paterson" <Chris.Paterson2@renesas.com>,
	"Biju Das" <biju.das@bp.renesas.com>,
	"Prabhakar Mahadev Lad" <prabhakar.mahadev-lad.rj@bp.renesas.com>,
	"linux-renesas-soc@vger.kernel.org"
	<linux-renesas-soc@vger.kernel.org>
Subject: RE: [PATCH v3 1/4] dt-bindings: mfd: Document RZ/G2L MTU3a bindings
Date: Mon, 10 Oct 2022 13:00:02 +0000	[thread overview]
Message-ID: <OS0PR01MB59229650F0BD26FBF2FB1E5D86209@OS0PR01MB5922.jpnprd01.prod.outlook.com> (raw)
In-Reply-To: <2961c272-52af-9f77-0ff3-105b81438316@linaro.org>

Hi Krzysztof Kozlowski,

Thanks for the feedback.

> Subject: Re: [PATCH v3 1/4] dt-bindings: mfd: Document RZ/G2L MTU3a
> bindings
> 
> On 09/10/2022 16:38, Geert Uytterhoeven wrote:
> >>
> >> So looks like either we need to use compatible
> >> "renesas,rz-mtu3-counter" and "renesas,rz-mtu3-pwm" if these
> >> functionalities to be in respective subsystem tree
> >>
> >> or
> >>
> >> squash counter and pwm functionalities to MFD subsystem.
> >>
> >> Please share your views on this. Is there any better way to handle
> this?
> >
> > I think what Rob means is that you can have a single driver that
> binds
> > against "renesas,rz-mtu3", and registers both the counter and the
> pwm
> > functionalities. Just like the clock driver, which registers clock,
> > reset, and PM Domain functionalities.  I.e. no mfd would be involved
> > anymore.
> > You can still split the driver functionality across multiple source
> > files (core, counter, pwm).
> 
> Yes.

Ok.

> 
> Bindings design is independent of driver design (e.g. still MFD
> framework).

I agree, binding is for describing hardware.

Cheers,
Biju

  reply	other threads:[~2022-10-10 13:00 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-10-06 13:57 [PATCH v3 0/4] Add RZ/G2L MTU3a MFD, Counter and pwm driver Biju Das
2022-10-06 13:57 ` [PATCH v3 1/4] dt-bindings: mfd: Document RZ/G2L MTU3a bindings Biju Das
2022-10-06 20:17   ` Rob Herring
2022-10-07 12:40     ` Biju Das
2022-10-08  7:42       ` Biju Das
2022-10-08 10:51         ` Biju Das
2022-10-09 14:38         ` Geert Uytterhoeven
2022-10-09 15:17           ` Krzysztof Kozlowski
2022-10-10 13:00             ` Biju Das [this message]
2022-10-10  7:10           ` Biju Das
2022-10-09 15:16         ` Krzysztof Kozlowski
2022-10-10 15:13           ` Biju Das

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=OS0PR01MB59229650F0BD26FBF2FB1E5D86209@OS0PR01MB5922.jpnprd01.prod.outlook.com \
    --to=biju.das.jz@bp.renesas.com \
    --cc=Chris.Paterson2@renesas.com \
    --cc=biju.das@bp.renesas.com \
    --cc=devicetree@vger.kernel.org \
    --cc=geert+renesas@glider.be \
    --cc=geert@linux-m68k.org \
    --cc=krzysztof.kozlowski+dt@linaro.org \
    --cc=krzysztof.kozlowski@linaro.org \
    --cc=lee@kernel.org \
    --cc=linux-pwm@vger.kernel.org \
    --cc=linux-renesas-soc@vger.kernel.org \
    --cc=p.zabel@pengutronix.de \
    --cc=prabhakar.mahadev-lad.rj@bp.renesas.com \
    --cc=robh@kernel.org \
    --cc=thierry.reding@gmail.com \
    --cc=u.kleine-koenig@pengutronix.de \
    --cc=william.gray@linaro.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).