linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Sam Protsenko <semen.protsenko@linaro.org>
To: Chanwoo Choi <cwchoi00@gmail.com>
Cc: "Krzysztof Kozlowski" <krzysztof.kozlowski@canonical.com>,
	"Sylwester Nawrocki" <s.nawrocki@samsung.com>,
	"Paweł Chmiel" <pawel.mikolaj.chmiel@gmail.com>,
	"Chanwoo Choi" <cw00.choi@samsung.com>,
	"Tomasz Figa" <tomasz.figa@gmail.com>,
	"Rob Herring" <robh+dt@kernel.org>,
	"Stephen Boyd" <sboyd@kernel.org>,
	"Michael Turquette" <mturquette@baylibre.com>,
	"Sumit Semwal" <sumit.semwal@linaro.org>,
	devicetree <devicetree@vger.kernel.org>,
	"linux-arm Mailing List" <linux-arm-kernel@lists.infradead.org>,
	linux-clk <linux-clk@vger.kernel.org>,
	"Linux Kernel Mailing List" <linux-kernel@vger.kernel.org>,
	"Linux Samsung SOC" <linux-samsung-soc@vger.kernel.org>
Subject: Re: [PATCH 2/2] clk: samsung: exynos850: Implement CMU_APM domain
Date: Sat, 23 Oct 2021 01:31:37 +0300	[thread overview]
Message-ID: <CAPLW+4mx67JcSk21ntac=WGM27GA0wMFU-r6zAHi+5i6UKMNrw@mail.gmail.com> (raw)
In-Reply-To: <CAGTfZH153PS40GcOB08HXzXPAr4NY-BWjbieQE8ExS+TqV-DYw@mail.gmail.com>

On Sat, 23 Oct 2021 at 01:18, Chanwoo Choi <cwchoi00@gmail.com> wrote:
>
> On 21. 10. 22. 오후 10:39, Sam Protsenko wrote:
> > On Fri, 22 Oct 2021 at 11:58, Chanwoo Choi <cwchoi00@gmail.com> wrote:
> >>
> >> On 21. 10. 22. 오전 5:31, Sam Protsenko wrote:
> >>> CMU_APM clock domain provides clocks for APM IP-core (Active Power
> >>> Management). According to Exynos850 TRM, CMU_APM generates I3C, Mailbox,
> >>> Speedy, Timer, WDT, RTC and PMU clocks for BLK_ALIVE.
> >>>
> >>> This patch adds next clocks:
> >>>     - bus clocks in CMU_TOP needed for CMU_APM
> >>>     - all internal CMU_APM clocks
> >>>     - leaf clocks for I3C, Speedy and RTC IP-cores
> >>>     - bus clocks for CMU_CMGP and CMU_CHUB
> >>>
> >>> CMU_APM doesn't belong to Power Domains, but platform driver is used for
> >>> its registration to keep its bus clock always running. Otherwise rtc-s3c
> >>> driver disables that clock and system freezes.
> >>>
> >>> Signed-off-by: Sam Protsenko <semen.protsenko@linaro.org>
> >>> ---

...snip...

> >> Basically, you can never change the already defined clock id
> >> in nclude/dt-bindings/clock/*.h because of supporting
> >> the compatibility of dtb files which were using the
> >> already defined clock id instead of changed clock id
> >>
> >> If you want to add new clock with new clock id,
> >> you have to define the new clock id at the end of defined clock
> >> like the next of CLK_GOUT_PERI_IP for TOP domain case.
> >>
> >
> > Thanks for explaining that in details, Chanwoo. As Krzysztof pointed
> > out, right now there are no dts users of this clock driver in upstream
> > kernel (I didn't submit it yet), so it'd nice if this one can be taken
> > as is. In future I'll increment the last clock ID. Guess it was my OCD
> > talking, trying to keep all clock IDs grouped by clock type :)
>
> I know that there are no user for this clock. So that it doesn't make
> the real break for compatibility. But, when some kernel developers might
> check the kernel history by git command, they never know the history
> only we know. If there are any critical reason, I don't prefer to break
> the rule of clock id defintion for patch history.
>
> Just I want to keep the original rule of clock id patch in order to remove
> the potential confusion. It is not a strong objection. But In my case,
> I cannot reply the ack. Thanks for your work.
>

Actually I was thinking about the same -- setting a bad example and
stuff. It's not a big deal, I'll send v2 soon :)

> --
> Best Regards,
> Samsung Electronics
> Chanwoo Choi

  reply	other threads:[~2021-10-22 22:31 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-10-21 20:31 [PATCH 1/2] dt-bindings: clock: samsung: Document Exynos850 CMU_APM Sam Protsenko
2021-10-21 20:31 ` [PATCH 2/2] clk: samsung: exynos850: Implement CMU_APM domain Sam Protsenko
2021-10-22  8:54   ` Krzysztof Kozlowski
2021-10-22  8:58   ` Chanwoo Choi
2021-10-22 13:39     ` Sam Protsenko
2021-10-22 14:08       ` Krzysztof Kozlowski
2021-10-22 22:18       ` Chanwoo Choi
2021-10-22 22:31         ` Sam Protsenko [this message]
2021-10-22  8:50 ` [PATCH 1/2] dt-bindings: clock: samsung: Document Exynos850 CMU_APM Krzysztof Kozlowski
2021-10-22 22:02 ` Chanwoo Choi

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='CAPLW+4mx67JcSk21ntac=WGM27GA0wMFU-r6zAHi+5i6UKMNrw@mail.gmail.com' \
    --to=semen.protsenko@linaro.org \
    --cc=cw00.choi@samsung.com \
    --cc=cwchoi00@gmail.com \
    --cc=devicetree@vger.kernel.org \
    --cc=krzysztof.kozlowski@canonical.com \
    --cc=linux-arm-kernel@lists.infradead.org \
    --cc=linux-clk@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-samsung-soc@vger.kernel.org \
    --cc=mturquette@baylibre.com \
    --cc=pawel.mikolaj.chmiel@gmail.com \
    --cc=robh+dt@kernel.org \
    --cc=s.nawrocki@samsung.com \
    --cc=sboyd@kernel.org \
    --cc=sumit.semwal@linaro.org \
    --cc=tomasz.figa@gmail.com \
    /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).