All of lore.kernel.org
 help / color / mirror / Atom feed
From: Michal Simek <michal.simek@xilinx.com>
To: Tom Rini <trini@konsulko.com>, Michal Simek <michal.simek@xilinx.com>
Cc: <u-boot@lists.denx.de>, <git@xilinx.com>,
	Sandeep Gundlupet Raju <sandeep.gundlupet-raju@xilinx.com>
Subject: Re: [PATCH] dt-bindings: versal: Add new PM_DEV_I2C_PMC macro
Date: Tue, 30 Nov 2021 18:48:02 +0100	[thread overview]
Message-ID: <63188e6e-e102-4193-443e-bf3066f4f84c@xilinx.com> (raw)
In-Reply-To: <20211130165600.GC24579@bill-the-cat>



On 11/30/21 17:56, Tom Rini wrote:
> On Tue, Nov 30, 2021 at 01:56:58PM +0100, Michal Simek wrote:
> 
>> From: Sandeep Gundlupet Raju <sandeep.gundlupet-raju@xilinx.com>
>>
>> Add new macro for PMC I2C power domain.
>>
>> Signed-off-by: Sandeep Gundlupet Raju <sandeep.gundlupet-raju@xilinx.com>
>> Signed-off-by: Michal Simek <michal.simek@xilinx.com>
>> ---
>>
>>   include/dt-bindings/power/xlnx-versal-power.h | 3 ++-
>>   1 file changed, 2 insertions(+), 1 deletion(-)
>>
>> diff --git a/include/dt-bindings/power/xlnx-versal-power.h b/include/dt-bindings/power/xlnx-versal-power.h
>> index 1b75175edce5..4a727754ad02 100644
>> --- a/include/dt-bindings/power/xlnx-versal-power.h
>> +++ b/include/dt-bindings/power/xlnx-versal-power.h
>> @@ -1,6 +1,6 @@
>>   /* SPDX-License-Identifier: GPL-2.0 */
>>   /*
>> - *  Copyright (C) 2019 - 2020 Xilinx, Inc.
>> + *  Copyright (C) 2019 - 2021 Xilinx, Inc.
>>    */
>>   
>>   #ifndef _DT_BINDINGS_VERSAL_POWER_H
>> @@ -26,6 +26,7 @@
>>   #define PM_DEV_OSPI				(0x1822402aU)
>>   #define PM_DEV_QSPI				(0x1822402bU)
>>   #define PM_DEV_GPIO_PMC				(0x1822402cU)
>> +#define PM_DEV_I2C_PMC				(0x1822402dU)
>>   #define PM_DEV_SDIO_0				(0x1822402eU)
>>   #define PM_DEV_SDIO_1				(0x1822402fU)
>>   #define PM_DEV_RTC				(0x18224034U)
> 
> So, where is this binding upstreamed, is it U-Boot specific?

I didn't push this file to upstream Linux because didn't push any versal 
specific dtsi file there yet. But this file is just IDs which are used 
by power domain driver which is upstream already.

Here you can see support for xlnx,versal-firmware driver.
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/tree/drivers/firmware/xilinx/zynqmp.c?h=v5.16-rc3#n1493

Here you can see full structure used on versal.

https://github.com/Xilinx/u-boot-xlnx/blob/master/arch/arm/dts/versal-clk.dtsi#L153

Thanks,
Michal

  reply	other threads:[~2021-11-30 17:48 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-11-30 12:56 [PATCH] dt-bindings: versal: Add new PM_DEV_I2C_PMC macro Michal Simek
2021-11-30 16:56 ` Tom Rini
2021-11-30 17:48   ` Michal Simek [this message]
2021-11-30 17:52     ` Tom Rini
2021-11-30 17:55       ` Michal Simek
2022-01-05  9:28 ` Michal Simek

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=63188e6e-e102-4193-443e-bf3066f4f84c@xilinx.com \
    --to=michal.simek@xilinx.com \
    --cc=git@xilinx.com \
    --cc=sandeep.gundlupet-raju@xilinx.com \
    --cc=trini@konsulko.com \
    --cc=u-boot@lists.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.