From: lee.jones@linaro.org (Lee Jones)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH 2/3] ARM: DT: STi: STiH407: Add c8sectpfe LinuxDVB DT node.
Date: Wed, 26 Aug 2015 12:57:52 +0100 [thread overview]
Message-ID: <20150826115752.GX19409@x1> (raw)
In-Reply-To: <20150826114433.GB1498@griffinp-ThinkPad-X1-Carbon-2nd>
On Wed, 26 Aug 2015, Peter Griffin wrote:
> On Wed, 26 Aug 2015, Lee Jones wrote:
> > On Tue, 25 Aug 2015, Peter Griffin wrote:
> >
> > > This patch adds in the required DT node for the c8sectpfe
> > > Linux DVB demux driver which allows the tsin channels
> > > to be used on an upstream kernel.
> > >
> > > Signed-off-by: Peter Griffin <peter.griffin@linaro.org>
> > > ---
> > > arch/arm/boot/dts/stihxxx-b2120.dtsi | 38 ++++++++++++++++++++++++++++++++++++
> > > 1 file changed, 38 insertions(+)
> > >
> > > diff --git a/arch/arm/boot/dts/stihxxx-b2120.dtsi b/arch/arm/boot/dts/stihxxx-b2120.dtsi
> > > index 62994ae..1bc018e 100644
> > > --- a/arch/arm/boot/dts/stihxxx-b2120.dtsi
> > > +++ b/arch/arm/boot/dts/stihxxx-b2120.dtsi
[...]
> > How about *-c8sectpfe-demod?
>
> That doesn't really make sense, the demod is a seperate device
> typically controlled over I2C bus and connected to this IP block
> via the TS pins. Also although a tsin channel is "normally" connected
> to a demodulator device there is no reason it couldn't be connected
> for example to another STi chipset which is doing tsout.
>
> Also this IP block can do more than accept tsin, it can
> also do tsout, and merge TS channels together (some coming from
> DDR, external TS pins). Which are features we hope to add
> to the driver in the future so the name needs to be very generic.
>
> So with that in mind I would prefer to leave the compatible as
> the name of the IP block from the SoC datasheet.
Understood. Thanks for the explanation.
[...]
> > > + tsin-num = <0>;
> > > + serial-not-parallel;
> > > + i2c-bus = <&ssc2>;
> >
> > If you are adding this property, I would get Wolfram or one of the DT
> > guys to Ack it.
>
> This driver is actually already accepted, I just missed off one patch from
> the v2 series which meant this patch broke the build when Mauro applied it,
> which is the reason for re-sending it.
>
> This binding is the same way the drm display drivers use DT via ddc-i2c-bus
> property to get the i2c bus for EDID control, so I think uncontroversial.
You're still adding a non-vendor property. If you think it's generic
enough not to require a "<vendor>," prefix, please attempt to document
it in a generic binding document.
> > > + rst-gpio = <&pio15 4 0>;
> >
> > Why not use the whole name "reset"?
> >
> > "-gpio" should be "-gpios".
> >
> > So, in full: "reset-gpios"?
> >
> > Flags: GPIO_ACTIVE_HIGH ?
>
> Doing a grep, that does seem to be "more standard". Will fix in V2 as a single
> atomic commit.
It's not just 'more standard', it's documented in the GPIO binding.
--
Lee Jones
Linaro STMicroelectronics Landing Team Lead
Linaro.org ? Open source software for ARM SoCs
Follow Linaro: Facebook | Twitter | Blog
WARNING: multiple messages have this Message-ID (diff)
From: Lee Jones <lee.jones-QSEj5FYQhm4dnm+yROfE0A@public.gmane.org>
To: Peter Griffin <peter.griffin-QSEj5FYQhm4dnm+yROfE0A@public.gmane.org>
Cc: linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r@public.gmane.org,
linux-kernel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org,
srinivas.kandagatla-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org,
maxime.coquelin-qxv4g6HH51o@public.gmane.org,
patrice.chotard-qxv4g6HH51o@public.gmane.org,
mchehab-JPH+aEBZ4P+UEJcrhfAQsw@public.gmane.org,
kernel-F5mvAk5X5gdBDgjK7y7TUQ@public.gmane.org,
devicetree-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
Subject: Re: [PATCH 2/3] ARM: DT: STi: STiH407: Add c8sectpfe LinuxDVB DT node.
Date: Wed, 26 Aug 2015 12:57:52 +0100 [thread overview]
Message-ID: <20150826115752.GX19409@x1> (raw)
In-Reply-To: <20150826114433.GB1498@griffinp-ThinkPad-X1-Carbon-2nd>
On Wed, 26 Aug 2015, Peter Griffin wrote:
> On Wed, 26 Aug 2015, Lee Jones wrote:
> > On Tue, 25 Aug 2015, Peter Griffin wrote:
> >
> > > This patch adds in the required DT node for the c8sectpfe
> > > Linux DVB demux driver which allows the tsin channels
> > > to be used on an upstream kernel.
> > >
> > > Signed-off-by: Peter Griffin <peter.griffin-QSEj5FYQhm4dnm+yROfE0A@public.gmane.org>
> > > ---
> > > arch/arm/boot/dts/stihxxx-b2120.dtsi | 38 ++++++++++++++++++++++++++++++++++++
> > > 1 file changed, 38 insertions(+)
> > >
> > > diff --git a/arch/arm/boot/dts/stihxxx-b2120.dtsi b/arch/arm/boot/dts/stihxxx-b2120.dtsi
> > > index 62994ae..1bc018e 100644
> > > --- a/arch/arm/boot/dts/stihxxx-b2120.dtsi
> > > +++ b/arch/arm/boot/dts/stihxxx-b2120.dtsi
[...]
> > How about *-c8sectpfe-demod?
>
> That doesn't really make sense, the demod is a seperate device
> typically controlled over I2C bus and connected to this IP block
> via the TS pins. Also although a tsin channel is "normally" connected
> to a demodulator device there is no reason it couldn't be connected
> for example to another STi chipset which is doing tsout.
>
> Also this IP block can do more than accept tsin, it can
> also do tsout, and merge TS channels together (some coming from
> DDR, external TS pins). Which are features we hope to add
> to the driver in the future so the name needs to be very generic.
>
> So with that in mind I would prefer to leave the compatible as
> the name of the IP block from the SoC datasheet.
Understood. Thanks for the explanation.
[...]
> > > + tsin-num = <0>;
> > > + serial-not-parallel;
> > > + i2c-bus = <&ssc2>;
> >
> > If you are adding this property, I would get Wolfram or one of the DT
> > guys to Ack it.
>
> This driver is actually already accepted, I just missed off one patch from
> the v2 series which meant this patch broke the build when Mauro applied it,
> which is the reason for re-sending it.
>
> This binding is the same way the drm display drivers use DT via ddc-i2c-bus
> property to get the i2c bus for EDID control, so I think uncontroversial.
You're still adding a non-vendor property. If you think it's generic
enough not to require a "<vendor>," prefix, please attempt to document
it in a generic binding document.
> > > + rst-gpio = <&pio15 4 0>;
> >
> > Why not use the whole name "reset"?
> >
> > "-gpio" should be "-gpios".
> >
> > So, in full: "reset-gpios"?
> >
> > Flags: GPIO_ACTIVE_HIGH ?
>
> Doing a grep, that does seem to be "more standard". Will fix in V2 as a single
> atomic commit.
It's not just 'more standard', it's documented in the GPIO binding.
--
Lee Jones
Linaro STMicroelectronics Landing Team Lead
Linaro.org │ Open source software for ARM SoCs
Follow Linaro: Facebook | Twitter | Blog
--
To unsubscribe from this list: send the line "unsubscribe devicetree" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
WARNING: multiple messages have this Message-ID (diff)
From: Lee Jones <lee.jones@linaro.org>
To: Peter Griffin <peter.griffin@linaro.org>
Cc: linux-arm-kernel@lists.infradead.org,
linux-kernel@vger.kernel.org, srinivas.kandagatla@gmail.com,
maxime.coquelin@st.com, patrice.chotard@st.com,
mchehab@osg.samsung.com, kernel@stlinux.com,
devicetree@vger.kernel.org
Subject: Re: [PATCH 2/3] ARM: DT: STi: STiH407: Add c8sectpfe LinuxDVB DT node.
Date: Wed, 26 Aug 2015 12:57:52 +0100 [thread overview]
Message-ID: <20150826115752.GX19409@x1> (raw)
In-Reply-To: <20150826114433.GB1498@griffinp-ThinkPad-X1-Carbon-2nd>
On Wed, 26 Aug 2015, Peter Griffin wrote:
> On Wed, 26 Aug 2015, Lee Jones wrote:
> > On Tue, 25 Aug 2015, Peter Griffin wrote:
> >
> > > This patch adds in the required DT node for the c8sectpfe
> > > Linux DVB demux driver which allows the tsin channels
> > > to be used on an upstream kernel.
> > >
> > > Signed-off-by: Peter Griffin <peter.griffin@linaro.org>
> > > ---
> > > arch/arm/boot/dts/stihxxx-b2120.dtsi | 38 ++++++++++++++++++++++++++++++++++++
> > > 1 file changed, 38 insertions(+)
> > >
> > > diff --git a/arch/arm/boot/dts/stihxxx-b2120.dtsi b/arch/arm/boot/dts/stihxxx-b2120.dtsi
> > > index 62994ae..1bc018e 100644
> > > --- a/arch/arm/boot/dts/stihxxx-b2120.dtsi
> > > +++ b/arch/arm/boot/dts/stihxxx-b2120.dtsi
[...]
> > How about *-c8sectpfe-demod?
>
> That doesn't really make sense, the demod is a seperate device
> typically controlled over I2C bus and connected to this IP block
> via the TS pins. Also although a tsin channel is "normally" connected
> to a demodulator device there is no reason it couldn't be connected
> for example to another STi chipset which is doing tsout.
>
> Also this IP block can do more than accept tsin, it can
> also do tsout, and merge TS channels together (some coming from
> DDR, external TS pins). Which are features we hope to add
> to the driver in the future so the name needs to be very generic.
>
> So with that in mind I would prefer to leave the compatible as
> the name of the IP block from the SoC datasheet.
Understood. Thanks for the explanation.
[...]
> > > + tsin-num = <0>;
> > > + serial-not-parallel;
> > > + i2c-bus = <&ssc2>;
> >
> > If you are adding this property, I would get Wolfram or one of the DT
> > guys to Ack it.
>
> This driver is actually already accepted, I just missed off one patch from
> the v2 series which meant this patch broke the build when Mauro applied it,
> which is the reason for re-sending it.
>
> This binding is the same way the drm display drivers use DT via ddc-i2c-bus
> property to get the i2c bus for EDID control, so I think uncontroversial.
You're still adding a non-vendor property. If you think it's generic
enough not to require a "<vendor>," prefix, please attempt to document
it in a generic binding document.
> > > + rst-gpio = <&pio15 4 0>;
> >
> > Why not use the whole name "reset"?
> >
> > "-gpio" should be "-gpios".
> >
> > So, in full: "reset-gpios"?
> >
> > Flags: GPIO_ACTIVE_HIGH ?
>
> Doing a grep, that does seem to be "more standard". Will fix in V2 as a single
> atomic commit.
It's not just 'more standard', it's documented in the GPIO binding.
--
Lee Jones
Linaro STMicroelectronics Landing Team Lead
Linaro.org │ Open source software for ARM SoCs
Follow Linaro: Facebook | Twitter | Blog
next prev parent reply other threads:[~2015-08-26 11:57 UTC|newest]
Thread overview: 18+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-08-25 16:22 [PATCH 0/3] c8sectpfe Peter Griffin
2015-08-25 16:22 ` Peter Griffin
2015-08-25 16:22 ` Peter Griffin
2015-08-25 16:22 ` [PATCH 1/3] ARM: DT: STi: stihxxx-b2120: Add pulse-width properties to ssc2 & ssc3 Peter Griffin
2015-08-25 16:22 ` Peter Griffin
2015-08-25 16:22 ` [PATCH 2/3] ARM: DT: STi: STiH407: Add c8sectpfe LinuxDVB DT node Peter Griffin
2015-08-25 16:22 ` Peter Griffin
2015-08-26 7:30 ` Lee Jones
2015-08-26 7:30 ` Lee Jones
2015-08-26 7:30 ` Lee Jones
2015-08-26 11:44 ` Peter Griffin
2015-08-26 11:44 ` Peter Griffin
2015-08-26 11:44 ` Peter Griffin
2015-08-26 11:57 ` Lee Jones [this message]
2015-08-26 11:57 ` Lee Jones
2015-08-26 11:57 ` Lee Jones
2015-08-25 16:22 ` [PATCH 3/3] [media] c8sectpfe: Remove select on undefined LIBELF_32 Peter Griffin
2015-08-25 16:22 ` Peter Griffin
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=20150826115752.GX19409@x1 \
--to=lee.jones@linaro.org \
--cc=linux-arm-kernel@lists.infradead.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.