All of lore.kernel.org
 help / color / mirror / Atom feed
From: Tom Rini <trini@konsulko.com>
To: Sumit Garg <sumit.garg@linaro.org>
Cc: Konrad Dybcio <konrad.dybcio@linaro.org>,
	u-boot@lists.denx.de, Bhupesh Sharma <bhupesh.sharma@linaro.org>,
	Alexey Brodkin <alexey.brodkin@synopsys.com>,
	Alison Wang <alison.wang@nxp.com>,
	Andy Fleming <afleming@gmail.com>,
	Angelo Dureghello <angelo@sysam.it>,
	Bin Meng <bmeng.cn@gmail.com>,
	Daniel Schwierzeck <daniel.schwierzeck@gmail.com>,
	Marek Vasut <marex@denx.de>, Mario Six <mario.six@gdsys.cc>,
	Mateusz Kulikowski <mateusz.kulikowski@gmail.com>,
	Michal Simek <monstr@monstr.eu>,
	Nobuhiro Iwamatsu <iwamatsu@nigauri.org>,
	Priyanka Jain <priyanka.jain@nxp.com>,
	Ramon Fried <rfried.dev@gmail.com>,
	Scott McNutt <smcnutt@psyent.com>, Simon Glass <sjg@chromium.org>,
	Stefan Roese <sr@denx.de>, Thomas Chou <thomas@wytron.com.tw>,
	Wolfgang Denk <wd@denx.de>
Subject: Re: [PATCH 4/7] arch: snapdragon: clock: Always bind before relocation
Date: Fri, 24 Mar 2023 11:24:24 -0400	[thread overview]
Message-ID: <20230324152424.GJ8135@bill-the-cat> (raw)
In-Reply-To: <CAFA6WYOHsgzYxFoUhViV+QfUJsfE=DoJAHyC=Oew4FWinb0_9w@mail.gmail.com>

[-- Attachment #1: Type: text/plain, Size: 1357 bytes --]

On Fri, Mar 24, 2023 at 11:36:24AM +0530, Sumit Garg wrote:
> On Fri, 24 Mar 2023 at 07:27, Konrad Dybcio <konrad.dybcio@linaro.org> wrote:
> >
> > In preparation for supporting upstream Linux device trees on Qualcomm
> > platforms, make this the default behavior.
> >
> > Signed-off-by: Konrad Dybcio <konrad.dybcio@linaro.org>
> > ---
> >
> >  arch/arm/mach-snapdragon/clock-snapdragon.c | 1 +
> >  1 file changed, 1 insertion(+)
> >
> > diff --git a/arch/arm/mach-snapdragon/clock-snapdragon.c b/arch/arm/mach-snapdragon/clock-snapdragon.c
> > index 0ac45dce9a92..d1af5d1fec7d 100644
> > --- a/arch/arm/mach-snapdragon/clock-snapdragon.c
> > +++ b/arch/arm/mach-snapdragon/clock-snapdragon.c
> > @@ -178,4 +178,5 @@ U_BOOT_DRIVER(clk_msm) = {
> >         .ops            = &msm_clk_ops,
> >         .priv_auto      = sizeof(struct msm_clk_priv),
> >         .probe          = msm_clk_probe,
> > +       .flags          = DM_FLAG_PRE_RELOC,
> 
> "u-boot,dm-pre-reloc" serves the same purpose but this looks even
> better as we would like the serial driver to be enabled by default
> prior to relocation. So you need to get rid of redundant
> "u-boot,dm-pre-reloc" from corresponding <platform>-uboot.dtsi files.

And in turn u-boot,dm-* are now bootph-* flags which can (should!) be
part of the upstream dts file.

-- 
Tom

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 659 bytes --]

  reply	other threads:[~2023-03-24 15:24 UTC|newest]

Thread overview: 23+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-03-24  0:40 [PATCH 1/7] mmc: msm_sdhci: Match clocks through "clocks" property Konrad Dybcio
2023-03-24  0:40 ` [PATCH 2/7] serial: msm: " Konrad Dybcio
2023-03-24  6:00   ` Sumit Garg
2023-03-24  9:34     ` Konrad Dybcio
2023-03-24  0:40 ` [PATCH 3/7] serial: msm: Always bind before relocation Konrad Dybcio
2023-03-24  6:04   ` Sumit Garg
2023-03-24  9:35     ` Konrad Dybcio
2023-03-24  0:40 ` [PATCH 4/7] arch: snapdragon: clock: " Konrad Dybcio
2023-03-24  6:06   ` Sumit Garg
2023-03-24 15:24     ` Tom Rini [this message]
2023-03-27  5:37       ` Sumit Garg
2023-03-27 16:24         ` Tom Rini
2023-03-24  0:40 ` [PATCH 5/7] arm: snapdragon: pinctrl: " Konrad Dybcio
2023-03-24  6:06   ` Sumit Garg
2023-03-24  0:40 ` [PATCH 6/7] serial: msm_geni: Use upstream Linux bindings Konrad Dybcio
2023-03-24  6:13   ` Sumit Garg
2023-03-24  9:35     ` Konrad Dybcio
2023-03-24  0:40 ` [PATCH 7/7] arm: Migrate Apple M1 to save_prev_bl_data Konrad Dybcio
2023-03-27 19:31   ` Mark Kettenis
2023-03-28  8:17     ` Konrad Dybcio
2023-03-28 14:30       ` Tom Rini
2023-03-24  5:55 ` [PATCH 1/7] mmc: msm_sdhci: Match clocks through "clocks" property Sumit Garg
2023-03-24  7:05 ` Bhupesh Sharma

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=20230324152424.GJ8135@bill-the-cat \
    --to=trini@konsulko.com \
    --cc=afleming@gmail.com \
    --cc=alexey.brodkin@synopsys.com \
    --cc=alison.wang@nxp.com \
    --cc=angelo@sysam.it \
    --cc=bhupesh.sharma@linaro.org \
    --cc=bmeng.cn@gmail.com \
    --cc=daniel.schwierzeck@gmail.com \
    --cc=iwamatsu@nigauri.org \
    --cc=konrad.dybcio@linaro.org \
    --cc=marex@denx.de \
    --cc=mario.six@gdsys.cc \
    --cc=mateusz.kulikowski@gmail.com \
    --cc=monstr@monstr.eu \
    --cc=priyanka.jain@nxp.com \
    --cc=rfried.dev@gmail.com \
    --cc=sjg@chromium.org \
    --cc=smcnutt@psyent.com \
    --cc=sr@denx.de \
    --cc=sumit.garg@linaro.org \
    --cc=thomas@wytron.com.tw \
    --cc=u-boot@lists.denx.de \
    --cc=wd@denx.de \
    /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.