From: Thierry Reding <thierry.reding@gmail.com>
To: Vivek Gautam <gautamvivek1987@gmail.com>
Cc: "devicetree@vger.kernel.org" <devicetree@vger.kernel.org>,
Kukjin Kim <kgene.kim@samsung.com>, Kukjin Kim <kgene@kernel.org>,
Jingoo Han <jg1.han@samsung.com>,
"linux-kernel@vger.kernel.org" <linux-kernel@vger.kernel.org>,
"dri-devel@lists.freedesktop.org"
<dri-devel@lists.freedesktop.org>,
Ajay Kumar <ajaykumar.rs@samsung.com>,
"linux-samsung-soc@vger.kernel.org"
<linux-samsung-soc@vger.kernel.org>,
Vivek Gautam <gautam.vivek@samsung.com>,
Javier Martinez Canillas <javier.martinez@collabora.co.uk>
Subject: Re: [PATCH V2 RESEND] arm: dts: Exynos5: Use pmu_system_controller phandle for dp phy
Date: Mon, 24 Nov 2014 11:56:58 +0100 [thread overview]
Message-ID: <20141124105656.GA32478@ulmo.nvidia.com> (raw)
In-Reply-To: <CAFp+6iE22FnHeXJZQyhytzGDNfnP4sdnYZuyFtmfzP_JVTVNPQ@mail.gmail.com>
[-- Attachment #1.1: Type: text/plain, Size: 3218 bytes --]
On Mon, Nov 24, 2014 at 04:17:18PM +0530, Vivek Gautam wrote:
> Hi,
>
>
> On Mon, Nov 24, 2014 at 4:02 PM, Thierry Reding
> <thierry.reding@gmail.com> wrote:
> > On Mon, Nov 24, 2014 at 11:11:23AM +0530, Vivek Gautam wrote:
> >> DP PHY now require pmu-system-controller to handle PMU register
> >> to control PHY's power isolation. Adding the same to dp-phy
> >> node.
> >>
> >> Signed-off-by: Vivek Gautam <gautam.vivek@samsung.com>
> >> Reviewed-by: Jingoo Han <jg1.han@samsung.com>
> >> Tested-by: Javier Martinez Canillas <javier.martinez@collabora.co.uk>
> >> Cc: Kukjin Kim <kgene@kernel.org>
> >> ---
> >> arch/arm/boot/dts/exynos5250.dtsi | 2 +-
> >> arch/arm/boot/dts/exynos5420.dtsi | 4 ++--
> >> 2 files changed, 3 insertions(+), 3 deletions(-)
> >>
> >> diff --git a/arch/arm/boot/dts/exynos5250.dtsi b/arch/arm/boot/dts/exynos5250.dtsi
> >> index 0a588b4..bebd099 100644
> >> --- a/arch/arm/boot/dts/exynos5250.dtsi
> >> +++ b/arch/arm/boot/dts/exynos5250.dtsi
> >> @@ -732,7 +732,7 @@
> >>
> >> dp_phy: video-phy@10040720 {
> >> compatible = "samsung,exynos5250-dp-video-phy";
> >> - reg = <0x10040720 4>;
> >> + samsung,pmu-syscon = <&pmu_system_controller>;
> >> #phy-cells = <0>;
> >> };
> >>
> >> diff --git a/arch/arm/boot/dts/exynos5420.dtsi b/arch/arm/boot/dts/exynos5420.dtsi
> >> index 8617a03..1353a09 100644
> >> --- a/arch/arm/boot/dts/exynos5420.dtsi
> >> +++ b/arch/arm/boot/dts/exynos5420.dtsi
> >> @@ -503,8 +503,8 @@
> >> };
> >>
> >> dp_phy: video-phy@10040728 {
> >> - compatible = "samsung,exynos5250-dp-video-phy";
> >> - reg = <0x10040728 4>;
> >> + compatible = "samsung,exynos5420-dp-video-phy";
> >> + samsung,pmu-syscon = <&pmu_system_controller>;
> >> #phy-cells = <0>;
> >> };
> >>
> >
> > It seems like these nodes have been in the Linux tree since 3.12 and
> > 3.17, respectively and these changes break backwards-compatibility. Has
> > anyone thought about the possible consequences?
>
> Sorry for my ignorance, but i have a doubt.
> If the bindings and device node both are being changed in the same kernel
> version (as fixes),
> so that the stable will have both; then the only scenerio of backward
> compatibility comes when kernel is upgraded but not dtbs.
Correct.
> Does such upgradation makes sense for distros ?
Yes. Back at the time a decision was made that device trees need to be
stable ABI because eventually they'd be shipped with the device rather
than the distribution. As such it may not at all be possible to update
them (they could be in some sort of ROM).
For that reason new kernels need to keep working with old DTBs unless an
argument can be made that would justify breaking things. I don't think I
have ever seen anyone win such an argument. One of the rare exceptions
that I know of is if you can prove that a given hardware block has never
been used in an upstream kernel, then changing the DTB in backwards-
incompatible ways would be okay because you wouldn't be breaking things
for existing users.
Thierry
[-- Attachment #1.2: Type: application/pgp-signature, Size: 819 bytes --]
[-- Attachment #2: Type: text/plain, Size: 159 bytes --]
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/dri-devel
next prev parent reply other threads:[~2014-11-24 10:56 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-11-24 5:41 [PATCH V2 RESEND] arm: dts: Exynos5: Use pmu_system_controller phandle for dp phy Vivek Gautam
2014-11-24 10:32 ` Thierry Reding
2014-11-24 10:47 ` Vivek Gautam
2014-11-24 10:56 ` Thierry Reding [this message]
[not found] ` <20141124105656.GA32478-AwZRO8vwLAwmlAP/+Wk3EA@public.gmane.org>
2014-11-24 11:29 ` Vivek Gautam
2014-11-24 12:43 ` Javier Martinez Canillas
2014-12-02 8:17 ` Javier Martinez Canillas
2014-12-02 8:39 ` Jingoo Han
[not found] ` <000501d00e0b$8e0e8610$aa2b9230$%han-Sze3O3UU22JBDgjK7y7TUQ@public.gmane.org>
2014-12-12 9:36 ` Javier Martinez Canillas
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=20141124105656.GA32478@ulmo.nvidia.com \
--to=thierry.reding@gmail.com \
--cc=ajaykumar.rs@samsung.com \
--cc=devicetree@vger.kernel.org \
--cc=dri-devel@lists.freedesktop.org \
--cc=gautam.vivek@samsung.com \
--cc=gautamvivek1987@gmail.com \
--cc=javier.martinez@collabora.co.uk \
--cc=jg1.han@samsung.com \
--cc=kgene.kim@samsung.com \
--cc=kgene@kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-samsung-soc@vger.kernel.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).