From: Michal Simek <monstr@monstr.eu>
To: Michal Simek <michal.simek@amd.com>,
linux-kernel@vger.kernel.org, michal.simek@xilinx.com,
git@xilinx.com
Cc: Amit Kumar Mahapatra <amit.kumar-mahapatra@xilinx.com>,
Harini Katakam <harini.katakam@amd.com>,
Krzysztof Kozlowski <krzysztof.kozlowski+dt@linaro.org>,
Laurent Pinchart <laurent.pinchart@ideasonboard.com>,
Michael Grzeschik <m.grzeschik@pengutronix.de>,
Michael Tretter <m.tretter@pengutronix.de>,
Parth Gajjar <parth.gajjar@amd.com>,
Piyush Mehta <piyush.mehta@xilinx.com>,
Radhey Shyam Pandey <radhey.shyam.pandey@amd.com>,
Rob Herring <robh+dt@kernel.org>,
Robert Hancock <robert.hancock@calian.com>,
Sai Krishna Potthuri <lakshmi.sai.krishna.potthuri@xilinx.com>,
Srinivas Neeli <srinivas.neeli@xilinx.com>,
Tanmay Shah <tanmay.shah@amd.com>,
Vishal Sagar <vishal.sagar@amd.com>,
devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org
Subject: Re: [PATCH 23/23] arm64: zynqmp: Add phase tags marking
Date: Tue, 16 May 2023 13:10:37 +0200 [thread overview]
Message-ID: <ceda3aab-067a-caf3-2f95-5724ef1b18d0@monstr.eu> (raw)
In-Reply-To: <48b554aef75d11e6ad2ef7d21f22accb35432112.1683034376.git.michal.simek@amd.com>
On 5/2/23 15:35, Michal Simek wrote:
> bootph-all as phase tag was added to dt-schema
> (dtschema/schemas/bootph.yaml) to cover U-Boot challenges with DT.
> That's why add it also to Linux to be aligned with bootloader requirement.
>
> Signed-off-by: Michal Simek <michal.simek@amd.com>
> ---
>
> ---
> arch/arm64/boot/dts/xilinx/zynqmp-clk-ccf.dtsi | 6 ++++++
> arch/arm64/boot/dts/xilinx/zynqmp-sm-k26-revA.dts | 3 +++
> arch/arm64/boot/dts/xilinx/zynqmp.dtsi | 12 ++++++++++++
> 3 files changed, 21 insertions(+)
>
> diff --git a/arch/arm64/boot/dts/xilinx/zynqmp-clk-ccf.dtsi b/arch/arm64/boot/dts/xilinx/zynqmp-clk-ccf.dtsi
> index 581221fdadf1..719ea5d5ae88 100644
> --- a/arch/arm64/boot/dts/xilinx/zynqmp-clk-ccf.dtsi
> +++ b/arch/arm64/boot/dts/xilinx/zynqmp-clk-ccf.dtsi
> @@ -11,30 +11,35 @@
> #include <dt-bindings/clock/xlnx-zynqmp-clk.h>
> / {
> pss_ref_clk: pss_ref_clk {
> + bootph-all;
> compatible = "fixed-clock";
> #clock-cells = <0>;
> clock-frequency = <33333333>;
> };
>
> video_clk: video_clk {
> + bootph-all;
> compatible = "fixed-clock";
> #clock-cells = <0>;
> clock-frequency = <27000000>;
> };
>
> pss_alt_ref_clk: pss_alt_ref_clk {
> + bootph-all;
> compatible = "fixed-clock";
> #clock-cells = <0>;
> clock-frequency = <0>;
> };
>
> gt_crx_ref_clk: gt_crx_ref_clk {
> + bootph-all;
> compatible = "fixed-clock";
> #clock-cells = <0>;
> clock-frequency = <108000000>;
> };
>
> aux_ref_clk: aux_ref_clk {
> + bootph-all;
> compatible = "fixed-clock";
> #clock-cells = <0>;
> clock-frequency = <27000000>;
> @@ -43,6 +48,7 @@ aux_ref_clk: aux_ref_clk {
>
> &zynqmp_firmware {
> zynqmp_clk: clock-controller {
> + bootph-all;
> #clock-cells = <1>;
> compatible = "xlnx,zynqmp-clk";
> clocks = <&pss_ref_clk>, <&video_clk>, <&pss_alt_ref_clk>,
> diff --git a/arch/arm64/boot/dts/xilinx/zynqmp-sm-k26-revA.dts b/arch/arm64/boot/dts/xilinx/zynqmp-sm-k26-revA.dts
> index 78ff6a9b3144..8afdf4408a78 100644
> --- a/arch/arm64/boot/dts/xilinx/zynqmp-sm-k26-revA.dts
> +++ b/arch/arm64/boot/dts/xilinx/zynqmp-sm-k26-revA.dts
> @@ -243,17 +243,20 @@ tpm@0 { /* slm9670 - U144 */
>
> &i2c1 {
> status = "okay";
> + bootph-all;
> clock-frequency = <400000>;
> scl-gpios = <&gpio 24 GPIO_ACTIVE_HIGH>;
> sda-gpios = <&gpio 25 GPIO_ACTIVE_HIGH>;
>
> eeprom: eeprom@50 { /* u46 - also at address 0x58 */
> + bootph-all;
> compatible = "st,24c64", "atmel,24c64"; /* st m24c64 */
> reg = <0x50>;
> /* WP pin EE_WP_EN connected to slg7x644092@68 */
> };
>
> eeprom_cc: eeprom@51 { /* required by spec - also at address 0x59 */
> + bootph-all;
> compatible = "st,24c64", "atmel,24c64"; /* st m24c64 */
> reg = <0x51>;
> };
> diff --git a/arch/arm64/boot/dts/xilinx/zynqmp.dtsi b/arch/arm64/boot/dts/xilinx/zynqmp.dtsi
> index d01d4334c95f..51b8349dcacd 100644
> --- a/arch/arm64/boot/dts/xilinx/zynqmp.dtsi
> +++ b/arch/arm64/boot/dts/xilinx/zynqmp.dtsi
> @@ -127,6 +127,7 @@ rproc_1_fw_image: memory@3ef00000 {
> };
>
> zynqmp_ipi: zynqmp_ipi {
> + bootph-all;
> compatible = "xlnx,zynqmp-ipi-mailbox";
> interrupt-parent = <&gic>;
> interrupts = <0 35 4>;
> @@ -136,6 +137,7 @@ zynqmp_ipi: zynqmp_ipi {
> ranges;
>
> ipi_mailbox_pmu1: mailbox@ff9905c0 {
> + bootph-all;
> reg = <0x0 0xff9905c0 0x0 0x20>,
> <0x0 0xff9905e0 0x0 0x20>,
> <0x0 0xff990e80 0x0 0x20>,
> @@ -152,6 +154,7 @@ ipi_mailbox_pmu1: mailbox@ff9905c0 {
> dcc: dcc {
> compatible = "arm,dcc";
> status = "disabled";
> + bootph-all;
> };
>
> pmu {
> @@ -177,8 +180,10 @@ zynqmp_firmware: zynqmp-firmware {
> compatible = "xlnx,zynqmp-firmware";
> #power-domain-cells = <1>;
> method = "smc";
> + bootph-all;
>
> zynqmp_power: zynqmp-power {
> + bootph-all;
> compatible = "xlnx,zynqmp-power";
> interrupt-parent = <&gic>;
> interrupts = <0 35 4>;
> @@ -258,6 +263,7 @@ r5f-1 {
>
> amba: axi {
> compatible = "simple-bus";
> + bootph-all;
> #address-cells = <2>;
> #size-cells = <2>;
> ranges;
> @@ -699,6 +705,7 @@ pcie_intc: legacy-interrupt-controller {
> };
>
> qspi: spi@ff0f0000 {
> + bootph-all;
> compatible = "xlnx,zynqmp-qspi-1.0";
> status = "disabled";
> clock-names = "ref_clk", "pclk";
> @@ -745,6 +752,7 @@ sata: ahci@fd0c0000 {
> };
>
> sdhci0: mmc@ff160000 {
> + bootph-all;
> compatible = "xlnx,zynqmp-8.9a", "arasan,sdhci-8.9a";
> status = "disabled";
> interrupt-parent = <&gic>;
> @@ -759,6 +767,7 @@ sdhci0: mmc@ff160000 {
> };
>
> sdhci1: mmc@ff170000 {
> + bootph-all;
> compatible = "xlnx,zynqmp-8.9a", "arasan,sdhci-8.9a";
> status = "disabled";
> interrupt-parent = <&gic>;
> @@ -851,6 +860,7 @@ ttc3: timer@ff140000 {
> };
>
> uart0: serial@ff000000 {
> + bootph-all;
> compatible = "xlnx,zynqmp-uart", "cdns,uart-r1p12";
> status = "disabled";
> interrupt-parent = <&gic>;
> @@ -861,6 +871,7 @@ uart0: serial@ff000000 {
> };
>
> uart1: serial@ff010000 {
> + bootph-all;
> compatible = "xlnx,zynqmp-uart", "cdns,uart-r1p12";
> status = "disabled";
> interrupt-parent = <&gic>;
> @@ -982,6 +993,7 @@ zynqmp_dpdma: dma-controller@fd4c0000 {
> };
>
> zynqmp_dpsub: display@fd4a0000 {
> + bootph-all;
> compatible = "xlnx,zynqmp-dpsub-1.7";
> status = "disabled";
> reg = <0x0 0xfd4a0000 0x0 0x1000>,
Applied.
M
--
Michal Simek, Ing. (M.Eng), OpenPGP -> KeyID: FE3D1F91
w: www.monstr.eu p: +42-0-721842854
Maintainer of Linux kernel - Xilinx Microblaze
Maintainer of Linux kernel - Xilinx Zynq ARM and ZynqMP/Versal ARM64 SoCs
U-Boot custodian - Xilinx Microblaze/Zynq/ZynqMP/Versal/Versal NET SoCs
TF-A maintainer - Xilinx ZynqMP/Versal/Versal NET SoCs
next prev parent reply other threads:[~2023-05-16 11:13 UTC|newest]
Thread overview: 56+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-05-02 13:35 [PATCH 00/23] arm64: zynqmp: Misc zynqmp changes Michal Simek
2023-05-02 13:35 ` [PATCH 01/23] arm64: zynqmp: Describe TI phy as ethernet-phy-id Michal Simek
2023-05-10 6:52 ` Laurent Pinchart
2023-05-10 7:11 ` Michal Simek
2023-05-02 13:35 ` [PATCH 02/23] arm64: zynqmp: Fix usb node drive strength and slew rate Michal Simek
2023-05-10 6:54 ` Laurent Pinchart
2023-05-16 13:30 ` Michal Simek
2023-05-02 13:35 ` [PATCH 03/23] arm64: zynqmp: Set qspi tx-buswidth to 4 Michal Simek
2023-05-10 6:56 ` Laurent Pinchart
2023-05-02 13:35 ` [PATCH 04/23] arm64: zynqmp: Fix usb reset over bootmode pins on zcu100 Michal Simek
2023-05-16 11:05 ` Michal Simek
2023-05-02 13:35 ` [PATCH 05/23] arm64: zynqmp: Add L2 cache nodes Michal Simek
2023-05-10 6:57 ` Laurent Pinchart
2023-05-10 7:15 ` Michal Simek
2023-05-10 11:34 ` Laurent Pinchart
2023-05-02 13:35 ` [PATCH 06/23] arm64: zynqmp: Sync node name address with reg (mailbox) Michal Simek
2023-05-10 6:58 ` Laurent Pinchart
2023-05-16 10:57 ` Michal Simek
2023-05-02 13:35 ` [PATCH 07/23] arm64: zynqmp: Add pmu interrupt-affinity Michal Simek
2023-05-10 7:00 ` Laurent Pinchart
2023-05-16 11:05 ` Michal Simek
2023-05-16 12:49 ` Michal Simek
2023-05-02 13:35 ` [PATCH 08/23] arm64: zynqmp: Add resets property to sdhci nodes Michal Simek
2023-05-10 7:02 ` Laurent Pinchart
2023-05-16 10:56 ` Michal Simek
2023-05-02 13:35 ` [PATCH 09/23] arm64: zynqmp: Add dmas, dp, rtc, watchdogs and opp nodes for SOM Michal Simek
2023-05-16 11:06 ` Michal Simek
2023-05-02 13:35 ` [PATCH 10/23] arm64: zynqmp: Add linux,code for gpio button Michal Simek
2023-05-16 11:07 ` Michal Simek
2023-05-02 13:35 ` [PATCH 11/23] arm64: zynqmp: Use assigned-clock-rates for setting up SD clock in SOM Michal Simek
2023-05-16 11:07 ` Michal Simek
2023-05-02 13:35 ` [PATCH 12/23] arm64: zynqmp: Add mtd partition for secure OS storage area Michal Simek
2023-05-16 11:07 ` Michal Simek
2023-05-02 13:35 ` [PATCH 13/23] arm64: zynqmp: Used fixed-partitions for QSPI in k26 Michal Simek
2023-05-02 13:35 ` [PATCH 14/23] arm64: zynqmp: Add gpio labels for modepin gpio Michal Simek
2023-05-16 11:08 ` Michal Simek
2023-05-02 13:35 ` [PATCH 15/23] arm64: zynqmp: Add pinctrl emmc description to SM-K26 Michal Simek
2023-05-16 11:08 ` Michal Simek
2023-05-02 13:35 ` [PATCH 16/23] arm64: zynqmp: Disable USB3.0 for zc1751-xm016-dc2 Michal Simek
2023-05-16 11:08 ` Michal Simek
2023-05-02 13:35 ` [PATCH 17/23] arm64: zynqmp: Switch to ethernet-phy-id in kv260 Michal Simek
2023-05-16 11:09 ` Michal Simek
2023-05-02 13:35 ` [PATCH 18/23] arm64: zynqmp: Setup clock for DP and DPDMA Michal Simek
2023-05-16 11:09 ` Michal Simek
2023-05-02 13:35 ` [PATCH 19/23] arm64: zynqmp: Enable DP driver for SOMs Michal Simek
2023-05-16 11:09 ` Michal Simek
2023-05-02 13:35 ` [PATCH 20/23] arm64: zynqmp: Rename ams_ps/pl node names Michal Simek
2023-05-10 8:32 ` Laurent Pinchart
2023-05-16 10:56 ` Michal Simek
2023-05-02 13:35 ` [PATCH 21/23] arm64: zynqmp: Enable AMS on SOM and other zcu10x boards Michal Simek
2023-05-16 11:10 ` Michal Simek
2023-05-02 13:35 ` [PATCH 22/23] arm64: zynqmp: Describe bus-width for SD card on KV260 Michal Simek
2023-05-16 11:10 ` Michal Simek
2023-05-02 13:35 ` [PATCH 23/23] arm64: zynqmp: Add phase tags marking Michal Simek
2023-05-16 11:10 ` Michal Simek [this message]
2023-05-16 11:11 ` [PATCH 00/23] arm64: zynqmp: Misc zynqmp changes 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=ceda3aab-067a-caf3-2f95-5724ef1b18d0@monstr.eu \
--to=monstr@monstr.eu \
--cc=amit.kumar-mahapatra@xilinx.com \
--cc=devicetree@vger.kernel.org \
--cc=git@xilinx.com \
--cc=harini.katakam@amd.com \
--cc=krzysztof.kozlowski+dt@linaro.org \
--cc=lakshmi.sai.krishna.potthuri@xilinx.com \
--cc=laurent.pinchart@ideasonboard.com \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-kernel@vger.kernel.org \
--cc=m.grzeschik@pengutronix.de \
--cc=m.tretter@pengutronix.de \
--cc=michal.simek@amd.com \
--cc=michal.simek@xilinx.com \
--cc=parth.gajjar@amd.com \
--cc=piyush.mehta@xilinx.com \
--cc=radhey.shyam.pandey@amd.com \
--cc=robert.hancock@calian.com \
--cc=robh+dt@kernel.org \
--cc=srinivas.neeli@xilinx.com \
--cc=tanmay.shah@amd.com \
--cc=vishal.sagar@amd.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).