summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJustin M. Forbes <jforbes@fedoraproject.org>2018-10-30 11:51:07 -0500
committerJustin M. Forbes <jforbes@fedoraproject.org>2018-10-30 11:51:07 -0500
commit968d59bf949ed86f4cd74809a62ec826c39ed58d (patch)
tree74e60901c12b3e25388e2540be17c33448c24648
parentcea0c127b7dac6dc15fbf5e92949a689cd31efff (diff)
downloadkernel-968d59bf949ed86f4cd74809a62ec826c39ed58d.tar.gz
kernel-968d59bf949ed86f4cd74809a62ec826c39ed58d.tar.xz
kernel-968d59bf949ed86f4cd74809a62ec826c39ed58d.zip
Linux v4.19-11706-g11743c56785c
-rw-r--r--arm64-96boards-Rock960-CE-board-support.patch1798
-rw-r--r--arm64-ZynqMP-firmware-clock-drivers-core.patch5481
-rw-r--r--arm64-rockchip-add-initial-Rockpro64.patch862
-rw-r--r--configs/fedora/generic/CONFIG_ADXL372_I2C1
-rw-r--r--configs/fedora/generic/CONFIG_ADXL372_SPI1
-rw-r--r--configs/fedora/generic/CONFIG_LTC16601
-rw-r--r--configs/fedora/generic/CONFIG_MCP39111
-rw-r--r--configs/fedora/generic/CONFIG_VL53L0X_I2C1
-rw-r--r--configs/fedora/generic/arm/CONFIG_MESON_CANVAS1
-rw-r--r--configs/fedora/generic/arm/CONFIG_QCOM_Q6V5_ADSP1
-rw-r--r--configs/fedora/generic/arm/CONFIG_QCOM_Q6V5_MSS1
-rw-r--r--configs/fedora/generic/arm/CONFIG_QCOM_Q6V5_PAS1
-rw-r--r--configs/fedora/generic/arm/CONFIG_QCOM_SPMI_ADC51
-rw-r--r--configs/fedora/generic/arm/CONFIG_RESET_QCOM_PDC1
-rw-r--r--configs/fedora/generic/arm/CONFIG_VIDEO_IMX_PXP1
-rw-r--r--configs/fedora/generic/arm/armv7/CONFIG_IMX_SCU1
-rw-r--r--gitrev2
-rw-r--r--kernel-aarch64-debug.config12
-rw-r--r--kernel-aarch64.config12
-rw-r--r--kernel-armv7hl-debug.config13
-rw-r--r--kernel-armv7hl-lpae-debug.config13
-rw-r--r--kernel-armv7hl-lpae.config13
-rw-r--r--kernel-armv7hl.config13
-rw-r--r--kernel-i686-debug.config5
-rw-r--r--kernel-i686.config5
-rw-r--r--kernel-ppc64le-debug.config5
-rw-r--r--kernel-ppc64le.config5
-rw-r--r--kernel-s390x-debug.config5
-rw-r--r--kernel-s390x.config5
-rw-r--r--kernel-x86_64-debug.config5
-rw-r--r--kernel-x86_64.config5
-rw-r--r--kernel.spec11
-rw-r--r--sources2
33 files changed, 135 insertions, 8150 deletions
diff --git a/arm64-96boards-Rock960-CE-board-support.patch b/arm64-96boards-Rock960-CE-board-support.patch
deleted file mode 100644
index 1d08debaa..000000000
--- a/arm64-96boards-Rock960-CE-board-support.patch
+++ /dev/null
@@ -1,1798 +0,0 @@
-From patchwork Mon Sep 10 15:13:53 2018
-Content-Type: text/plain; charset="utf-8"
-MIME-Version: 1.0
-Content-Transfer-Encoding: 7bit
-X-Patchwork-Submitter: Manivannan Sadhasivam
- <manivannan.sadhasivam@linaro.org>
-X-Patchwork-Id: 10594431
-Return-Path:
- <linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org>
-Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org
- [172.30.200.125])
- by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 73CD514BD
- for <patchwork-linux-arm@patchwork.kernel.org>;
- Mon, 10 Sep 2018 15:15:33 +0000 (UTC)
-Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1])
- by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 5D47C28C27
- for <patchwork-linux-arm@patchwork.kernel.org>;
- Mon, 10 Sep 2018 15:15:33 +0000 (UTC)
-Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486)
- id 5116628C53; Mon, 10 Sep 2018 15:15:33 +0000 (UTC)
-X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on
- pdx-wl-mail.web.codeaurora.org
-X-Spam-Level:
-X-Spam-Status: No, score=-2.9 required=2.0 tests=BAYES_00,DKIM_SIGNED,
- DKIM_VALID,MAILING_LIST_MULTI,RCVD_IN_DNSWL_NONE autolearn=ham version=3.3.1
-Received: from bombadil.infradead.org (bombadil.infradead.org
- [198.137.202.133])
- (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits))
- (No client certificate requested)
- by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id EDF1528C27
- for <patchwork-linux-arm@patchwork.kernel.org>;
- Mon, 10 Sep 2018 15:15:31 +0000 (UTC)
-DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed;
- d=lists.infradead.org; s=bombadil.20170209; h=Sender:
- Content-Transfer-Encoding:Content-Type:MIME-Version:Cc:List-Subscribe:
- List-Help:List-Post:List-Archive:List-Unsubscribe:List-Id:References:
- In-Reply-To:Message-Id:Date:Subject:To:From:Reply-To:Content-ID:
- Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc
- :Resent-Message-ID:List-Owner;
- bh=MsLZPB+rA3nDtNH8e90hVGAuKXNRnfg7yUTFRVYc6dI=; b=h4EvyRF3c6JHDN+V8CA1aCQ+Z1
- YJv25g2qREcfTe43jtJB8EdndYJJvCH7lwCqcySm4a7gc6OmLzMHyOkbJpY5btuCSASttz84P5UQR
- nQohc2vi6Gw0/0sRPpWedlb3lyVDOjQTqssy1EJ5AfGmF4zixU86HPfI/HSSMdvThPOtryoX5RLTb
- ibxf8tARxEuJj2etn2yjSOPGVh/cqqFoYQ8bYx79baCtrqIhbZyf0FThVXv5zFoZs8P4dkl+6bQxL
- g7qcM3JpsT5cNwPtXWHQu9wqV81v3HfC0KnEFn6LcoB3TE/ZwGpgPZjflJrCqpqAk7kWeWW+2dI4C
- FHizu/pA==;
-Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org)
- by bombadil.infradead.org with esmtp (Exim 4.90_1 #2 (Red Hat Linux))
- id 1fzNuN-00006z-Ln; Mon, 10 Sep 2018 15:15:23 +0000
-Received: from mail-pg1-x543.google.com ([2607:f8b0:4864:20::543])
- by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux))
- id 1fzNtW-0007s1-E0
- for linux-arm-kernel@lists.infradead.org; Mon, 10 Sep 2018 15:14:34 +0000
-Received: by mail-pg1-x543.google.com with SMTP id 7-v6so10649320pgf.2
- for <linux-arm-kernel@lists.infradead.org>;
- Mon, 10 Sep 2018 08:14:28 -0700 (PDT)
-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google;
- h=from:to:cc:subject:date:message-id:in-reply-to:references;
- bh=Eog9j9IcKFaAzJXy1OcDk20W/serCK49+v6e5E41fYs=;
- b=UumzTjrKvICkslj9/rY1Ypqo4g/VFWMM/z4LWlc0YmDX6R7J7mkz84ZdTL5XsoDcXH
- bIJYtcSPWxrKlCExdB+l76HrTiEIwBTSpa+43+zkBZmBL96zkDP+ttgtuhQHuHLySPkk
- e5/P5mAeV67NX82dCuBHtDGkNgnXHKwGYVJ4E=
-X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
- d=1e100.net; s=20161025;
- h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to
- :references;
- bh=Eog9j9IcKFaAzJXy1OcDk20W/serCK49+v6e5E41fYs=;
- b=Zs0nhcL8gTYkjWpXtvcZzWYogSg7OWkFayoR/xLbsQSFpBzZ2Bz3l3SHbpp2ik8r4q
- ttai7OC70sE0YX+07kWmUskhY6DZ9v9Y9C12Gorn7R2Vrb8d9bJ0iYC/WDBKpvqPXRJh
- qxhB8hZQSDN5n1o7575Zra770wEz+2ZpuYn0XqV0Eu1GsTHpg2DM81R/ee2QB0H+DSPc
- nzWzZ0d1nw4hFMVzaZX/NxGZG8y0n0xJ1cczcixZk0i5rA8laVOK0F6NSIM0hSlVmpbA
- w8ABebeQMFhjDJzyuhpitWNVSqXUd8lL66MmLCJN0ywvaKlkCTOA3+YzKC3i13DI5GDe
- l3Uw==
-X-Gm-Message-State: APzg51DkGQG9g2kFMP8auJcqLZzVe9v0wPZb5nX0QBtWinR+6ggMBUHP
- q7OTJ5nOg3//Y7mKlI8nThBh
-X-Google-Smtp-Source:
- ANB0VdazLqQZTiVhxGQkZGzXM/aTQSynf/Y1rCmuJyISmCcXxPMDwVVko2CYJbgXHjZ/o6nqP2KzHA==
-X-Received: by 2002:a62:63c2:: with SMTP id
- x185-v6mr24200641pfb.13.1536592467755;
- Mon, 10 Sep 2018 08:14:27 -0700 (PDT)
-Received: from localhost.localdomain
- ([2405:204:728c:6bba:60a8:6c40:2817:7ee1])
- by smtp.gmail.com with ESMTPSA id e202-v6sm26703907pfh.16.2018.09.10.08.14.19
- (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128);
- Mon, 10 Sep 2018 08:14:27 -0700 (PDT)
-From: Manivannan Sadhasivam <manivannan.sadhasivam@linaro.org>
-To: heiko@sntech.de,
- robh+dt@kernel.org
-Subject: [PATCH 1/4] arm64: dts: rockchip: Split out common nodes for Rock960
- based boards
-Date: Mon, 10 Sep 2018 20:43:53 +0530
-Message-Id: <20180910151356.25946-2-manivannan.sadhasivam@linaro.org>
-X-Mailer: git-send-email 2.17.1
-In-Reply-To: <20180910151356.25946-1-manivannan.sadhasivam@linaro.org>
-References: <20180910151356.25946-1-manivannan.sadhasivam@linaro.org>
-X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3
-X-CRM114-CacheID: sfid-20180910_081430_502727_1CA120A0
-X-CRM114-Status: GOOD ( 17.07 )
-X-BeenThere: linux-arm-kernel@lists.infradead.org
-X-Mailman-Version: 2.1.21
-Precedence: list
-List-Id: <linux-arm-kernel.lists.infradead.org>
-List-Unsubscribe:
- <http://lists.infradead.org/mailman/options/linux-arm-kernel>,
- <mailto:linux-arm-kernel-request@lists.infradead.org?subject=unsubscribe>
-List-Archive: <http://lists.infradead.org/pipermail/linux-arm-kernel/>
-List-Post: <mailto:linux-arm-kernel@lists.infradead.org>
-List-Help: <mailto:linux-arm-kernel-request@lists.infradead.org?subject=help>
-List-Subscribe:
- <http://lists.infradead.org/mailman/listinfo/linux-arm-kernel>,
- <mailto:linux-arm-kernel-request@lists.infradead.org?subject=subscribe>
-Cc: linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org,
- tom@vamrs.com, amit.kucheria@linaro.org, shawn.lin@rock-chips.com,
- linux-kernel@vger.kernel.org, vicencb@gmail.com, dev@vamrs.com,
- linux-rockchip@lists.infradead.org, pbrobinson@gmail.com,
- Manivannan Sadhasivam <manivannan.sadhasivam@linaro.org>,
- enric.balletbo@collabora.com, ezequiel@collabora.com, stephen@vamrs.com
-MIME-Version: 1.0
-Content-Type: text/plain; charset="us-ascii"
-Sender: "linux-arm-kernel" <linux-arm-kernel-bounces@lists.infradead.org>
-Errors-To:
- linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org
-X-Virus-Scanned: ClamAV using ClamSMTP
-
-Since the same family members of Rock960 boards (Rock960 and Ficus)
-share the same configuration, split out the common nodes into a common
-dtsi file for reducing code duplication. The board specific nodes for
-Ficus boards are then placed in corresponding board DTS file.
-
-Signed-off-by: Manivannan Sadhasivam <manivannan.sadhasivam@linaro.org>
----
- arch/arm64/boot/dts/rockchip/rk3399-ficus.dts | 429 +----------------
- .../boot/dts/rockchip/rk3399-rock960.dtsi | 439 ++++++++++++++++++
- 2 files changed, 440 insertions(+), 428 deletions(-)
- create mode 100644 arch/arm64/boot/dts/rockchip/rk3399-rock960.dtsi
-
-diff --git a/arch/arm64/boot/dts/rockchip/rk3399-ficus.dts b/arch/arm64/boot/dts/rockchip/rk3399-ficus.dts
-index 8978d924eb83..7f6ec37d5a69 100644
---- a/arch/arm64/boot/dts/rockchip/rk3399-ficus.dts
-+++ b/arch/arm64/boot/dts/rockchip/rk3399-ficus.dts
-@@ -7,8 +7,7 @@
- */
-
- /dts-v1/;
--#include "rk3399.dtsi"
--#include "rk3399-opp.dtsi"
-+#include "rk3399-rock960.dtsi"
-
- / {
- model = "96boards RK3399 Ficus";
-@@ -25,31 +24,6 @@
- #clock-cells = <0>;
- };
-
-- vcc1v8_s0: vcc1v8-s0 {
-- compatible = "regulator-fixed";
-- regulator-name = "vcc1v8_s0";
-- regulator-min-microvolt = <1800000>;
-- regulator-max-microvolt = <1800000>;
-- regulator-always-on;
-- };
--
-- vcc_sys: vcc-sys {
-- compatible = "regulator-fixed";
-- regulator-name = "vcc_sys";
-- regulator-min-microvolt = <5000000>;
-- regulator-max-microvolt = <5000000>;
-- regulator-always-on;
-- };
--
-- vcc3v3_sys: vcc3v3-sys {
-- compatible = "regulator-fixed";
-- regulator-name = "vcc3v3_sys";
-- regulator-min-microvolt = <3300000>;
-- regulator-max-microvolt = <3300000>;
-- regulator-always-on;
-- vin-supply = <&vcc_sys>;
-- };
--
- vcc3v3_pcie: vcc3v3-pcie-regulator {
- compatible = "regulator-fixed";
- enable-active-high;
-@@ -75,46 +49,6 @@
- regulator-always-on;
- vin-supply = <&vcc_sys>;
- };
--
-- vdd_log: vdd-log {
-- compatible = "pwm-regulator";
-- pwms = <&pwm2 0 25000 0>;
-- regulator-name = "vdd_log";
-- regulator-min-microvolt = <800000>;
-- regulator-max-microvolt = <1400000>;
-- regulator-always-on;
-- regulator-boot-on;
-- vin-supply = <&vcc_sys>;
-- };
--
--};
--
--&cpu_l0 {
-- cpu-supply = <&vdd_cpu_l>;
--};
--
--&cpu_l1 {
-- cpu-supply = <&vdd_cpu_l>;
--};
--
--&cpu_l2 {
-- cpu-supply = <&vdd_cpu_l>;
--};
--
--&cpu_l3 {
-- cpu-supply = <&vdd_cpu_l>;
--};
--
--&cpu_b0 {
-- cpu-supply = <&vdd_cpu_b>;
--};
--
--&cpu_b1 {
-- cpu-supply = <&vdd_cpu_b>;
--};
--
--&emmc_phy {
-- status = "okay";
- };
-
- &gmac {
-@@ -133,263 +67,6 @@
- status = "okay";
- };
-
--&hdmi {
-- ddc-i2c-bus = <&i2c3>;
-- pinctrl-names = "default";
-- pinctrl-0 = <&hdmi_cec>;
-- status = "okay";
--};
--
--&i2c0 {
-- clock-frequency = <400000>;
-- i2c-scl-rising-time-ns = <168>;
-- i2c-scl-falling-time-ns = <4>;
-- status = "okay";
--
-- vdd_cpu_b: regulator@40 {
-- compatible = "silergy,syr827";
-- reg = <0x40>;
-- fcs,suspend-voltage-selector = <1>;
-- regulator-name = "vdd_cpu_b";
-- regulator-min-microvolt = <712500>;
-- regulator-max-microvolt = <1500000>;
-- regulator-ramp-delay = <1000>;
-- regulator-always-on;
-- regulator-boot-on;
-- vin-supply = <&vcc_sys>;
-- status = "okay";
--
-- regulator-state-mem {
-- regulator-off-in-suspend;
-- };
-- };
--
-- vdd_gpu: regulator@41 {
-- compatible = "silergy,syr828";
-- reg = <0x41>;
-- fcs,suspend-voltage-selector = <1>;
-- regulator-name = "vdd_gpu";
-- regulator-min-microvolt = <712500>;
-- regulator-max-microvolt = <1500000>;
-- regulator-ramp-delay = <1000>;
-- regulator-always-on;
-- regulator-boot-on;
-- vin-supply = <&vcc_sys>;
-- regulator-state-mem {
-- regulator-off-in-suspend;
-- };
-- };
--
-- rk808: pmic@1b {
-- compatible = "rockchip,rk808";
-- reg = <0x1b>;
-- interrupt-parent = <&gpio1>;
-- interrupts = <21 IRQ_TYPE_LEVEL_LOW>;
-- pinctrl-names = "default";
-- pinctrl-0 = <&pmic_int_l>;
-- rockchip,system-power-controller;
-- wakeup-source;
-- #clock-cells = <1>;
-- clock-output-names = "xin32k", "rk808-clkout2";
--
-- vcc1-supply = <&vcc_sys>;
-- vcc2-supply = <&vcc_sys>;
-- vcc3-supply = <&vcc_sys>;
-- vcc4-supply = <&vcc_sys>;
-- vcc6-supply = <&vcc_sys>;
-- vcc7-supply = <&vcc_sys>;
-- vcc8-supply = <&vcc3v3_sys>;
-- vcc9-supply = <&vcc_sys>;
-- vcc10-supply = <&vcc_sys>;
-- vcc11-supply = <&vcc_sys>;
-- vcc12-supply = <&vcc3v3_sys>;
-- vddio-supply = <&vcc_1v8>;
--
-- regulators {
-- vdd_center: DCDC_REG1 {
-- regulator-name = "vdd_center";
-- regulator-min-microvolt = <750000>;
-- regulator-max-microvolt = <1350000>;
-- regulator-always-on;
-- regulator-boot-on;
-- regulator-state-mem {
-- regulator-off-in-suspend;
-- };
-- };
--
-- vdd_cpu_l: DCDC_REG2 {
-- regulator-name = "vdd_cpu_l";
-- regulator-min-microvolt = <750000>;
-- regulator-max-microvolt = <1350000>;
-- regulator-always-on;
-- regulator-boot-on;
-- regulator-state-mem {
-- regulator-off-in-suspend;
-- };
-- };
--
-- vcc_ddr: DCDC_REG3 {
-- regulator-name = "vcc_ddr";
-- regulator-always-on;
-- regulator-boot-on;
-- regulator-state-mem {
-- regulator-on-in-suspend;
-- };
-- };
--
-- vcc_1v8: DCDC_REG4 {
-- regulator-name = "vcc_1v8";
-- regulator-min-microvolt = <1800000>;
-- regulator-max-microvolt = <1800000>;
-- regulator-always-on;
-- regulator-boot-on;
-- regulator-state-mem {
-- regulator-on-in-suspend;
-- regulator-suspend-microvolt = <1800000>;
-- };
-- };
--
-- vcc1v8_dvp: LDO_REG1 {
-- regulator-name = "vcc1v8_dvp";
-- regulator-min-microvolt = <1800000>;
-- regulator-max-microvolt = <1800000>;
-- regulator-always-on;
-- regulator-boot-on;
-- regulator-state-mem {
-- regulator-on-in-suspend;
-- regulator-suspend-microvolt = <1800000>;
-- };
-- };
--
-- vcca1v8_hdmi: LDO_REG2 {
-- regulator-name = "vcca1v8_hdmi";
-- regulator-min-microvolt = <1800000>;
-- regulator-max-microvolt = <1800000>;
-- regulator-always-on;
-- regulator-boot-on;
-- regulator-state-mem {
-- regulator-on-in-suspend;
-- regulator-suspend-microvolt = <1800000>;
-- };
-- };
--
-- vcca_1v8: LDO_REG3 {
-- regulator-name = "vcca_1v8";
-- regulator-min-microvolt = <1800000>;
-- regulator-max-microvolt = <1800000>;
-- regulator-always-on;
-- regulator-boot-on;
-- regulator-state-mem {
-- regulator-on-in-suspend;
-- regulator-suspend-microvolt = <1800000>;
-- };
-- };
--
-- vcc_sd: LDO_REG4 {
-- regulator-name = "vcc_sd";
-- regulator-min-microvolt = <1800000>;
-- regulator-max-microvolt = <3300000>;
-- regulator-always-on;
-- regulator-boot-on;
-- regulator-state-mem {
-- regulator-on-in-suspend;
-- regulator-suspend-microvolt = <3300000>;
-- };
-- };
--
-- vcc3v0_sd: LDO_REG5 {
-- regulator-name = "vcc3v0_sd";
-- regulator-min-microvolt = <3000000>;
-- regulator-max-microvolt = <3000000>;
-- regulator-always-on;
-- regulator-boot-on;
-- regulator-state-mem {
-- regulator-on-in-suspend;
-- regulator-suspend-microvolt = <3000000>;
-- };
-- };
--
-- vcc_1v5: LDO_REG6 {
-- regulator-name = "vcc_1v5";
-- regulator-min-microvolt = <1500000>;
-- regulator-max-microvolt = <1500000>;
-- regulator-always-on;
-- regulator-boot-on;
-- regulator-state-mem {
-- regulator-on-in-suspend;
-- regulator-suspend-microvolt = <1500000>;
-- };
-- };
--
-- vcca0v9_hdmi: LDO_REG7 {
-- regulator-name = "vcca0v9_hdmi";
-- regulator-min-microvolt = <900000>;
-- regulator-max-microvolt = <900000>;
-- regulator-always-on;
-- regulator-boot-on;
-- regulator-state-mem {
-- regulator-on-in-suspend;
-- regulator-suspend-microvolt = <900000>;
-- };
-- };
--
-- vcc_3v0: LDO_REG8 {
-- regulator-name = "vcc_3v0";
-- regulator-min-microvolt = <3000000>;
-- regulator-max-microvolt = <3000000>;
-- regulator-always-on;
-- regulator-boot-on;
-- regulator-state-mem {
-- regulator-on-in-suspend;
-- regulator-suspend-microvolt = <3000000>;
-- };
-- };
--
-- vcc3v3_s3: SWITCH_REG1 {
-- regulator-name = "vcc3v3_s3";
-- regulator-always-on;
-- regulator-boot-on;
-- regulator-state-mem {
-- regulator-on-in-suspend;
-- };
-- };
--
-- vcc3v3_s0: SWITCH_REG2 {
-- regulator-name = "vcc3v3_s0";
-- regulator-always-on;
-- regulator-boot-on;
-- regulator-state-mem {
-- regulator-on-in-suspend;
-- };
-- };
-- };
-- };
--};
--
--&i2c1 {
-- status = "okay";
--};
--
--&i2c2 {
-- status = "okay";
--};
--
--&i2c3 {
-- status = "okay";
--};
--
--&i2c4 {
-- status = "okay";
--};
--
--&io_domains {
-- bt656-supply = <&vcc1v8_s0>; /* bt656_gpio2ab_ms */
-- audio-supply = <&vcc1v8_s0>; /* audio_gpio3d4a_ms */
-- sdmmc-supply = <&vcc_sd>; /* sdmmc_gpio4b_ms */
-- gpio1830-supply = <&vcc_3v0>; /* gpio1833_gpio4cd_ms */
-- status = "okay";
--};
--
- &pcie_phy {
- status = "okay";
- };
-@@ -403,11 +80,6 @@
- status = "okay";
- };
-
--&pmu_io_domains {
-- pmu1830-supply = <&vcc_1v8>;
-- status = "okay";
--};
--
- &pinctrl {
- gmac {
- rgmii_sleep_pins: rgmii-sleep-pins {
-@@ -416,31 +88,6 @@
- };
- };
-
-- sdmmc {
-- sdmmc_bus1: sdmmc-bus1 {
-- rockchip,pins =
-- <4 8 RK_FUNC_1 &pcfg_pull_up_8ma>;
-- };
--
-- sdmmc_bus4: sdmmc-bus4 {
-- rockchip,pins =
-- <4 8 RK_FUNC_1 &pcfg_pull_up_8ma>,
-- <4 9 RK_FUNC_1 &pcfg_pull_up_8ma>,
-- <4 10 RK_FUNC_1 &pcfg_pull_up_8ma>,
-- <4 11 RK_FUNC_1 &pcfg_pull_up_8ma>;
-- };
--
-- sdmmc_clk: sdmmc-clk {
-- rockchip,pins =
-- <4 12 RK_FUNC_1 &pcfg_pull_none_18ma>;
-- };
--
-- sdmmc_cmd: sdmmc-cmd {
-- rockchip,pins =
-- <4 13 RK_FUNC_1 &pcfg_pull_up_8ma>;
-- };
-- };
--
- pcie {
- pcie_drv: pcie-drv {
- rockchip,pins =
-@@ -448,23 +95,6 @@
- };
- };
-
-- pmic {
-- pmic_int_l: pmic-int-l {
-- rockchip,pins =
-- <1 21 RK_FUNC_GPIO &pcfg_pull_up>;
-- };
--
-- vsel1_gpio: vsel1-gpio {
-- rockchip,pins =
-- <1 17 RK_FUNC_GPIO &pcfg_pull_down>;
-- };
--
-- vsel2_gpio: vsel2-gpio {
-- rockchip,pins =
-- <1 14 RK_FUNC_GPIO &pcfg_pull_down>;
-- };
-- };
--
- usb2 {
- host_vbus_drv: host-vbus-drv {
- rockchip,pins =
-@@ -473,37 +103,6 @@
- };
- };
-
--&pwm2 {
-- status = "okay";
--};
--
--&pwm3 {
-- status = "okay";
--};
--
--&sdhci {
-- bus-width = <8>;
-- mmc-hs400-1_8v;
-- mmc-hs400-enhanced-strobe;
-- non-removable;
-- status = "okay";
--};
--
--&sdmmc {
-- bus-width = <4>;
-- cap-mmc-highspeed;
-- cap-sd-highspeed;
-- clock-frequency = <100000000>;
-- clock-freq-min-max = <100000 100000000>;
-- disable-wp;
-- sd-uhs-sdr104;
-- vqmmc-supply = <&vcc_sd>;
-- card-detect-delay = <800>;
-- pinctrl-names = "default";
-- pinctrl-0 = <&sdmmc_clk &sdmmc_cmd &sdmmc_cd &sdmmc_bus4>;
-- status = "okay";
--};
--
- &tcphy0 {
- status = "okay";
- };
-@@ -538,16 +137,6 @@
- status = "okay";
- };
-
--&uart0 {
-- pinctrl-names = "default";
-- pinctrl-0 = <&uart0_xfer &uart0_cts>;
-- status = "okay";
--};
--
--&uart2 {
-- status = "okay";
--};
--
- &usb_host0_ehci {
- status = "okay";
- };
-@@ -581,19 +170,3 @@
- status = "okay";
- dr_mode = "host";
- };
--
--&vopb {
-- status = "okay";
--};
--
--&vopb_mmu {
-- status = "okay";
--};
--
--&vopl {
-- status = "okay";
--};
--
--&vopl_mmu {
-- status = "okay";
--};
-diff --git a/arch/arm64/boot/dts/rockchip/rk3399-rock960.dtsi b/arch/arm64/boot/dts/rockchip/rk3399-rock960.dtsi
-new file mode 100644
-index 000000000000..5a5d8e28ef55
---- /dev/null
-+++ b/arch/arm64/boot/dts/rockchip/rk3399-rock960.dtsi
-@@ -0,0 +1,439 @@
-+// SPDX-License-Identifier: (GPL-2.0+ OR MIT)
-+/*
-+ * Copyright (c) 2018 Collabora Ltd.
-+ * Copyright (c) 2018 Fuzhou Rockchip Electronics Co., Ltd.
-+ * Copyright (c) 2018 Linaro Ltd.
-+ */
-+
-+#include "rk3399.dtsi"
-+#include "rk3399-opp.dtsi"
-+
-+/ {
-+ vcc1v8_s0: vcc1v8-s0 {
-+ compatible = "regulator-fixed";
-+ regulator-name = "vcc1v8_s0";
-+ regulator-min-microvolt = <1800000>;
-+ regulator-max-microvolt = <1800000>;
-+ regulator-always-on;
-+ };
-+
-+ vcc_sys: vcc-sys {
-+ compatible = "regulator-fixed";
-+ regulator-name = "vcc_sys";
-+ regulator-min-microvolt = <5000000>;
-+ regulator-max-microvolt = <5000000>;
-+ regulator-always-on;
-+ };
-+
-+ vcc3v3_sys: vcc3v3-sys {
-+ compatible = "regulator-fixed";
-+ regulator-name = "vcc3v3_sys";
-+ regulator-min-microvolt = <3300000>;
-+ regulator-max-microvolt = <3300000>;
-+ regulator-always-on;
-+ vin-supply = <&vcc_sys>;
-+ };
-+
-+ vdd_log: vdd-log {
-+ compatible = "pwm-regulator";
-+ pwms = <&pwm2 0 25000 0>;
-+ regulator-name = "vdd_log";
-+ regulator-min-microvolt = <800000>;
-+ regulator-max-microvolt = <1400000>;
-+ regulator-always-on;
-+ regulator-boot-on;
-+ vin-supply = <&vcc_sys>;
-+ };
-+
-+};
-+
-+&cpu_l0 {
-+ cpu-supply = <&vdd_cpu_l>;
-+};
-+
-+&cpu_l1 {
-+ cpu-supply = <&vdd_cpu_l>;
-+};
-+
-+&cpu_l2 {
-+ cpu-supply = <&vdd_cpu_l>;
-+};
-+
-+&cpu_l3 {
-+ cpu-supply = <&vdd_cpu_l>;
-+};
-+
-+&cpu_b0 {
-+ cpu-supply = <&vdd_cpu_b>;
-+};
-+
-+&cpu_b1 {
-+ cpu-supply = <&vdd_cpu_b>;
-+};
-+
-+&emmc_phy {
-+ status = "okay";
-+};
-+
-+&hdmi {
-+ ddc-i2c-bus = <&i2c3>;
-+ pinctrl-names = "default";
-+ pinctrl-0 = <&hdmi_cec>;
-+ status = "okay";
-+};
-+
-+&i2c0 {
-+ clock-frequency = <400000>;
-+ i2c-scl-rising-time-ns = <168>;
-+ i2c-scl-falling-time-ns = <4>;
-+ status = "okay";
-+
-+ vdd_cpu_b: regulator@40 {
-+ compatible = "silergy,syr827";
-+ reg = <0x40>;
-+ fcs,suspend-voltage-selector = <1>;
-+ regulator-name = "vdd_cpu_b";
-+ regulator-min-microvolt = <712500>;
-+ regulator-max-microvolt = <1500000>;
-+ regulator-ramp-delay = <1000>;
-+ regulator-always-on;
-+ regulator-boot-on;
-+ vin-supply = <&vcc_sys>;
-+ status = "okay";
-+
-+ regulator-state-mem {
-+ regulator-off-in-suspend;
-+ };
-+ };
-+
-+ vdd_gpu: regulator@41 {
-+ compatible = "silergy,syr828";
-+ reg = <0x41>;
-+ fcs,suspend-voltage-selector = <1>;
-+ regulator-name = "vdd_gpu";
-+ regulator-min-microvolt = <712500>;
-+ regulator-max-microvolt = <1500000>;
-+ regulator-ramp-delay = <1000>;
-+ regulator-always-on;
-+ regulator-boot-on;
-+ vin-supply = <&vcc_sys>;
-+ regulator-state-mem {
-+ regulator-off-in-suspend;
-+ };
-+ };
-+
-+ rk808: pmic@1b {
-+ compatible = "rockchip,rk808";
-+ reg = <0x1b>;
-+ interrupt-parent = <&gpio1>;
-+ interrupts = <21 IRQ_TYPE_LEVEL_LOW>;
-+ pinctrl-names = "default";
-+ pinctrl-0 = <&pmic_int_l>;
-+ rockchip,system-power-controller;
-+ wakeup-source;
-+ #clock-cells = <1>;
-+ clock-output-names = "xin32k", "rk808-clkout2";
-+
-+ vcc1-supply = <&vcc_sys>;
-+ vcc2-supply = <&vcc_sys>;
-+ vcc3-supply = <&vcc_sys>;
-+ vcc4-supply = <&vcc_sys>;
-+ vcc6-supply = <&vcc_sys>;
-+ vcc7-supply = <&vcc_sys>;
-+ vcc8-supply = <&vcc3v3_sys>;
-+ vcc9-supply = <&vcc_sys>;
-+ vcc10-supply = <&vcc_sys>;
-+ vcc11-supply = <&vcc_sys>;
-+ vcc12-supply = <&vcc3v3_sys>;
-+ vddio-supply = <&vcc_1v8>;
-+
-+ regulators {
-+ vdd_center: DCDC_REG1 {
-+ regulator-name = "vdd_center";
-+ regulator-min-microvolt = <750000>;
-+ regulator-max-microvolt = <1350000>;
-+ regulator-always-on;
-+ regulator-boot-on;
-+ regulator-state-mem {
-+ regulator-off-in-suspend;
-+ };
-+ };
-+
-+ vdd_cpu_l: DCDC_REG2 {
-+ regulator-name = "vdd_cpu_l";
-+ regulator-min-microvolt = <750000>;
-+ regulator-max-microvolt = <1350000>;
-+ regulator-always-on;
-+ regulator-boot-on;
-+ regulator-state-mem {
-+ regulator-off-in-suspend;
-+ };
-+ };
-+
-+ vcc_ddr: DCDC_REG3 {
-+ regulator-name = "vcc_ddr";
-+ regulator-always-on;
-+ regulator-boot-on;
-+ regulator-state-mem {
-+ regulator-on-in-suspend;
-+ };
-+ };
-+
-+ vcc_1v8: DCDC_REG4 {
-+ regulator-name = "vcc_1v8";
-+ regulator-min-microvolt = <1800000>;
-+ regulator-max-microvolt = <1800000>;
-+ regulator-always-on;
-+ regulator-boot-on;
-+ regulator-state-mem {
-+ regulator-on-in-suspend;
-+ regulator-suspend-microvolt = <1800000>;
-+ };
-+ };
-+
-+ vcc1v8_dvp: LDO_REG1 {
-+ regulator-name = "vcc1v8_dvp";
-+ regulator-min-microvolt = <1800000>;
-+ regulator-max-microvolt = <1800000>;
-+ regulator-always-on;
-+ regulator-boot-on;
-+ regulator-state-mem {
-+ regulator-on-in-suspend;
-+ regulator-suspend-microvolt = <1800000>;
-+ };
-+ };
-+
-+ vcca1v8_hdmi: LDO_REG2 {
-+ regulator-name = "vcca1v8_hdmi";
-+ regulator-min-microvolt = <1800000>;
-+ regulator-max-microvolt = <1800000>;
-+ regulator-always-on;
-+ regulator-boot-on;
-+ regulator-state-mem {
-+ regulator-on-in-suspend;
-+ regulator-suspend-microvolt = <1800000>;
-+ };
-+ };
-+
-+ vcca_1v8: LDO_REG3 {
-+ regulator-name = "vcca_1v8";
-+ regulator-min-microvolt = <1800000>;
-+ regulator-max-microvolt = <1800000>;
-+ regulator-always-on;
-+ regulator-boot-on;
-+ regulator-state-mem {
-+ regulator-on-in-suspend;
-+ regulator-suspend-microvolt = <1800000>;
-+ };
-+ };
-+
-+ vcc_sd: LDO_REG4 {
-+ regulator-name = "vcc_sd";
-+ regulator-min-microvolt = <1800000>;
-+ regulator-max-microvolt = <3300000>;
-+ regulator-always-on;
-+ regulator-boot-on;
-+ regulator-state-mem {
-+ regulator-on-in-suspend;
-+ regulator-suspend-microvolt = <3300000>;
-+ };
-+ };
-+
-+ vcc3v0_sd: LDO_REG5 {
-+ regulator-name = "vcc3v0_sd";
-+ regulator-min-microvolt = <3000000>;
-+ regulator-max-microvolt = <3000000>;
-+ regulator-always-on;
-+ regulator-boot-on;
-+ regulator-state-mem {
-+ regulator-on-in-suspend;
-+ regulator-suspend-microvolt = <3000000>;
-+ };
-+ };
-+
-+ vcc_1v5: LDO_REG6 {
-+ regulator-name = "vcc_1v5";
-+ regulator-min-microvolt = <1500000>;
-+ regulator-max-microvolt = <1500000>;
-+ regulator-always-on;
-+ regulator-boot-on;
-+ regulator-state-mem {
-+ regulator-on-in-suspend;
-+ regulator-suspend-microvolt = <1500000>;
-+ };
-+ };
-+
-+ vcca0v9_hdmi: LDO_REG7 {
-+ regulator-name = "vcca0v9_hdmi";
-+ regulator-min-microvolt = <900000>;
-+ regulator-max-microvolt = <900000>;
-+ regulator-always-on;
-+ regulator-boot-on;
-+ regulator-state-mem {
-+ regulator-on-in-suspend;
-+ regulator-suspend-microvolt = <900000>;
-+ };
-+ };
-+
-+ vcc_3v0: LDO_REG8 {
-+ regulator-name = "vcc_3v0";
-+ regulator-min-microvolt = <3000000>;
-+ regulator-max-microvolt = <3000000>;
-+ regulator-always-on;
-+ regulator-boot-on;
-+ regulator-state-mem {
-+ regulator-on-in-suspend;
-+ regulator-suspend-microvolt = <3000000>;
-+ };
-+ };
-+
-+ vcc3v3_s3: SWITCH_REG1 {
-+ regulator-name = "vcc3v3_s3";
-+ regulator-always-on;
-+ regulator-boot-on;
-+ regulator-state-mem {
-+ regulator-on-in-suspend;
-+ };
-+ };
-+
-+ vcc3v3_s0: SWITCH_REG2 {
-+ regulator-name = "vcc3v3_s0";
-+ regulator-always-on;
-+ regulator-boot-on;
-+ regulator-state-mem {
-+ regulator-on-in-suspend;
-+ };
-+ };
-+ };
-+ };
-+};
-+
-+&i2c1 {
-+ status = "okay";
-+};
-+
-+&i2c2 {
-+ status = "okay";
-+};
-+
-+&i2c3 {
-+ status = "okay";
-+};
-+
-+&i2c4 {
-+ status = "okay";
-+};
-+
-+&io_domains {
-+ bt656-supply = <&vcc1v8_s0>; /* bt656_gpio2ab_ms */
-+ audio-supply = <&vcc1v8_s0>; /* audio_gpio3d4a_ms */
-+ sdmmc-supply = <&vcc_sd>; /* sdmmc_gpio4b_ms */
-+ gpio1830-supply = <&vcc_3v0>; /* gpio1833_gpio4cd_ms */
-+ status = "okay";
-+};
-+
-+&pmu_io_domains {
-+ pmu1830-supply = <&vcc_1v8>;
-+ status = "okay";
-+};
-+
-+&pinctrl {
-+ sdmmc {
-+ sdmmc_bus1: sdmmc-bus1 {
-+ rockchip,pins =
-+ <4 8 RK_FUNC_1 &pcfg_pull_up_8ma>;
-+ };
-+
-+ sdmmc_bus4: sdmmc-bus4 {
-+ rockchip,pins =
-+ <4 8 RK_FUNC_1 &pcfg_pull_up_8ma>,
-+ <4 9 RK_FUNC_1 &pcfg_pull_up_8ma>,
-+ <4 10 RK_FUNC_1 &pcfg_pull_up_8ma>,
-+ <4 11 RK_FUNC_1 &pcfg_pull_up_8ma>;
-+ };
-+
-+ sdmmc_clk: sdmmc-clk {
-+ rockchip,pins =
-+ <4 12 RK_FUNC_1 &pcfg_pull_none_18ma>;
-+ };
-+
-+ sdmmc_cmd: sdmmc-cmd {
-+ rockchip,pins =
-+ <4 13 RK_FUNC_1 &pcfg_pull_up_8ma>;
-+ };
-+ };
-+
-+ pmic {
-+ pmic_int_l: pmic-int-l {
-+ rockchip,pins =
-+ <1 21 RK_FUNC_GPIO &pcfg_pull_up>;
-+ };
-+
-+ vsel1_gpio: vsel1-gpio {
-+ rockchip,pins =
-+ <1 17 RK_FUNC_GPIO &pcfg_pull_down>;
-+ };
-+
-+ vsel2_gpio: vsel2-gpio {
-+ rockchip,pins =
-+ <1 14 RK_FUNC_GPIO &pcfg_pull_down>;
-+ };
-+ };
-+};
-+
-+&pwm2 {
-+ status = "okay";
-+};
-+
-+&pwm3 {
-+ status = "okay";
-+};
-+
-+&sdhci {
-+ bus-width = <8>;
-+ mmc-hs400-1_8v;
-+ mmc-hs400-enhanced-strobe;
-+ non-removable;
-+ status = "okay";
-+};
-+
-+&sdmmc {
-+ bus-width = <4>;
-+ cap-mmc-highspeed;
-+ cap-sd-highspeed;
-+ clock-frequency = <100000000>;
-+ clock-freq-min-max = <100000 100000000>;
-+ disable-wp;
-+ sd-uhs-sdr104;
-+ vqmmc-supply = <&vcc_sd>;
-+ card-detect-delay = <800>;
-+ pinctrl-names = "default";
-+ pinctrl-0 = <&sdmmc_clk &sdmmc_cmd &sdmmc_cd &sdmmc_bus4>;
-+ status = "okay";
-+};
-+
-+&uart0 {
-+ pinctrl-names = "default";
-+ pinctrl-0 = <&uart0_xfer &uart0_cts>;
-+ status = "okay";
-+};
-+
-+&uart2 {
-+ status = "okay";
-+};
-+
-+&vopb {
-+ status = "okay";
-+};
-+
-+&vopb_mmu {
-+ status = "okay";
-+};
-+
-+&vopl {
-+ status = "okay";
-+};
-+
-+&vopl_mmu {
-+ status = "okay";
-+};
-
-From patchwork Mon Sep 10 15:13:54 2018
-Content-Type: text/plain; charset="utf-8"
-MIME-Version: 1.0
-Content-Transfer-Encoding: 7bit
-X-Patchwork-Submitter: Manivannan Sadhasivam
- <manivannan.sadhasivam@linaro.org>
-X-Patchwork-Id: 10594435
-Return-Path:
- <linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org>
-Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org
- [172.30.200.125])
- by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 2BF1F921
- for <patchwork-linux-arm@patchwork.kernel.org>;
- Mon, 10 Sep 2018 15:16:42 +0000 (UTC)
-Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1])
- by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 18E7328C53
- for <patchwork-linux-arm@patchwork.kernel.org>;
- Mon, 10 Sep 2018 15:16:42 +0000 (UTC)
-Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486)
- id 0BCAE28EEA; Mon, 10 Sep 2018 15:16:42 +0000 (UTC)
-X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on
- pdx-wl-mail.web.codeaurora.org
-X-Spam-Level:
-X-Spam-Status: No, score=-2.9 required=2.0 tests=BAYES_00,DKIM_SIGNED,
- DKIM_VALID,MAILING_LIST_MULTI,RCVD_IN_DNSWL_NONE autolearn=ham version=3.3.1
-Received: from bombadil.infradead.org (bombadil.infradead.org
- [198.137.202.133])
- (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits))
- (No client certificate requested)
- by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 8BD0528C53
- for <patchwork-linux-arm@patchwork.kernel.org>;
- Mon, 10 Sep 2018 15:16:41 +0000 (UTC)
-DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed;
- d=lists.infradead.org; s=bombadil.20170209; h=Sender:
- Content-Transfer-Encoding:Content-Type:MIME-Version:Cc:List-Subscribe:
- List-Help:List-Post:List-Archive:List-Unsubscribe:List-Id:References:
- In-Reply-To:Message-Id:Date:Subject:To:From:Reply-To:Content-ID:
- Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc
- :Resent-Message-ID:List-Owner;
- bh=xmUkL5mhfsjBunlvmyohQp6j9uGJXfnKJf9vQglqLgg=; b=mVmqN9cD59M0SIET1b/PL7/vE9
- pvFJkHJLmhp8Nf/jBRW1g+V1d+G5W7/6V3bHNBbhYfjjOoRhXr+XDaTWhJEHlYR2hUm3TxwBv5JEz
- d1tE6BgOCfrCex3T4D+BwL9hyn1HbEnuM6Mgrx25O4Y/ggGLoZkIyYdLI12AVSd6Hk5cb5wFfS+rv
- hx+PI1hQF9brC3kTjV43q2/j+K0ZGZuLmtUQr/Hd2RKRoDfqLjy38KFVEUQfln/YS8dxQ2h9GJc7B
- 36IaewzvWd8m2CicWSAhbTDb9pAK9i4bVRPwvF/JvZNPQ055lEu2vTsmVrDSbN9LyCxOwqK4x3Zc8
- ke7bGLYA==;
-Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org)
- by bombadil.infradead.org with esmtp (Exim 4.90_1 #2 (Red Hat Linux))
- id 1fzNvS-0001Wo-Dn; Mon, 10 Sep 2018 15:16:30 +0000
-Received: from mail-pf1-x442.google.com ([2607:f8b0:4864:20::442])
- by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux))
- id 1fzNtm-0007u1-LE
- for linux-arm-kernel@lists.infradead.org; Mon, 10 Sep 2018 15:14:48 +0000
-Received: by mail-pf1-x442.google.com with SMTP id h69-v6so10643325pfd.4
- for <linux-arm-kernel@lists.infradead.org>;
- Mon, 10 Sep 2018 08:14:36 -0700 (PDT)
-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google;
- h=from:to:cc:subject:date:message-id:in-reply-to:references;
- bh=k14lBxRZet8JTP0sZsFzzMdrUIiDAx3PCahAr8M1lTM=;
- b=DbONVz7SNceTZXBZJ8Gl0rnlFDJW0nx0gDqbWxJjPAh0FU6WbQn5fnmnQX/SPblLQM
- R5dn8fXgoyp9F+BayRLiTZj1xjjwsa9c+cNblxab/snkslnvqb4DubBY+neFF4oPV9m+
- JZTvXyEfdmfD6P5xOPV4BcrIX1U5FSXgs2mBc=
-X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
- d=1e100.net; s=20161025;
- h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to
- :references;
- bh=k14lBxRZet8JTP0sZsFzzMdrUIiDAx3PCahAr8M1lTM=;
- b=s6q6nHAuMNRkVtpoFs76F3HMPL1m5eDLsaQ9pNi0FO4EtdT7IxWEN43Q/OXD9Ec6TA
- JLM/dXlx5I8Lc39SmhZxcP0BfMxOGnYRcEtU3zVgeY4bVHZydei8Nsk+W6Kp55r8+wAS
- QrArSMKy/SOcuZKPBdK7U7hkoT/gSX3/nsXVMTzFmwhvqjrn7nBULpCOQqrHKdleFz2H
- clVhr8XxqlgaZFHos2etV/H3MDabY6IMTdwWOv4CP7N77+eJu8TPOfzbsYv/CnwC78RR
- TIKMG7nK2XR0zJtxMkANNFduuNysv376xmaBLB83tJuKDY3bLvojBX+58mM3ebT4pPyD
- 7sfQ==
-X-Gm-Message-State: APzg51ANQPVOFbZPLMacirZdgZ298uzOkAJhfBNgbgq6OK+DDHULL1Uh
- 8q0GLuzZeY2eYX+Xn29czper
-X-Google-Smtp-Source:
- ANB0VdY+YL+272sxvYeYxwuGJDW6P6/Y/3lJAb3pIhIsB8QKeqbJX/Nis0AJl0X6UUBDBYgnww6LFA==
-X-Received: by 2002:a65:5284:: with SMTP id
- y4-v6mr23235056pgp.283.1536592475955;
- Mon, 10 Sep 2018 08:14:35 -0700 (PDT)
-Received: from localhost.localdomain
- ([2405:204:728c:6bba:60a8:6c40:2817:7ee1])
- by smtp.gmail.com with ESMTPSA id e202-v6sm26703907pfh.16.2018.09.10.08.14.28
- (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128);
- Mon, 10 Sep 2018 08:14:35 -0700 (PDT)
-From: Manivannan Sadhasivam <manivannan.sadhasivam@linaro.org>
-To: heiko@sntech.de,
- robh+dt@kernel.org
-Subject: [PATCH 2/4] dt-bindings: arm: rockchip: Add binding for Rock960 board
-Date: Mon, 10 Sep 2018 20:43:54 +0530
-Message-Id: <20180910151356.25946-3-manivannan.sadhasivam@linaro.org>
-X-Mailer: git-send-email 2.17.1
-In-Reply-To: <20180910151356.25946-1-manivannan.sadhasivam@linaro.org>
-References: <20180910151356.25946-1-manivannan.sadhasivam@linaro.org>
-X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3
-X-CRM114-CacheID: sfid-20180910_081446_721758_4D036032
-X-CRM114-Status: GOOD ( 10.68 )
-X-BeenThere: linux-arm-kernel@lists.infradead.org
-X-Mailman-Version: 2.1.21
-Precedence: list
-List-Id: <linux-arm-kernel.lists.infradead.org>
-List-Unsubscribe:
- <http://lists.infradead.org/mailman/options/linux-arm-kernel>,
- <mailto:linux-arm-kernel-request@lists.infradead.org?subject=unsubscribe>
-List-Archive: <http://lists.infradead.org/pipermail/linux-arm-kernel/>
-List-Post: <mailto:linux-arm-kernel@lists.infradead.org>
-List-Help: <mailto:linux-arm-kernel-request@lists.infradead.org?subject=help>
-List-Subscribe:
- <http://lists.infradead.org/mailman/listinfo/linux-arm-kernel>,
- <mailto:linux-arm-kernel-request@lists.infradead.org?subject=subscribe>
-Cc: linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org,
- tom@vamrs.com, amit.kucheria@linaro.org, shawn.lin@rock-chips.com,
- linux-kernel@vger.kernel.org, vicencb@gmail.com, dev@vamrs.com,
- linux-rockchip@lists.infradead.org, pbrobinson@gmail.com,
- Manivannan Sadhasivam <manivannan.sadhasivam@linaro.org>,
- enric.balletbo@collabora.com, ezequiel@collabora.com, stephen@vamrs.com
-MIME-Version: 1.0
-Content-Type: text/plain; charset="us-ascii"
-Sender: "linux-arm-kernel" <linux-arm-kernel-bounces@lists.infradead.org>
-Errors-To:
- linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org
-X-Virus-Scanned: ClamAV using ClamSMTP
-
-Add devicetree binding for Rock960 board from Vamrs Limited.
-
-Signed-off-by: Manivannan Sadhasivam <manivannan.sadhasivam@linaro.org>
----
- Documentation/devicetree/bindings/arm/rockchip.txt | 4 ++++
- 1 file changed, 4 insertions(+)
-
-diff --git a/Documentation/devicetree/bindings/arm/rockchip.txt b/Documentation/devicetree/bindings/arm/rockchip.txt
-index acfd3c773dd0..aaad9e2ff9a3 100644
---- a/Documentation/devicetree/bindings/arm/rockchip.txt
-+++ b/Documentation/devicetree/bindings/arm/rockchip.txt
-@@ -5,6 +5,10 @@ Rockchip platforms device tree bindings
- Required root node properties:
- - compatible = "vamrs,ficus", "rockchip,rk3399";
-
-+- 96boards RK3399 Rock960 (ROCK960 Consumer Edition)
-+ Required root node properties:
-+ - compatible = "vamrs,rk3399-rock960", "rockchip,rk3399";
-+
- - Amarula Vyasa RK3288 board
- Required root node properties:
- - compatible = "amarula,vyasa-rk3288", "rockchip,rk3288";
-
-From patchwork Mon Sep 10 15:13:55 2018
-Content-Type: text/plain; charset="utf-8"
-MIME-Version: 1.0
-Content-Transfer-Encoding: 7bit
-X-Patchwork-Submitter: Manivannan Sadhasivam
- <manivannan.sadhasivam@linaro.org>
-X-Patchwork-Id: 10594437
-Return-Path:
- <linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org>
-Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org
- [172.30.200.125])
- by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 5454714BD
- for <patchwork-linux-arm@patchwork.kernel.org>;
- Mon, 10 Sep 2018 15:17:33 +0000 (UTC)
-Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1])
- by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 4324E28C53
- for <patchwork-linux-arm@patchwork.kernel.org>;
- Mon, 10 Sep 2018 15:17:33 +0000 (UTC)
-Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486)
- id 3684A28EEA; Mon, 10 Sep 2018 15:17:33 +0000 (UTC)
-X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on
- pdx-wl-mail.web.codeaurora.org
-X-Spam-Level:
-X-Spam-Status: No, score=-2.9 required=2.0 tests=BAYES_00,DKIM_SIGNED,
- DKIM_VALID,MAILING_LIST_MULTI,RCVD_IN_DNSWL_NONE autolearn=ham version=3.3.1
-Received: from bombadil.infradead.org (bombadil.infradead.org
- [198.137.202.133])
- (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits))
- (No client certificate requested)
- by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 9562128C53
- for <patchwork-linux-arm@patchwork.kernel.org>;
- Mon, 10 Sep 2018 15:17:32 +0000 (UTC)
-DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed;
- d=lists.infradead.org; s=bombadil.20170209; h=Sender:
- Content-Transfer-Encoding:Content-Type:MIME-Version:Cc:List-Subscribe:
- List-Help:List-Post:List-Archive:List-Unsubscribe:List-Id:References:
- In-Reply-To:Message-Id:Date:Subject:To:From:Reply-To:Content-ID:
- Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc
- :Resent-Message-ID:List-Owner;
- bh=BlDZBHjhu66Mc2lMpXjbsv/4KpMpcTJgc9cuw0S3bQA=; b=JDfI6kvhr48gipdHeSTE7tPcUN
- q5lSDa1z6DWLELD32uQ9dLmn8et3RT9krsAn+kJh1vBLmqlo5ciSIGC9Wl6qwNCskWn/zFietv0Bm
- S+rDQncYZNJDSrASyv6gUpgjsQJOCcthqBseEX6O0zKSreyf2RX9BppBryBPINHPL6eG55Ard4Ort
- fG6lSQajVnhRe3B/BdWo2v+j3+MAQixs8Z0udQ5rxCY7lY2jbcs2DPFxb9fkNKWCZZvPbMZ4CG1Z8
- vCppSQoomPOfjp58Dvbxyc+DkNiGm8WccccSZkU7WRut/dZ5KsaFLNzTQFmDN226xo3+/5tp8imFM
- gnrQk3Rw==;
-Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org)
- by bombadil.infradead.org with esmtp (Exim 4.90_1 #2 (Red Hat Linux))
- id 1fzNwI-0001tm-2P; Mon, 10 Sep 2018 15:17:22 +0000
-Received: from mail-pl1-x644.google.com ([2607:f8b0:4864:20::644])
- by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux))
- id 1fzNtu-0007xY-Os
- for linux-arm-kernel@lists.infradead.org; Mon, 10 Sep 2018 15:14:56 +0000
-Received: by mail-pl1-x644.google.com with SMTP id g2-v6so8931123plo.2
- for <linux-arm-kernel@lists.infradead.org>;
- Mon, 10 Sep 2018 08:14:44 -0700 (PDT)
-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google;
- h=from:to:cc:subject:date:message-id:in-reply-to:references;
- bh=znfZBHVDWIral+xe0reTBGcJ7dk9ivMDjn8uEGJfcT8=;
- b=Al3A4xuT8zmMMUoHO2mMDnqXf7kGCK9hCVkQJSQZFZzcSy+jmsteTH3xgr6KchUnj1
- 2j1TY1/JwFbt7AnCtLEHEsqI81Ish0NmRq1zZTjIu9xkJ9SgOxdf5wBa3TGzYWZoukb+
- CKfaB4Fv5Gj/U4qLXVxDT6wTw7vhRDNz1ZsRQ=
-X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
- d=1e100.net; s=20161025;
- h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to
- :references;
- bh=znfZBHVDWIral+xe0reTBGcJ7dk9ivMDjn8uEGJfcT8=;
- b=pHwar4aOiw/cjrOxYMYxMuQ65Xs/Y2e9eqLAbhpyq3aMtSWES8sUya9sJf1/NA1FAN
- hLN94KSswIBrhHJIpTU73ntZwVPGSkj5m3kcOaL5+hqSAmG5Mze15d4Pe0mT1fUp5zSd
- tEv9erBdk11fJB7WR0TnG8JjDrFz9WitioFWAzA9qy9dtDH3w9bgoBYOXJbHQ/4LccFv
- tG5llBmw3VAaqQIj2CKTEOKUpYYhk2D+5V5tZ1/Hhx8Oeb7NBd0nAWRsUb5m1c6loXR2
- wxMPnk0flXzPiGH05Tn/PGLXOM0VY9NY5xljC0DBDmeziPPWjvlpxdJsYRTAqL8EiokC
- KXdw==
-X-Gm-Message-State: APzg51BkoY23CtrZPfldJhpIX8f8btFYkNpT825jAOFcY6CP1Pbqsx+W
- jmGEBdg90S9M/H0OWl3Lo+e0OsI2UQ==
-X-Google-Smtp-Source:
- ANB0VdZ0RhAKUx7fA0XxuM8dKFymYLSLzCbRGtKYFlZfvEfM0z2IIetkAoJZsjfgCiGmtZMwRvEVuA==
-X-Received: by 2002:a17:902:740a:: with SMTP id
- g10-v6mr22947347pll.22.1536592483495;
- Mon, 10 Sep 2018 08:14:43 -0700 (PDT)
-Received: from localhost.localdomain
- ([2405:204:728c:6bba:60a8:6c40:2817:7ee1])
- by smtp.gmail.com with ESMTPSA id e202-v6sm26703907pfh.16.2018.09.10.08.14.36
- (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128);
- Mon, 10 Sep 2018 08:14:42 -0700 (PDT)
-From: Manivannan Sadhasivam <manivannan.sadhasivam@linaro.org>
-To: heiko@sntech.de,
- robh+dt@kernel.org
-Subject: [PATCH 3/4] arm64: boot: dts: rockchip: Add support for Rock960 board
-Date: Mon, 10 Sep 2018 20:43:55 +0530
-Message-Id: <20180910151356.25946-4-manivannan.sadhasivam@linaro.org>
-X-Mailer: git-send-email 2.17.1
-In-Reply-To: <20180910151356.25946-1-manivannan.sadhasivam@linaro.org>
-References: <20180910151356.25946-1-manivannan.sadhasivam@linaro.org>
-X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3
-X-CRM114-CacheID: sfid-20180910_081454_819186_85F98455
-X-CRM114-Status: GOOD ( 16.37 )
-X-BeenThere: linux-arm-kernel@lists.infradead.org
-X-Mailman-Version: 2.1.21
-Precedence: list
-List-Id: <linux-arm-kernel.lists.infradead.org>
-List-Unsubscribe:
- <http://lists.infradead.org/mailman/options/linux-arm-kernel>,
- <mailto:linux-arm-kernel-request@lists.infradead.org?subject=unsubscribe>
-List-Archive: <http://lists.infradead.org/pipermail/linux-arm-kernel/>
-List-Post: <mailto:linux-arm-kernel@lists.infradead.org>
-List-Help: <mailto:linux-arm-kernel-request@lists.infradead.org?subject=help>
-List-Subscribe:
- <http://lists.infradead.org/mailman/listinfo/linux-arm-kernel>,
- <mailto:linux-arm-kernel-request@lists.infradead.org?subject=subscribe>
-Cc: linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org,
- tom@vamrs.com, amit.kucheria@linaro.org, shawn.lin@rock-chips.com,
- linux-kernel@vger.kernel.org, vicencb@gmail.com, dev@vamrs.com,
- linux-rockchip@lists.infradead.org, pbrobinson@gmail.com,
- Manivannan Sadhasivam <manivannan.sadhasivam@linaro.org>,
- enric.balletbo@collabora.com, ezequiel@collabora.com, stephen@vamrs.com
-MIME-Version: 1.0
-Content-Type: text/plain; charset="us-ascii"
-Sender: "linux-arm-kernel" <linux-arm-kernel-bounces@lists.infradead.org>
-Errors-To:
- linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org
-X-Virus-Scanned: ClamAV using ClamSMTP
-
-Add devicetree support for Rock960 board, one of the Consumer Edition
-boards of the 96Boards family. This board support utilizes the common
-Rock960 family board support that includes Ficus 96Board.
-
-Signed-off-by: Manivannan Sadhasivam <manivannan.sadhasivam@linaro.org>
----
- arch/arm64/boot/dts/rockchip/Makefile | 1 +
- .../boot/dts/rockchip/rk3399-rock960.dts | 139 ++++++++++++++++++
- 2 files changed, 140 insertions(+)
- create mode 100644 arch/arm64/boot/dts/rockchip/rk3399-rock960.dts
-
-diff --git a/arch/arm64/boot/dts/rockchip/Makefile b/arch/arm64/boot/dts/rockchip/Makefile
-index b0092d95b574..57c0d76458e6 100644
---- a/arch/arm64/boot/dts/rockchip/Makefile
-+++ b/arch/arm64/boot/dts/rockchip/Makefile
-@@ -14,5 +14,6 @@ dtb-$(CONFIG_ARCH_ROCKCHIP) += rk3399-firefly.dtb
- dtb-$(CONFIG_ARCH_ROCKCHIP) += rk3399-gru-bob.dtb
- dtb-$(CONFIG_ARCH_ROCKCHIP) += rk3399-gru-kevin.dtb
- dtb-$(CONFIG_ARCH_ROCKCHIP) += rk3399-puma-haikou.dtb
-+dtb-$(CONFIG_ARCH_ROCKCHIP) += rk3399-rock960.dtb
- dtb-$(CONFIG_ARCH_ROCKCHIP) += rk3399-sapphire.dtb
- dtb-$(CONFIG_ARCH_ROCKCHIP) += rk3399-sapphire-excavator.dtb
-diff --git a/arch/arm64/boot/dts/rockchip/rk3399-rock960.dts b/arch/arm64/boot/dts/rockchip/rk3399-rock960.dts
-new file mode 100644
-index 000000000000..281f3d79b38e
---- /dev/null
-+++ b/arch/arm64/boot/dts/rockchip/rk3399-rock960.dts
-@@ -0,0 +1,139 @@
-+// SPDX-License-Identifier: (GPL-2.0+ OR MIT)
-+/*
-+ * Copyright (c) 2018 Linaro Ltd.
-+ */
-+
-+/dts-v1/;
-+#include "rk3399-rock960.dtsi"
-+
-+/ {
-+ model = "96boards Rock960";
-+ compatible = "vamrs,rk3399-rock960", "rockchip,rk3399";
-+
-+ chosen {
-+ stdout-path = "serial2:1500000n8";
-+ };
-+
-+ vcc3v3_pcie: vcc3v3-pcie-regulator {
-+ compatible = "regulator-fixed";
-+ enable-active-high;
-+ gpio = <&gpio2 5 GPIO_ACTIVE_HIGH>;
-+ pinctrl-names = "default";
-+ pinctrl-0 = <&pcie_drv>;
-+ regulator-boot-on;
-+ regulator-name = "vcc3v3_pcie";
-+ regulator-min-microvolt = <3300000>;
-+ regulator-max-microvolt = <3300000>;
-+ vin-supply = <&vcc3v3_sys>;
-+ };
-+
-+ vcc5v0_host: vcc5v0-host-regulator {
-+ compatible = "regulator-fixed";
-+ enable-active-high;
-+ gpio = <&gpio4 25 GPIO_ACTIVE_HIGH>;
-+ pinctrl-names = "default";
-+ pinctrl-0 = <&host_vbus_drv>;
-+ regulator-name = "vcc5v0_host";
-+ regulator-min-microvolt = <5000000>;
-+ regulator-max-microvolt = <5000000>;
-+ regulator-always-on;
-+ vin-supply = <&vcc_sys>;
-+ };
-+};
-+
-+&pinctrl {
-+ pcie {
-+ pcie_drv: pcie-drv {
-+ rockchip,pins =
-+ <2 RK_PA5 RK_FUNC_GPIO &pcfg_pull_none>;
-+ };
-+ };
-+
-+ usb2 {
-+ host_vbus_drv: host-vbus-drv {
-+ rockchip,pins =
-+ <4 RK_PD1 RK_FUNC_GPIO &pcfg_pull_none>;
-+ };
-+ };
-+};
-+
-+&pcie_phy {
-+ status = "okay";
-+};
-+
-+&pcie0 {
-+ ep-gpios = <&gpio2 RK_PA2 GPIO_ACTIVE_HIGH>;
-+ num-lanes = <4>;
-+ pinctrl-names = "default";
-+ pinctrl-0 = <&pcie_clkreqn_cpm>;
-+ vpcie3v3-supply = <&vcc3v3_pcie>;
-+ status = "okay";
-+};
-+
-+&tcphy0 {
-+ status = "okay";
-+};
-+
-+&tcphy1 {
-+ status = "okay";
-+};
-+
-+&u2phy0 {
-+ status = "okay";
-+};
-+
-+&u2phy1 {
-+ status = "okay";
-+};
-+
-+&u2phy0_host {
-+ phy-supply = <&vcc5v0_host>;
-+ status = "okay";
-+};
-+
-+&u2phy1_host {
-+ phy-supply = <&vcc5v0_host>;
-+ status = "okay";
-+};
-+
-+&u2phy0_otg {
-+ status = "okay";
-+};
-+
-+&u2phy1_otg {
-+ status = "okay";
-+};
-+
-+&usb_host0_ehci {
-+ status = "okay";
-+};
-+
-+&usb_host0_ohci {
-+ status = "okay";
-+};
-+
-+&usb_host1_ehci {
-+ status = "okay";
-+};
-+
-+&usb_host1_ohci {
-+ status = "okay";
-+};
-+
-+&usbdrd3_0 {
-+ status = "okay";
-+};
-+
-+&usbdrd_dwc3_0 {
-+ status = "okay";
-+ dr_mode = "otg";
-+};
-+
-+&usbdrd3_1 {
-+ status = "okay";
-+};
-+
-+&usbdrd_dwc3_1 {
-+ status = "okay";
-+ dr_mode = "host";
-+};
-
-From patchwork Mon Sep 10 15:13:56 2018
-Content-Type: text/plain; charset="utf-8"
-MIME-Version: 1.0
-Content-Transfer-Encoding: 7bit
-X-Patchwork-Submitter: Manivannan Sadhasivam
- <manivannan.sadhasivam@linaro.org>
-X-Patchwork-Id: 10594441
-Return-Path:
- <linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org>
-Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org
- [172.30.200.125])
- by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 6C84E921
- for <patchwork-linux-arm@patchwork.kernel.org>;
- Mon, 10 Sep 2018 15:18:21 +0000 (UTC)
-Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1])
- by mail.wl.linuxfoundation.org (Postfix) with ESMTP id A8B81290E9
- for <patchwork-linux-arm@patchwork.kernel.org>;
- Mon, 10 Sep 2018 15:18:16 +0000 (UTC)
-Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486)
- id 9B4C2291F9; Mon, 10 Sep 2018 15:18:16 +0000 (UTC)
-X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on
- pdx-wl-mail.web.codeaurora.org
-X-Spam-Level:
-X-Spam-Status: No, score=-2.9 required=2.0 tests=BAYES_00,DKIM_SIGNED,
- DKIM_VALID,MAILING_LIST_MULTI,RCVD_IN_DNSWL_NONE autolearn=ham version=3.3.1
-Received: from bombadil.infradead.org (bombadil.infradead.org
- [198.137.202.133])
- (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits))
- (No client certificate requested)
- by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 0A283290E9
- for <patchwork-linux-arm@patchwork.kernel.org>;
- Mon, 10 Sep 2018 15:18:16 +0000 (UTC)
-DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed;
- d=lists.infradead.org; s=bombadil.20170209; h=Sender:
- Content-Transfer-Encoding:Content-Type:MIME-Version:Cc:List-Subscribe:
- List-Help:List-Post:List-Archive:List-Unsubscribe:List-Id:References:
- In-Reply-To:Message-Id:Date:Subject:To:From:Reply-To:Content-ID:
- Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc
- :Resent-Message-ID:List-Owner;
- bh=0ikSWm9Ew4+OM0qaBWpLR7/qrsx402HdvOTbCVK6WLs=; b=iYHrXnke7eyKVXuqegTuZU2pVy
- JOtS+JODGf3O3P3SHSVhr1nAkaq4DAOSy/kjn0O0/SY34a3Z7vQ1tLOWHKLXScDsC9ZnvlhwfBFDM
- kLOKtlYqB5lpdJtP+vk3bKEcyLIL1gJcAApgWpS4yxEDyqP73S8/2rKjPhRk7A4FtUFhoCNAo6xAv
- +A6Y5chj5PhQUddQ5FSV4h1uJWQtOICBRj/zGjm0pdHcZ8oMPhicXEfIUTsVA89tKbjr8U6J3bNE8
- vAgcAmyYOWqOLiw3lrisMlKJLBagNU3M1Q1C5VKEn5TlqnqQ5waYcPAKn8SmKZzh57LMD0yOF0Vi1
- p17NGt3Q==;
-Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org)
- by bombadil.infradead.org with esmtp (Exim 4.90_1 #2 (Red Hat Linux))
- id 1fzNwy-0002B7-RR; Mon, 10 Sep 2018 15:18:04 +0000
-Received: from mail-pf1-x443.google.com ([2607:f8b0:4864:20::443])
- by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux))
- id 1fzNu3-00081w-2X
- for linux-arm-kernel@lists.infradead.org; Mon, 10 Sep 2018 15:15:06 +0000
-Received: by mail-pf1-x443.google.com with SMTP id j26-v6so10630033pfi.10
- for <linux-arm-kernel@lists.infradead.org>;
- Mon, 10 Sep 2018 08:14:52 -0700 (PDT)
-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google;
- h=from:to:cc:subject:date:message-id:in-reply-to:references;
- bh=DddfjiWU+nwLV/my5PU24VcyaUhmZjI44x/ThHNh0Tk=;
- b=PWevnr2Lpw/bnA0HESa9iyVkClbxsJOYPlhP7AmMwy9a6c7eqqnS4kcFuumWD8eDqu
- 5TyPbARtJMbdmXcn+ZyEocjr/nOC+pLcQKBFUQPkfOwz8jVZ5fKgUmR0hiIx0crIxFFy
- 0qfls7qARHP7wRbThv1DW/l1pDMx20fE2zYwQ=
-X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
- d=1e100.net; s=20161025;
- h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to
- :references;
- bh=DddfjiWU+nwLV/my5PU24VcyaUhmZjI44x/ThHNh0Tk=;
- b=cFEHSVGuJxHH7AjHGKTEZgKUfsxXK2Q2RwekMwNqTghG134tsp30N/eikGKSuVI1pQ
- e4zM5JqLDH0yBeEsAxxtiws41SL/1l+mm+9NBylbiDjJ2lU08Vz0LQxhB7E0Y8UnjbX7
- tuJNFuoFofCBux8/8/2/Bt9oAv26+yQIQnFvSzsvxduxD5ZlfUFI8K06sxlaMNlhwYIL
- rtps3m0KcFAeYIC+5CKuTMGIlH3XJ9L8xL/VWeell0rpmD1Xp1/tPtxuanBYkRVJjjIu
- 5sUDjfJ+w7uGwlSHBwYz/1DejPm7t3NZCHINwqx1Olwb8gInYbU7htJdtSwkxRanStos
- JzdQ==
-X-Gm-Message-State: APzg51A9iwtgmsDyP+CN23RCS/3YrB6AHMxq22H11ncEe+Dka8pkL1ti
- zurFCUUzVWuSFn4SpTO/sZVy
-X-Google-Smtp-Source:
- ANB0Vda8CeIyNE1qDZp1KonBEUUFJCFFlGslTIiiPJ26+7Ys0yYeOHMxSM8/+E1iSjcD5FMm6WCxkw==
-X-Received: by 2002:a65:608b:: with SMTP id
- t11-v6mr23620131pgu.259.1536592491302;
- Mon, 10 Sep 2018 08:14:51 -0700 (PDT)
-Received: from localhost.localdomain
- ([2405:204:728c:6bba:60a8:6c40:2817:7ee1])
- by smtp.gmail.com with ESMTPSA id e202-v6sm26703907pfh.16.2018.09.10.08.14.43
- (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128);
- Mon, 10 Sep 2018 08:14:50 -0700 (PDT)
-From: Manivannan Sadhasivam <manivannan.sadhasivam@linaro.org>
-To: heiko@sntech.de,
- robh+dt@kernel.org
-Subject: [PATCH 4/4] arm64: dts: rockchip: Enable SD card detection for
- Rock960 boards
-Date: Mon, 10 Sep 2018 20:43:56 +0530
-Message-Id: <20180910151356.25946-5-manivannan.sadhasivam@linaro.org>
-X-Mailer: git-send-email 2.17.1
-In-Reply-To: <20180910151356.25946-1-manivannan.sadhasivam@linaro.org>
-References: <20180910151356.25946-1-manivannan.sadhasivam@linaro.org>
-X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3
-X-CRM114-CacheID: sfid-20180910_081503_224251_E8EEEA66
-X-CRM114-Status: GOOD ( 12.06 )
-X-BeenThere: linux-arm-kernel@lists.infradead.org
-X-Mailman-Version: 2.1.21
-Precedence: list
-List-Id: <linux-arm-kernel.lists.infradead.org>
-List-Unsubscribe:
- <http://lists.infradead.org/mailman/options/linux-arm-kernel>,
- <mailto:linux-arm-kernel-request@lists.infradead.org?subject=unsubscribe>
-List-Archive: <http://lists.infradead.org/pipermail/linux-arm-kernel/>
-List-Post: <mailto:linux-arm-kernel@lists.infradead.org>
-List-Help: <mailto:linux-arm-kernel-request@lists.infradead.org?subject=help>
-List-Subscribe:
- <http://lists.infradead.org/mailman/listinfo/linux-arm-kernel>,
- <mailto:linux-arm-kernel-request@lists.infradead.org?subject=subscribe>
-Cc: linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org,
- tom@vamrs.com, amit.kucheria@linaro.org, shawn.lin@rock-chips.com,
- linux-kernel@vger.kernel.org, vicencb@gmail.com, dev@vamrs.com,
- linux-rockchip@lists.infradead.org, pbrobinson@gmail.com,
- Manivannan Sadhasivam <manivannan.sadhasivam@linaro.org>,
- enric.balletbo@collabora.com, ezequiel@collabora.com, stephen@vamrs.com
-MIME-Version: 1.0
-Content-Type: text/plain; charset="us-ascii"
-Sender: "linux-arm-kernel" <linux-arm-kernel-bounces@lists.infradead.org>
-Errors-To:
- linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org
-X-Virus-Scanned: ClamAV using ClamSMTP
-
-For proper working of SD cards, let's add the Card Detect GPIO property
-to the common devicetree for Rock960 family boards.
-
-Signed-off-by: Manivannan Sadhasivam <manivannan.sadhasivam@linaro.org>
----
- arch/arm64/boot/dts/rockchip/rk3399-rock960.dtsi | 1 +
- 1 file changed, 1 insertion(+)
-
-diff --git a/arch/arm64/boot/dts/rockchip/rk3399-rock960.dtsi b/arch/arm64/boot/dts/rockchip/rk3399-rock960.dtsi
-index 5a5d8e28ef55..f68254831ad9 100644
---- a/arch/arm64/boot/dts/rockchip/rk3399-rock960.dtsi
-+++ b/arch/arm64/boot/dts/rockchip/rk3399-rock960.dtsi
-@@ -403,6 +403,7 @@
- cap-sd-highspeed;
- clock-frequency = <100000000>;
- clock-freq-min-max = <100000 100000000>;
-+ cd-gpios = <&gpio0 7 GPIO_ACTIVE_LOW>;
- disable-wp;
- sd-uhs-sdr104;
- vqmmc-supply = <&vcc_sd>;
-From patchwork Tue Oct 16 14:00:20 2018
-Content-Type: text/plain; charset="utf-8"
-MIME-Version: 1.0
-Content-Transfer-Encoding: 7bit
-X-Patchwork-Submitter: Daniel Lezcano <daniel.lezcano@linaro.org>
-X-Patchwork-Id: 1000432
-Return-Path: <SRS0=e/xi=M4=vger.kernel.org=linux-kernel-owner@kernel.org>
-Received: from mail.kernel.org (mail.kernel.org [198.145.29.99])
- by smtp.lore.kernel.org (Postfix) with ESMTP id 41BB8C04EBD
- for <linux-kernel@archiver.kernel.org>; Tue, 16 Oct 2018 14:01:24 +0000 (UTC)
-Received: from vger.kernel.org (vger.kernel.org [209.132.180.67])
- by mail.kernel.org (Postfix) with ESMTP id 032862089E
- for <linux-kernel@archiver.kernel.org>; Tue, 16 Oct 2018 14:01:24 +0000 (UTC)
-Authentication-Results: mail.kernel.org;
- dkim=pass (1024-bit key) header.d=linaro.org header.i=@linaro.org
- header.b="OwrJnI6D"
-DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 032862089E
-Authentication-Results: mail.kernel.org;
- dmarc=fail (p=none dis=none) header.from=linaro.org
-Authentication-Results: mail.kernel.org;
- spf=none smtp.mailfrom=linux-kernel-owner@vger.kernel.org
-Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand
- id S1727241AbeJPVv6 (ORCPT
- <rfc822;linux-kernel@archiver.kernel.org>);
- Tue, 16 Oct 2018 17:51:58 -0400
-Received: from mail-wr1-f68.google.com ([209.85.221.68]:43800 "EHLO
- mail-wr1-f68.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org
- with ESMTP id S1727149AbeJPVv6 (ORCPT
- <rfc822;linux-kernel@vger.kernel.org>);
- Tue, 16 Oct 2018 17:51:58 -0400
-Received: by mail-wr1-f68.google.com with SMTP id n1-v6so25672615wrt.10
- for <linux-kernel@vger.kernel.org>;
- Tue, 16 Oct 2018 07:01:21 -0700 (PDT)
-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
- d=linaro.org; s=google;
- h=from:to:cc:subject:date:message-id;
- bh=AyjUgKMFmAFThaK4GvWsdrdl4JZ3kTa6zVPrOmGMjOA=;
- b=OwrJnI6D/huHRM5jiagiGiKBxUHFUlMvwe1t2GexoIKOTqtFGY3vwPCkrAUWdnT5+f
- n+wvqEq+enR14QpmLTY3VNYAsxMcDtJOZ2R2Cw0rRdiHypMeUGRanfszUimV9omTlSGH
- ApMgMERT+Pim+X1tp/uH775sDaVLHsJDyJb2Y=
-X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
- d=1e100.net; s=20161025;
- h=x-gm-message-state:from:to:cc:subject:date:message-id;
- bh=AyjUgKMFmAFThaK4GvWsdrdl4JZ3kTa6zVPrOmGMjOA=;
- b=DO/kT4iXCQgCsPC53FV7CMKKHaDQNQtZUIfHfJGQ2iRgCRNsZSYU6JYHxxjsqWSLyq
- c46PNGLDG4qPZf/tveVt9wc9SPdKTk3klyT5NnQvdlNY8uv5/GTXINOWmNE0xD9hqvaP
- ml6yJRUA51/KJU73p7XhGvWlMmEuStLUtXa4rlqKgush6lllYhSFpca2xkiKFhqcd+Bc
- HHXRh2i0OVgTdmdb0+lSKyLXm74UHrhv1WEbgjGm+Mharwz/qsidTCXfqKPC7izgstBS
- L+mjOACqna60eEsABW/p2nH9vxXAsU2ArAnmB714yeh9uckl1uRzYmMQCSD1LmmBN0q4
- 4UvQ==
-X-Gm-Message-State: ABuFfojBZLkXjdlBc4AIjobar5Yk+68lR2+TEpPVGjsScLNzcmIj5eYO
- yyEhPWYj3vc1MHjUcMfQLt7ahg==
-X-Google-Smtp-Source:
- ACcGV614RNSZy+OjIvsEaE9ONlZaDAeI1a8EpD+wP5Gt58g75Bh8DJgL6KJJ2ZjTenoZPwHLydiQBg==
-X-Received: by 2002:adf:cd0c:: with SMTP id
- w12-v6mr19534363wrm.67.1539698480294;
- Tue, 16 Oct 2018 07:01:20 -0700 (PDT)
-Received: from localhost.localdomain (221.56.88.92.rev.sfr.net.
- [92.88.56.221])
- by smtp.gmail.com with ESMTPSA id
- b81-v6sm10195012wmh.47.2018.10.16.07.01.18
- (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128);
- Tue, 16 Oct 2018 07:01:19 -0700 (PDT)
-From: Daniel Lezcano <daniel.lezcano@linaro.org>
-To: heiko@sntech.de
-Cc: linux-kernel@vger.kernel.org, Rob Herring <robh+dt@kernel.org>,
- Mark Rutland <mark.rutland@arm.com>,
- Vicente Bergas <vicencb@gmail.com>,
- Shawn Lin <shawn.lin@rock-chips.com>,
- Ezequiel Garcia <ezequiel@collabora.com>,
- Enric Balletbo i Serra <enric.balletbo@collabora.com>,
- Manivannan Sadhasivam <manivannan.sadhasivam@linaro.org>,
- devicetree@vger.kernel.org (open list:OPEN FIRMWARE AND FLATTENED
- DEVICE TREE BINDINGS),
- linux-arm-kernel@lists.infradead.org (moderated list:ARM/Rockchip SoC
- support),
- linux-rockchip@lists.infradead.org (open list:ARM/Rockchip SoC
- support)
-Subject: [PATCH] DT: rockchip: Fix stability issues with the 'performance'
- governor on rock960
-Date: Tue, 16 Oct 2018 16:00:20 +0200
-Message-Id: <1539698431-12616-1-git-send-email-daniel.lezcano@linaro.org>
-X-Mailer: git-send-email 2.7.4
-Sender: linux-kernel-owner@vger.kernel.org
-Precedence: bulk
-List-ID: <linux-kernel.vger.kernel.org>
-X-Mailing-List: linux-kernel@vger.kernel.org
-
-When the performance governor is set as default, the rock960 hangs
-around one minute after booting, whatever the activity is (idle, key
-pressed, loaded, ...).
-
-Based on the commit log found at https://patchwork.kernel.org/patch/10092377/
-
-"vdd_log has no consumer and therefore will not be set to a specific
-voltage. Still the PWM output pin gets configured and thence the vdd_log
-output voltage will changed from it's default. Depending on the idle
-state of the PWM this will slightly over or undervoltage the logic supply
-of the RK3399 and cause instability with GbE (undervoltage) and PCIe
-(overvoltage). Since the default value set by a voltage divider is the
-correct supply voltage and we don't need to change it during runtime we
-remove the rail from the devicetree completely so the PWM pin will not
-be configured."
-
-After removing the vdd-log from the rock960's specific DT, the board
-does no longer hang and shows a stable behavior.
-
-Apply the same change for the rock960 by removing the vdd-log from the
-DT.
-
-Signed-off-by: Daniel Lezcano <daniel.lezcano@linaro.org>
-Tested-by: Manivannan Sadhasivam <manivannan.sadhasivam@linaro.org>
----
- arch/arm64/boot/dts/rockchip/rk3399-rock960.dtsi | 12 ------------
- 1 file changed, 12 deletions(-)
-
-diff --git a/arch/arm64/boot/dts/rockchip/rk3399-rock960.dtsi b/arch/arm64/boot/dts/rockchip/rk3399-rock960.dtsi
-index 6c8c4ab..56abbb0 100644
---- a/arch/arm64/boot/dts/rockchip/rk3399-rock960.dtsi
-+++ b/arch/arm64/boot/dts/rockchip/rk3399-rock960.dtsi
-@@ -57,18 +57,6 @@
- regulator-always-on;
- vin-supply = <&vcc_sys>;
- };
--
-- vdd_log: vdd-log {
-- compatible = "pwm-regulator";
-- pwms = <&pwm2 0 25000 0>;
-- regulator-name = "vdd_log";
-- regulator-min-microvolt = <800000>;
-- regulator-max-microvolt = <1400000>;
-- regulator-always-on;
-- regulator-boot-on;
-- vin-supply = <&vcc_sys>;
-- };
--
- };
-
- &cpu_l0 {
diff --git a/arm64-ZynqMP-firmware-clock-drivers-core.patch b/arm64-ZynqMP-firmware-clock-drivers-core.patch
deleted file mode 100644
index f8824e505..000000000
--- a/arm64-ZynqMP-firmware-clock-drivers-core.patch
+++ /dev/null
@@ -1,5481 +0,0 @@
-From patchwork Fri Aug 3 17:53:18 2018
-Content-Type: text/plain; charset="utf-8"
-MIME-Version: 1.0
-Content-Transfer-Encoding: 7bit
-X-Patchwork-Submitter: Jolly Shah <jolly.shah@xilinx.com>
-X-Patchwork-Id: 10555409
-Return-Path:
- <linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org>
-Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org
- [172.30.200.125])
- by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id E37DA14E2
- for <patchwork-linux-arm@patchwork.kernel.org>;
- Fri, 3 Aug 2018 18:05:44 +0000 (UTC)
-Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1])
- by mail.wl.linuxfoundation.org (Postfix) with ESMTP id CCD992BF36
- for <patchwork-linux-arm@patchwork.kernel.org>;
- Fri, 3 Aug 2018 18:05:44 +0000 (UTC)
-Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486)
- id BCB7D2C983; Fri, 3 Aug 2018 18:05:44 +0000 (UTC)
-X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on
- pdx-wl-mail.web.codeaurora.org
-X-Spam-Level:
-X-Spam-Status: No, score=-2.9 required=2.0 tests=BAD_ENC_HEADER,BAYES_00,
- DKIM_SIGNED,DKIM_VALID,MAILING_LIST_MULTI autolearn=unavailable version=3.3.1
-Received: from bombadil.infradead.org (bombadil.infradead.org
- [198.137.202.133])
- (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits))
- (No client certificate requested)
- by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 4BEA42BF36
- for <patchwork-linux-arm@patchwork.kernel.org>;
- Fri, 3 Aug 2018 18:05:44 +0000 (UTC)
-DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed;
- d=lists.infradead.org; s=bombadil.20170209; h=Sender:
- Content-Transfer-Encoding:Content-Type:Cc:List-Subscribe:List-Help:List-Post:
- List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To:
- Message-ID:Date:Subject:To:From:Reply-To:Content-ID:Content-Description:
- Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:
- List-Owner; bh=B1hjjA201jo1YdGbsOpjw0UiKXZd8LHCyv5gEinae3A=; b=JzJJ0HtnIRF/NZ
- L6ZUpLud5rO+4LXDAKFBfxxZxIEx29Crcyf2rm5rZk39dlBtKcyRjFAl+h2s1YXO/RCMsD2EHTAaq
- rSd2WibM0kXaX5RUavH7s8nevfSMOOtI3eywfYv3xiwcyETOtyuZvL1SAbjvwXANU5Zthl9XhY/RH
- X7lmEz/2CPiZPmbTfF3ipFPz8XNYsOkkbJHxPUqENqKsvishGL9yjL2IcrbdLxtV/YziN3tgDOG1r
- pAUCA0lCAxd8lFYWWXeegSYudxCDbcJkWnCmVRRFTX1LgkyTxWYuHD4K1nChJmKL4d+eJICrpQ6Tz
- 4VjXbIALS6c0/T7BVi/w==;
-Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org)
- by bombadil.infradead.org with esmtp (Exim 4.90_1 #2 (Red Hat Linux))
- id 1fleSM-0001Wr-5a; Fri, 03 Aug 2018 18:05:42 +0000
-Received: from mail-bn3nam01on0622.outbound.protection.outlook.com
- ([2a01:111:f400:fe41::622]
- helo=NAM01-BN3-obe.outbound.protection.outlook.com)
- by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux))
- id 1fleH9-0002l4-Rc
- for linux-arm-kernel@lists.infradead.org; Fri, 03 Aug 2018 17:54:09 +0000
-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
- d=xilinx.onmicrosoft.com; s=selector1-xilinx-com;
- h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck;
- bh=YJzB+KnyFKhLEmWrAsNYQ8EP3hzk/DxRcJ5zh/8+xcg=;
- b=mXk+Td1iuOAk1N7atBo6MpYVk0W+0zueHhy8hrpuFqra38bJ07s0AqfBfUIiz0ewCxWrwcS7fxXPLQ0kM9e2zOoG6lADpTRjFPvI1dJGw/kFMKyzfwqqFECFDHirr1wdOKJLICE9vcBkSBtz0gJ3N3mzus7wLUvGI2ro2jGBRYU=
-Received: from BL0PR02CA0041.namprd02.prod.outlook.com (2603:10b6:207:3d::18)
- by DM6PR02MB4460.namprd02.prod.outlook.com (2603:10b6:5:29::29) with
- Microsoft SMTP Server (version=TLS1_2,
- cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.1017.14; Fri, 3 Aug
- 2018 17:53:54 +0000
-Received: from CY1NAM02FT063.eop-nam02.prod.protection.outlook.com
- (2a01:111:f400:7e45::200) by BL0PR02CA0041.outlook.office365.com
- (2603:10b6:207:3d::18) with Microsoft SMTP Server (version=TLS1_2,
- cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384) id 15.20.1017.14 via Frontend
- Transport; Fri, 3 Aug 2018 17:53:54 +0000
-Authentication-Results: spf=pass (sender IP is 149.199.60.83)
- smtp.mailfrom=xilinx.com; linaro.org; dkim=none (message not signed)
- header.d=none;linaro.org; dmarc=bestguesspass action=none
- header.from=xilinx.com;
-Received-SPF: Pass (protection.outlook.com: domain of xilinx.com designates
- 149.199.60.83 as permitted sender) receiver=protection.outlook.com;
- client-ip=149.199.60.83; helo=xsj-pvapsmtpgw01;
-Received: from xsj-pvapsmtpgw01 (149.199.60.83) by
- CY1NAM02FT063.mail.protection.outlook.com (10.152.75.161) with Microsoft SMTP
- Server (version=TLS1_0, cipher=TLS_RSA_WITH_AES_256_CBC_SHA) id 15.20.1038.3
- via Frontend Transport; Fri, 3 Aug 2018 17:53:52 +0000
-Received: from unknown-38-66.xilinx.com ([149.199.38.66] helo=xsj-pvapsmtp01)
- by xsj-pvapsmtpgw01 with esmtp (Exim 4.63)
- (envelope-from <jolly.shah@xilinx.com>)
- id 1fleGu-0004fj-Fr; Fri, 03 Aug 2018 10:53:52 -0700
-Received: from [127.0.0.1] (helo=localhost)
- by xsj-pvapsmtp01 with smtp (Exim 4.63)
- (envelope-from <jolly.shah@xilinx.com>)
- id 1fleGp-0007cn-CX; Fri, 03 Aug 2018 10:53:47 -0700
-Received: from [172.19.2.91] (helo=xsjjollys50.xilinx.com)
- by xsj-pvapsmtp01 with esmtp (Exim 4.63)
- (envelope-from <jollys@xilinx.com>)
- id 1fleGl-0007bh-63; Fri, 03 Aug 2018 10:53:43 -0700
-From: Jolly Shah <jolly.shah@xilinx.com>
-To: <ard.biesheuvel@linaro.org>, <mingo@kernel.org>,
- <gregkh@linuxfoundation.org>, <matt@codeblueprint.co.uk>,
- <sudeep.holla@arm.com>, <hkallweit1@gmail.com>, <keescook@chromium.org>,
- <dmitry.torokhov@gmail.com>, <mturquette@baylibre.com>,
- <sboyd@codeaurora.org>, <michal.simek@xilinx.com>, <robh+dt@kernel.org>,
- <mark.rutland@arm.com>, <linux-clk@vger.kernel.org>
-Subject: [PATCH v11 01/11] dt-bindings: firmware: Add bindings for ZynqMP
- firmware
-Date: Fri, 3 Aug 2018 10:53:18 -0700
-Message-ID: <1533318808-10781-2-git-send-email-jollys@xilinx.com>
-X-Mailer: git-send-email 2.7.4
-In-Reply-To: <1533318808-10781-1-git-send-email-jollys@xilinx.com>
-References: <1533318808-10781-1-git-send-email-jollys@xilinx.com>
-X-TM-AS-Product-Ver: IMSS-7.1.0.1224-8.2.0.1013-23620.005
-X-TM-AS-User-Approved-Sender: Yes;Yes
-X-EOPAttributedMessage: 0
-X-MS-Office365-Filtering-HT: Tenant
-X-Forefront-Antispam-Report: CIP:149.199.60.83; IPV:NLI; CTRY:US; EFV:NLI;
- SFV:NSPM;
- SFS:(10009020)(39860400002)(376002)(136003)(346002)(396003)(2980300002)(438002)(199004)(189003)(6666003)(7416002)(8936002)(9786002)(305945005)(50226002)(2906002)(5660300001)(478600001)(2201001)(8676002)(72206003)(47776003)(81166006)(106466001)(81156014)(63266004)(4326008)(39060400002)(446003)(476003)(36756003)(44832011)(186003)(11346002)(2616005)(16586007)(50466002)(316002)(126002)(76176011)(106002)(426003)(107886003)(51416003)(356003)(336012)(26005)(36386004)(7696005)(486006)(77096007)(54906003)(110136005)(48376002)(921003)(107986001)(1121003);
- DIR:OUT; SFP:1101; SCL:1; SRVR:DM6PR02MB4460; H:xsj-pvapsmtpgw01; FPR:;
- SPF:Pass; LANG:en; PTR:unknown-60-83.xilinx.com; A:1; MX:1;
-X-Microsoft-Exchange-Diagnostics: 1; CY1NAM02FT063;
- 1:Vdzjpv2tvWIIUyrLnkjwnYINNMP3uv4BE92NdjxR4au3XiR+6v9YOb2cNSmKwFOfDlp44j7JAnh5gr2TNWQ3QWtw5LpTaNkvNDohFa1RJOin7FxPjQeoTftlCIfc+xem
-MIME-Version: 1.0
-X-MS-PublicTrafficType: Email
-X-MS-Office365-Filtering-Correlation-Id: 55c5c80a-6d3d-40b7-469a-08d5f96a1405
-X-Microsoft-Antispam: BCL:0; PCL:0;
- RULEID:(7020095)(4652040)(8989117)(5600074)(711020)(4608076)(4534165)(4627221)(201703031133081)(201702281549075)(8990107)(2017052603328)(7153060);
- SRVR:DM6PR02MB4460;
-X-Microsoft-Exchange-Diagnostics: 1;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dHeQc3u08Esx3Alc56RP2k+/eQaMhecAP0OPICJV1s73MfZS9uVFuohTbPoQ637Ut2ukGSi+m7FBl7PGZxp2XnIPVhWP+4kah5fzUNQ50NJkS6A6g/hIjRoPeTOW0TlT7K4qYykeqvU7TBJdE0X78R9xM3CFdI9kNs2ODCfeU+tA7XbHqZ2eoGLcloHkw8iRmAxBs8vxD3WjD+w3sO6gUCrj9IssoyTziQ4A90FvAjzCTKtDnmImSbUyMOBeM2GnGcdwnuHB7G1Etzk/P/OrHPnnDQYemRBtPUg8dzqLBkaakGjHnBxKYhgT2D2Uk3JuyS5Zh1fyMkJ+FlmnI9PRCcqX4TJytOevtE672HonWL2M6y0awpv6ly8Rg71adr1qYaaQlJYGxADxaE4d/9cksTLabmaL0Vo2whoudSEYOLKFRD653UtYflL6yk5qPWpRtjYc72oNMQN6E0efEQyCi08psk46fjV/RuVkJgV0Y62S5tFJ43vtQ
-X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply
-X-Microsoft-Antispam-PRVS:
- <DM6PR02MB4460BA8A041C22C0F51BB5D5B8230@DM6PR02MB4460.namprd02.prod.outlook.com>
-X-Exchange-Antispam-Report-Test: UriScan:(192813158149592);
-X-MS-Exchange-SenderADCheck: 1
-X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0;
- RULEID:(8211001083)(6040522)(2401047)(5005006)(8121501046)(93006095)(93004095)(10201501046)(3231311)(944501410)(52105095)(3002001)(6055026)(149027)(150027)(6041310)(20161123560045)(20161123558120)(20161123562045)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(20161123564045)(6072148)(201708071742011)(7699016);
- SRVR:DM6PR02MB4460; BCL:0; PCL:0; RULEID:; SRVR:DM6PR02MB4460;
-X-Microsoft-Exchange-Diagnostics: 1; DM6PR02MB4460;
- 4:r2OWd2cou5EkPqEuZDe4080TVw361TX3MEsXCN8iixg8OEdN0F/J5W8b6P54ahgUgyqB3TIN7is2VLxmAGA6rTHnU7FBnTdE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KyTc5XINUR0b+plwabAV5FHB7Ff6nu8xOe7NPk/qyfcaoWlrY0De4HeyUrdJFqbQ0VisR7F9Ia7+APkA5vWL98yTa06Qb0jVBf6mYV0KVbOiYCH6XUFzOhbP+xmYW9aILzZkd9fuprFdNLOwp5A3Uq54GeNS1mSzGXzsctZXCTtBV+YybC5vfmSY7P6inExoalDN5mYqz/zuYq9ab2sfwSn9cJoPPOiLUsBI85+L28o2hCwWoGH9chclyA0fbJ651sICCODBSsNiAowo2dsO+m9qOk0x2KzSsq4Qn8iLP9OKekaFSfNvOg==;
- 5:A4w4g/McXH1IK9/H+I+hFnPC7PqTWdIEYUKeeDqV8tdnS73RObxsTXsaQtb5sNbdq0+FymsmpMO+Dlj+KLuWk0hNWeccqH45coI+VCkimvrfoNr3tVNTW7YlNC68TKGVZv7icxewUd/RHIVVMxUtvTfzsMmGvUvo5I1leE1jIL4=;
- 7:T1q2oGp7WDec0EgENmQP3yaoRg+mewYI2OUoWdFfY9DGXAGcK2+WjdxfKYcbAVKaJ2yVb1U5NACbS1jB5NOM9JxI78KDFR7UiDfow0UxxuCX9ku10OmuUHMWOUGOUxV1vYogQ5d592LSwcSgDwuTHVz8S+lri1MkxW0Zx4ZRzBgTOGKgBm4UQcddq4bqYI8zGNCOzXtcT82Ote3iVj0ARJbC1AMNgjLv6u6lInDb+2YYNREwCsOvQ8vTqHgaRpnS
-SpamDiagnosticOutput: 1:99
-SpamDiagnosticMetadata: NSPM
-X-OriginatorOrg: xilinx.com
-X-MS-Exchange-CrossTenant-OriginalArrivalTime: 03 Aug 2018 17:53:52.9907 (UTC)
-X-MS-Exchange-CrossTenant-Network-Message-Id:
- 55c5c80a-6d3d-40b7-469a-08d5f96a1405
-X-MS-Exchange-CrossTenant-Id: 657af505-d5df-48d0-8300-c31994686c5c
-X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp:
- TenantId=657af505-d5df-48d0-8300-c31994686c5c; Ip=[149.199.60.83];
- Helo=[xsj-pvapsmtpgw01]
-X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem
-X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM6PR02MB4460
-X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3
-X-CRM114-CacheID: sfid-20180803_105408_040914_83BEDE27
-X-CRM114-Status: GOOD ( 10.27 )
-X-BeenThere: linux-arm-kernel@lists.infradead.org
-X-Mailman-Version: 2.1.21
-Precedence: list
-List-Id: <linux-arm-kernel.lists.infradead.org>
-List-Unsubscribe:
- <http://lists.infradead.org/mailman/options/linux-arm-kernel>,
- <mailto:linux-arm-kernel-request@lists.infradead.org?subject=unsubscribe>
-List-Archive: <http://lists.infradead.org/pipermail/linux-arm-kernel/>
-List-Post: <mailto:linux-arm-kernel@lists.infradead.org>
-List-Help: <mailto:linux-arm-kernel-request@lists.infradead.org?subject=help>
-List-Subscribe:
- <http://lists.infradead.org/mailman/listinfo/linux-arm-kernel>,
- <mailto:linux-arm-kernel-request@lists.infradead.org?subject=subscribe>
-Cc: devicetree@vger.kernel.org, rajanv@xilinx.com,
- linux-kernel@vger.kernel.org,
- linux-arm-kernel@lists.infradead.org, Jolly Shah <jollys@xilinx.com>
-Content-Type: text/plain; charset="us-ascii"
-Sender: "linux-arm-kernel" <linux-arm-kernel-bounces@lists.infradead.org>
-Errors-To:
- linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org
-X-Virus-Scanned: ClamAV using ClamSMTP
-
-From: Rajan Vaja <rajanv@xilinx.com>
-
-Add documentation to describe Xilinx ZynqMP firmware driver
-bindings. Firmware driver provides an interface to firmware
-APIs. Interface APIs can be used by any driver to communicate
-to PMUFW (Platform Management Unit).
-
-Signed-off-by: Rajan Vaja <rajanv@xilinx.com>
-Signed-off-by: Jolly Shah <jollys@xilinx.com>
-Reviewed-by: Rob Herring <robh@kernel.org>
----
- .../firmware/xilinx/xlnx,zynqmp-firmware.txt | 29 ++++++++++++++++++++++
- 1 file changed, 29 insertions(+)
- create mode 100644 Documentation/devicetree/bindings/firmware/xilinx/xlnx,zynqmp-firmware.txt
-
-diff --git a/Documentation/devicetree/bindings/firmware/xilinx/xlnx,zynqmp-firmware.txt b/Documentation/devicetree/bindings/firmware/xilinx/xlnx,zynqmp-firmware.txt
-new file mode 100644
-index 0000000..1b431d9
---- /dev/null
-+++ b/Documentation/devicetree/bindings/firmware/xilinx/xlnx,zynqmp-firmware.txt
-@@ -0,0 +1,29 @@
-+-----------------------------------------------------------------
-+Device Tree Bindings for the Xilinx Zynq MPSoC Firmware Interface
-+-----------------------------------------------------------------
-+
-+The zynqmp-firmware node describes the interface to platform firmware.
-+ZynqMP has an interface to communicate with secure firmware. Firmware
-+driver provides an interface to firmware APIs. Interface APIs can be
-+used by any driver to communicate to PMUFW(Platform Management Unit).
-+These requests include clock management, pin control, device control,
-+power management service, FPGA service and other platform management
-+services.
-+
-+Required properties:
-+ - compatible: Must contain: "xlnx,zynqmp-firmware"
-+ - method: The method of calling the PM-API firmware layer.
-+ Permitted values are:
-+ - "smc" : SMC #0, following the SMCCC
-+ - "hvc" : HVC #0, following the SMCCC
-+
-+-------
-+Example
-+-------
-+
-+firmware {
-+ zynqmp_firmware: zynqmp-firmware {
-+ compatible = "xlnx,zynqmp-firmware";
-+ method = "smc";
-+ };
-+};
-
-From patchwork Fri Aug 3 17:53:19 2018
-Content-Type: text/plain; charset="utf-8"
-MIME-Version: 1.0
-Content-Transfer-Encoding: 7bit
-X-Patchwork-Submitter: Jolly Shah <jolly.shah@xilinx.com>
-X-Patchwork-Id: 10555401
-Return-Path:
- <linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org>
-Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org
- [172.30.200.125])
- by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 7750E15E9
- for <patchwork-linux-arm@patchwork.kernel.org>;
- Fri, 3 Aug 2018 17:55:17 +0000 (UTC)
-Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1])
- by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 6163D2C91B
- for <patchwork-linux-arm@patchwork.kernel.org>;
- Fri, 3 Aug 2018 17:55:17 +0000 (UTC)
-Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486)
- id 553D32C92A; Fri, 3 Aug 2018 17:55:17 +0000 (UTC)
-X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on
- pdx-wl-mail.web.codeaurora.org
-X-Spam-Level:
-X-Spam-Status: No, score=-2.9 required=2.0 tests=BAD_ENC_HEADER,BAYES_00,
- DKIM_SIGNED,DKIM_VALID,MAILING_LIST_MULTI autolearn=unavailable version=3.3.1
-Received: from bombadil.infradead.org (bombadil.infradead.org
- [198.137.202.133])
- (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits))
- (No client certificate requested)
- by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 766AA2C91B
- for <patchwork-linux-arm@patchwork.kernel.org>;
- Fri, 3 Aug 2018 17:55:16 +0000 (UTC)
-DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed;
- d=lists.infradead.org; s=bombadil.20170209; h=Sender:
- Content-Transfer-Encoding:Content-Type:Cc:List-Subscribe:List-Help:List-Post:
- List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To:
- Message-ID:Date:Subject:To:From:Reply-To:Content-ID:Content-Description:
- Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:
- List-Owner; bh=7mCjWnQwC2Z85YWVZkbTmPmS3NfnsqjkMkSNqvoFRSU=; b=XS5VQkVqSGz7ko
- o5vwgp6kjHfCbYwqJxwl91v0KTZ5RXJCKF2O7GiBX6fjnIiEUcexlA1x6Xgqj2NPeP/eN2wVyoZuL
- r/kSjecGWh5Htb3yNccczZW8q468o9835UaaVMG4PZsue4SdQhhZ9L+e6Uo/gn7clJbIW7Y12xQvd
- 6LARryt/HldiegLIvlhCyDTTEmhzEu5iB28bm0K8tm91nsxfqO0qMPWpTE6hKK0Avi20uF8eFHJpA
- 4+xywFxUhWeaIC3QKpXrgvIPpX3VISfaOm1rjBE8smraokQO+mLBtJWB/pnj4oByMkp0BGsSsytfK
- oUSBXc/6zamEiFxGMMNA==;
-Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org)
- by bombadil.infradead.org with esmtp (Exim 4.90_1 #2 (Red Hat Linux))
- id 1fleIC-00045h-4B; Fri, 03 Aug 2018 17:55:12 +0000
-Received: from mail-dm3nam03on0603.outbound.protection.outlook.com
- ([2a01:111:f400:fe49::603]
- helo=NAM03-DM3-obe.outbound.protection.outlook.com)
- by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux))
- id 1fleHB-0002lG-2q
- for linux-arm-kernel@lists.infradead.org; Fri, 03 Aug 2018 17:54:16 +0000
-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
- d=xilinx.onmicrosoft.com; s=selector1-xilinx-com;
- h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck;
- bh=c6Tqd00q99GCo7Zqz6V0mcAdefcyuAndIi1uNYaDR7M=;
- b=thQ4eY3QXuVtmncr+GYIZmI4lOHnODT6naiqyNafFJmLDttEFLN62PlzG2b/YiKknIuUFE9wIE1+FdGbIJYn/WLxMg7HDo3IZi/q1VP4jScfx10CysvJTgnF0QQ/4BSK4G64gQLw0HCDs2YT2g9VfwNsuAQbLvhqmq+vHOZ+X/o=
-Received: from MWHPR0201CA0053.namprd02.prod.outlook.com
- (2603:10b6:301:73::30) by BL0PR02MB4452.namprd02.prod.outlook.com
- (2603:10b6:208:45::29) with Microsoft SMTP Server (version=TLS1_2,
- cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.1017.15; Fri, 3 Aug
- 2018 17:53:54 +0000
-Received: from CY1NAM02FT056.eop-nam02.prod.protection.outlook.com
- (2a01:111:f400:7e45::209) by MWHPR0201CA0053.outlook.office365.com
- (2603:10b6:301:73::30) with Microsoft SMTP Server (version=TLS1_2,
- cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384) id 15.20.1017.15 via Frontend
- Transport; Fri, 3 Aug 2018 17:53:53 +0000
-Authentication-Results: spf=pass (sender IP is 149.199.60.83)
- smtp.mailfrom=xilinx.com; linaro.org; dkim=none (message not signed)
- header.d=none;linaro.org; dmarc=bestguesspass action=none
- header.from=xilinx.com;
-Received-SPF: Pass (protection.outlook.com: domain of xilinx.com designates
- 149.199.60.83 as permitted sender) receiver=protection.outlook.com;
- client-ip=149.199.60.83; helo=xsj-pvapsmtpgw01;
-Received: from xsj-pvapsmtpgw01 (149.199.60.83) by
- CY1NAM02FT056.mail.protection.outlook.com (10.152.74.160) with Microsoft SMTP
- Server (version=TLS1_0, cipher=TLS_RSA_WITH_AES_256_CBC_SHA) id 15.20.1038.3
- via Frontend Transport; Fri, 3 Aug 2018 17:53:52 +0000
-Received: from unknown-38-66.xilinx.com ([149.199.38.66] helo=xsj-pvapsmtp01)
- by xsj-pvapsmtpgw01 with esmtp (Exim 4.63)
- (envelope-from <jolly.shah@xilinx.com>)
- id 1fleGt-0004fd-Vc; Fri, 03 Aug 2018 10:53:51 -0700
-Received: from [127.0.0.1] (helo=localhost)
- by xsj-pvapsmtp01 with smtp (Exim 4.63)
- (envelope-from <jolly.shah@xilinx.com>)
- id 1fleGo-0007cn-SJ; Fri, 03 Aug 2018 10:53:46 -0700
-Received: from [172.19.2.91] (helo=xsjjollys50.xilinx.com)
- by xsj-pvapsmtp01 with esmtp (Exim 4.63)
- (envelope-from <jollys@xilinx.com>)
- id 1fleGl-0007bh-8F; Fri, 03 Aug 2018 10:53:43 -0700
-From: Jolly Shah <jolly.shah@xilinx.com>
-To: <ard.biesheuvel@linaro.org>, <mingo@kernel.org>,
- <gregkh@linuxfoundation.org>, <matt@codeblueprint.co.uk>,
- <sudeep.holla@arm.com>, <hkallweit1@gmail.com>, <keescook@chromium.org>,
- <dmitry.torokhov@gmail.com>, <mturquette@baylibre.com>,
- <sboyd@codeaurora.org>, <michal.simek@xilinx.com>, <robh+dt@kernel.org>,
- <mark.rutland@arm.com>, <linux-clk@vger.kernel.org>
-Subject: [PATCH v11 02/11] firmware: xilinx: Add Zynqmp firmware driver
-Date: Fri, 3 Aug 2018 10:53:19 -0700
-Message-ID: <1533318808-10781-3-git-send-email-jollys@xilinx.com>
-X-Mailer: git-send-email 2.7.4
-In-Reply-To: <1533318808-10781-1-git-send-email-jollys@xilinx.com>
-References: <1533318808-10781-1-git-send-email-jollys@xilinx.com>
-X-TM-AS-Product-Ver: IMSS-7.1.0.1224-8.2.0.1013-23620.005
-X-TM-AS-User-Approved-Sender: Yes;Yes
-X-EOPAttributedMessage: 0
-X-MS-Office365-Filtering-HT: Tenant
-X-Forefront-Antispam-Report: CIP:149.199.60.83; IPV:NLI; CTRY:US; EFV:NLI;
- SFV:NSPM;
- SFS:(10009020)(346002)(39860400002)(376002)(396003)(136003)(2980300002)(438002)(189003)(199004)(81156014)(8676002)(6666003)(50466002)(81166006)(5660300001)(2201001)(36386004)(575784001)(48376002)(39060400002)(356003)(4326008)(107886003)(305945005)(63266004)(7416002)(44832011)(106466001)(76176011)(106002)(9786002)(14444005)(16586007)(50226002)(36756003)(77096007)(47776003)(8936002)(316002)(2906002)(26005)(426003)(11346002)(446003)(478600001)(486006)(51416003)(7696005)(336012)(110136005)(54906003)(476003)(126002)(2616005)(72206003)(186003)(921003)(107986001)(1121003);
- DIR:OUT; SFP:1101; SCL:1; SRVR:BL0PR02MB4452; H:xsj-pvapsmtpgw01; FPR:;
- SPF:Pass; LANG:en; PTR:unknown-60-83.xilinx.com; MX:1; A:1;
-X-Microsoft-Exchange-Diagnostics: 1; CY1NAM02FT056;
- 1:F4jMf6J/39XBmifXqxNtYOZTCZpcJZZ7MSycw/JSWOiK+Wtjsi2dwqcZqUV9h0aPg4Rki7CIrBTUcY0XwQVGuJEcx8xz9UWJN94nfuwCqdSEx6xfT071vWIxylTdBnj9
-MIME-Version: 1.0
-X-MS-PublicTrafficType: Email
-X-MS-Office365-Filtering-Correlation-Id: df491755-30fb-454a-d0fa-08d5f96a13b2
-X-Microsoft-Antispam: BCL:0; PCL:0;
- RULEID:(7020095)(4652040)(8989117)(4534165)(4627221)(201703031133081)(201702281549075)(8990107)(5600074)(711020)(4608076)(2017052603328)(7153060);
- SRVR:BL0PR02MB4452;
-X-Microsoft-Exchange-Diagnostics: 1; BL0PR02MB4452;
- 3:u3DQYeOwlKNEyTS7MxxHk3buRABhOUox/VC7HOVctIBNwPnMSAKIwXNqdNOoWo7uw/ekvkX/hze4JFl1xtvmtGg6BAg3dRo+HoC2CP0Fi2k6Aa5aur4STSN+iBc9pvTnhnixAX5gGxwuyAir3pVWw71c9sh2Cb+8Pyle9CeD8m4gtLpB6bNlZ/pSb8g4gioqVdRRa1mP78N5FxAJIE3Hix/L/N8hSO70ai+w6/sE61pIhy/wvw4zWdAVK/+/PXZIc2HwA4FvrnCuG+9oaMFyo7JAcs1QPss2r3qB2YnwVikz77yfJ9IJ/YWIiQzTLlF2KvhQhLsz1iv/zi1xiSbpSNKJFDBA4ZPduHmO+VHN5P8=;
- 25:LXJ2Vp0S2PhNyuQpuooRWPDEQCDCFctChZ7NtQBffAH7j0HpBmn91ZJf/UvJGyN+WaoKdJaBpJOWInm/kLyzpa2/ra1jyqhBAn2fsPuzZ0Xh7c+5wDJ/qJoW/FedMTKQ7uWhGwb8HGxOavMr7R51Nud12+loQJyUCKrOCkAIcSv+1tA+QMSOEGkDzKsWkEA02WmnzFl7xqKwyMAqLwgw5TZdhL8Wp+EMs7tU5VkMqpxVRVb4/UD5Fy2lLoVZRQO9MY5MJeCv6WIvuA0V4ufw1GhFfJvLRSIVwHWONf9GjGuEmuWl9ho6Wv40bR+2smxGToxoH2xooQnhZxbkLbxVdw==
-X-MS-TrafficTypeDiagnostic: BL0PR02MB4452:
-X-Microsoft-Exchange-Diagnostics: 1; BL0PR02MB4452;
- 31:gAD/0l4A22RMMz3cA77FGvYUYsqp7N985YvCQnxLWHoCHncGUMZL+KmuVQcYhKrluSa3gW0YAxB1QQk3b7NHltL454qdM5hlhADX+WeP/k8jkyahuhHWc278gplw74Zi6AiGSbTV9ybUcrYnyTst1AA6QgRd/gUAYLFQ9KhiZIOWfN+xjPjisNhmqjrx3fzaKZsQ2eGPWATXw/IgsnFG88uAapDzoNTzeKbn0H/ZHjw=;
- 20:m6IjijVa+swdSqlECYcegH7AeaWGnFJZJ67tBzrbOBgVOBKKlXLmYQrIyVo3o8Y1iayTFD5fHw4+0xPN14S3QUR8Ie8m8slJvMTi3d6HAH+75z95ngoHvp40xGmnnLFGrahkxoP44ACWkEGr8Y14jyXjnEzZGxuRqD5ewoA84bsH2Ks8V3t1E9MId75x+x5YAk1ITtmvYDdlfkqp/R8V5BjLbVA4iNkpHft/9bYyxEiI7PUT39DpgHjvnHaHXxEj8PfjHHVMObDr0uciKD5EqhviW2GB/RKKnSxU6PHFj0ACl+j3L+NfBkHbaMD/Pc797Z4IV8ZhdJCbTK18Ka+UqIy7hHDDYI9mSMx8FtsMsCGGnTfoDrV6Muj6g66b91/d5CsHMpkFRREI7htfE+wTpB4pNSxnyF13T5iiIsdnxKFWJK4h/Ojoy8Gmh1MqKGguoKbGszzoKwgnWlKW0W9aFYYmZTb863zqWSTtrOwZqsGTls6RX2lXPuKMZtSkEoho
-X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply
-X-Microsoft-Antispam-PRVS:
- <BL0PR02MB44522F11AC356B8A5A575B76B8230@BL0PR02MB4452.namprd02.prod.outlook.com>
-X-Exchange-Antispam-Report-Test: UriScan:(192813158149592);
-X-MS-Exchange-SenderADCheck: 1
-X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0;
- RULEID:(8211001083)(6040522)(2401047)(8121501046)(5005006)(3231311)(944501410)(52105095)(3002001)(93006095)(93004095)(10201501046)(6055026)(149027)(150027)(6041310)(20161123564045)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(20161123558120)(20161123562045)(20161123560045)(6072148)(201708071742011)(7699016);
- SRVR:BL0PR02MB4452; BCL:0; PCL:0; RULEID:; SRVR:BL0PR02MB4452;
-X-Microsoft-Exchange-Diagnostics: 1; BL0PR02MB4452;
- 4:S1wOMZKx46XEgQla1475Tc9TEw2kgWJkcVsL0CDFGaXSOMIIY736AjSmYireGlAatx9RbgpQFaPlM7TfODrR65ZHyghGtvEDcC/7CukUAsgmZqGxFZZMO83wP1xGYJNrT8L+VM0CtATBCVyiShDY/3nrQBh9CJq0zQpwengwEZLJgGrcLbEm4XbMkIXljMG92NM5qZwqgi14GWXuQL5irl54VviDeeH/in1QGc5GfwwXcpfTOPW5ayhm7NsHZx48kIP48arXJ5yCvptPDFOS8TeI65FU6nbGS8aPo8eh9q5UNCNJDwzXu9n0EE8KoES9
-X-Forefront-PRVS: 0753EA505A
-X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; BL0PR02MB4452;
- 23:4SmKEBJfIiPDNKrH/YSFqfMAsxGv8UJjmXMIEw0O1?=
- WCrOK0AkD60wh1VrqwSP78kTCrAjLDvbbtFalM2I/LEYfqFfpJwIercxDOEtVgcedzlEIQqUtbC0J2HvDHHoPDsgcBrXIvoobF5RKReA35NCBIeoGiYIcOSNugKQ8FNtMiIZoHeMrDx6S7dkqOZKoheFUXw7KV5hyggAIw8aBqOcU9TfjSpVE1NcLHv3ZYER4p+lZOpzG3JCqZudgIrMMwyveYHy054HnHUFrSEZEsWhiGm95jxUEAy8r6Q7nwXTV5nHSRLEnLhzIHT4IgIVoTLjNKbx3uvEMiR08IOVEvPY5CdqIWTcRk7IqVlu+XL932/hKvLili2xCyHCgnCWJditDGrodQ9KZS/llESbsLq0tBAfjrME9ZDmwLkq/XftOthxOGGbvnD5FIObG3ZUGq9mFCAs+PHtAzXvZ58fBUyLtuewBVVhdJ+Zop2eluuScCthB8Vj/2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osticMetadata: NSPM
-X-OriginatorOrg: xilinx.com
-X-MS-Exchange-CrossTenant-OriginalArrivalTime: 03 Aug 2018 17:53:52.4503 (UTC)
-X-MS-Exchange-CrossTenant-Network-Message-Id:
- df491755-30fb-454a-d0fa-08d5f96a13b2
-X-MS-Exchange-CrossTenant-Id: 657af505-d5df-48d0-8300-c31994686c5c
-X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp:
- TenantId=657af505-d5df-48d0-8300-c31994686c5c; Ip=[149.199.60.83];
- Helo=[xsj-pvapsmtpgw01]
-X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem
-X-MS-Exchange-Transport-CrossTenantHeadersStamped: BL0PR02MB4452
-X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3
-X-CRM114-CacheID: sfid-20180803_105409_719133_0B57AB3C
-X-CRM114-Status: GOOD ( 14.32 )
-X-BeenThere: linux-arm-kernel@lists.infradead.org
-X-Mailman-Version: 2.1.21
-Precedence: list
-List-Id: <linux-arm-kernel.lists.infradead.org>
-List-Unsubscribe:
- <http://lists.infradead.org/mailman/options/linux-arm-kernel>,
- <mailto:linux-arm-kernel-request@lists.infradead.org?subject=unsubscribe>
-List-Archive: <http://lists.infradead.org/pipermail/linux-arm-kernel/>
-List-Post: <mailto:linux-arm-kernel@lists.infradead.org>
-List-Help: <mailto:linux-arm-kernel-request@lists.infradead.org?subject=help>
-List-Subscribe:
- <http://lists.infradead.org/mailman/listinfo/linux-arm-kernel>,
- <mailto:linux-arm-kernel-request@lists.infradead.org?subject=subscribe>
-Cc: devicetree@vger.kernel.org, rajanv@xilinx.com,
- linux-kernel@vger.kernel.org,
- linux-arm-kernel@lists.infradead.org, Jolly Shah <jollys@xilinx.com>
-Content-Type: text/plain; charset="us-ascii"
-Sender: "linux-arm-kernel" <linux-arm-kernel-bounces@lists.infradead.org>
-Errors-To:
- linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org
-X-Virus-Scanned: ClamAV using ClamSMTP
-
-From: Rajan Vaja <rajanv@xilinx.com>
-
-This patch is adding communication layer with firmware.
-Firmware driver provides an interface to firmware APIs.
-Interface APIs can be used by any driver to communicate to
-PMUFW(Platform Management Unit). All requests go through ATF.
-
-Signed-off-by: Rajan Vaja <rajanv@xilinx.com>
-Signed-off-by: Jolly Shah <jollys@xilinx.com>
----
- arch/arm64/Kconfig.platforms | 1 +
- drivers/firmware/Kconfig | 1 +
- drivers/firmware/Makefile | 1 +
- drivers/firmware/xilinx/Kconfig | 16 ++
- drivers/firmware/xilinx/Makefile | 4 +
- drivers/firmware/xilinx/zynqmp.c | 337 +++++++++++++++++++++++++++++++++++
- include/linux/firmware/xlnx-zynqmp.h | 63 +++++++
- 7 files changed, 423 insertions(+)
- create mode 100644 drivers/firmware/xilinx/Kconfig
- create mode 100644 drivers/firmware/xilinx/Makefile
- create mode 100644 drivers/firmware/xilinx/zynqmp.c
- create mode 100644 include/linux/firmware/xlnx-zynqmp.h
-
-diff --git a/arch/arm64/Kconfig.platforms b/arch/arm64/Kconfig.platforms
-index fbedbd8..6454458 100644
---- a/arch/arm64/Kconfig.platforms
-+++ b/arch/arm64/Kconfig.platforms
-@@ -274,6 +274,7 @@ config ARCH_ZX
-
- config ARCH_ZYNQMP
- bool "Xilinx ZynqMP Family"
-+ select ZYNQMP_FIRMWARE
- help
- This enables support for Xilinx ZynqMP Family
-
-diff --git a/drivers/firmware/Kconfig b/drivers/firmware/Kconfig
-index b7c7482..f41eb0d 100644
---- a/drivers/firmware/Kconfig
-+++ b/drivers/firmware/Kconfig
-@@ -257,5 +257,6 @@ source "drivers/firmware/google/Kconfig"
- source "drivers/firmware/efi/Kconfig"
- source "drivers/firmware/meson/Kconfig"
- source "drivers/firmware/tegra/Kconfig"
-+source "drivers/firmware/xilinx/Kconfig"
-
- endmenu
-diff --git a/drivers/firmware/Makefile b/drivers/firmware/Makefile
-index b248238..f90363e 100644
---- a/drivers/firmware/Makefile
-+++ b/drivers/firmware/Makefile
-@@ -31,3 +31,4 @@ obj-$(CONFIG_GOOGLE_FIRMWARE) += google/
- obj-$(CONFIG_EFI) += efi/
- obj-$(CONFIG_UEFI_CPER) += efi/
- obj-y += tegra/
-+obj-y += xilinx/
-diff --git a/drivers/firmware/xilinx/Kconfig b/drivers/firmware/xilinx/Kconfig
-new file mode 100644
-index 0000000..64d976e
---- /dev/null
-+++ b/drivers/firmware/xilinx/Kconfig
-@@ -0,0 +1,16 @@
-+# SPDX-License-Identifier: GPL-2.0
-+# Kconfig for Xilinx firmwares
-+
-+menu "Zynq MPSoC Firmware Drivers"
-+ depends on ARCH_ZYNQMP
-+
-+config ZYNQMP_FIRMWARE
-+ bool "Enable Xilinx Zynq MPSoC firmware interface"
-+ help
-+ Firmware interface driver is used by different
-+ drivers to communicate with the firmware for
-+ various platform management services.
-+ Say yes to enable ZynqMP firmware interface driver.
-+ If in doubt, say N.
-+
-+endmenu
-diff --git a/drivers/firmware/xilinx/Makefile b/drivers/firmware/xilinx/Makefile
-new file mode 100644
-index 0000000..29f7bf2
---- /dev/null
-+++ b/drivers/firmware/xilinx/Makefile
-@@ -0,0 +1,4 @@
-+# SPDX-License-Identifier: GPL-2.0
-+# Makefile for Xilinx firmwares
-+
-+obj-$(CONFIG_ZYNQMP_FIRMWARE) += zynqmp.o
-diff --git a/drivers/firmware/xilinx/zynqmp.c b/drivers/firmware/xilinx/zynqmp.c
-new file mode 100644
-index 0000000..edbb84e
---- /dev/null
-+++ b/drivers/firmware/xilinx/zynqmp.c
-@@ -0,0 +1,337 @@
-+// SPDX-License-Identifier: GPL-2.0
-+/*
-+ * Xilinx Zynq MPSoC Firmware layer
-+ *
-+ * Copyright (C) 2014-2018 Xilinx, Inc.
-+ *
-+ * Michal Simek <michal.simek@xilinx.com>
-+ * Davorin Mista <davorin.mista@aggios.com>
-+ * Jolly Shah <jollys@xilinx.com>
-+ * Rajan Vaja <rajanv@xilinx.com>
-+ */
-+
-+#include <linux/arm-smccc.h>
-+#include <linux/compiler.h>
-+#include <linux/device.h>
-+#include <linux/init.h>
-+#include <linux/module.h>
-+#include <linux/of.h>
-+#include <linux/of_platform.h>
-+#include <linux/slab.h>
-+#include <linux/uaccess.h>
-+
-+#include <linux/firmware/xlnx-zynqmp.h>
-+
-+/**
-+ * zynqmp_pm_ret_code() - Convert PMU-FW error codes to Linux error codes
-+ * @ret_status: PMUFW return code
-+ *
-+ * Return: corresponding Linux error code
-+ */
-+static int zynqmp_pm_ret_code(u32 ret_status)
-+{
-+ switch (ret_status) {
-+ case XST_PM_SUCCESS:
-+ case XST_PM_DOUBLE_REQ:
-+ return 0;
-+ case XST_PM_NO_ACCESS:
-+ return -EACCES;
-+ case XST_PM_ABORT_SUSPEND:
-+ return -ECANCELED;
-+ case XST_PM_INTERNAL:
-+ case XST_PM_CONFLICT:
-+ case XST_PM_INVALID_NODE:
-+ default:
-+ return -EINVAL;
-+ }
-+}
-+
-+static noinline int do_fw_call_fail(u64 arg0, u64 arg1, u64 arg2,
-+ u32 *ret_payload)
-+{
-+ return -ENODEV;
-+}
-+
-+/*
-+ * PM function call wrapper
-+ * Invoke do_fw_call_smc or do_fw_call_hvc, depending on the configuration
-+ */
-+static int (*do_fw_call)(u64, u64, u64, u32 *ret_payload) = do_fw_call_fail;
-+
-+/**
-+ * do_fw_call_smc() - Call system-level platform management layer (SMC)
-+ * @arg0: Argument 0 to SMC call
-+ * @arg1: Argument 1 to SMC call
-+ * @arg2: Argument 2 to SMC call
-+ * @ret_payload: Returned value array
-+ *
-+ * Invoke platform management function via SMC call (no hypervisor present).
-+ *
-+ * Return: Returns status, either success or error+reason
-+ */
-+static noinline int do_fw_call_smc(u64 arg0, u64 arg1, u64 arg2,
-+ u32 *ret_payload)
-+{
-+ struct arm_smccc_res res;
-+
-+ arm_smccc_smc(arg0, arg1, arg2, 0, 0, 0, 0, 0, &res);
-+
-+ if (ret_payload) {
-+ ret_payload[0] = lower_32_bits(res.a0);
-+ ret_payload[1] = upper_32_bits(res.a0);
-+ ret_payload[2] = lower_32_bits(res.a1);
-+ ret_payload[3] = upper_32_bits(res.a1);
-+ }
-+
-+ return zynqmp_pm_ret_code((enum pm_ret_status)res.a0);
-+}
-+
-+/**
-+ * do_fw_call_hvc() - Call system-level platform management layer (HVC)
-+ * @arg0: Argument 0 to HVC call
-+ * @arg1: Argument 1 to HVC call
-+ * @arg2: Argument 2 to HVC call
-+ * @ret_payload: Returned value array
-+ *
-+ * Invoke platform management function via HVC
-+ * HVC-based for communication through hypervisor
-+ * (no direct communication with ATF).
-+ *
-+ * Return: Returns status, either success or error+reason
-+ */
-+static noinline int do_fw_call_hvc(u64 arg0, u64 arg1, u64 arg2,
-+ u32 *ret_payload)
-+{
-+ struct arm_smccc_res res;
-+
-+ arm_smccc_hvc(arg0, arg1, arg2, 0, 0, 0, 0, 0, &res);
-+
-+ if (ret_payload) {
-+ ret_payload[0] = lower_32_bits(res.a0);
-+ ret_payload[1] = upper_32_bits(res.a0);
-+ ret_payload[2] = lower_32_bits(res.a1);
-+ ret_payload[3] = upper_32_bits(res.a1);
-+ }
-+
-+ return zynqmp_pm_ret_code((enum pm_ret_status)res.a0);
-+}
-+
-+/**
-+ * zynqmp_pm_invoke_fn() - Invoke the system-level platform management layer
-+ * caller function depending on the configuration
-+ * @pm_api_id: Requested PM-API call
-+ * @arg0: Argument 0 to requested PM-API call
-+ * @arg1: Argument 1 to requested PM-API call
-+ * @arg2: Argument 2 to requested PM-API call
-+ * @arg3: Argument 3 to requested PM-API call
-+ * @ret_payload: Returned value array
-+ *
-+ * Invoke platform management function for SMC or HVC call, depending on
-+ * configuration.
-+ * Following SMC Calling Convention (SMCCC) for SMC64:
-+ * Pm Function Identifier,
-+ * PM_SIP_SVC + PM_API_ID =
-+ * ((SMC_TYPE_FAST << FUNCID_TYPE_SHIFT)
-+ * ((SMC_64) << FUNCID_CC_SHIFT)
-+ * ((SIP_START) << FUNCID_OEN_SHIFT)
-+ * ((PM_API_ID) & FUNCID_NUM_MASK))
-+ *
-+ * PM_SIP_SVC - Registered ZynqMP SIP Service Call.
-+ * PM_API_ID - Platform Management API ID.
-+ *
-+ * Return: Returns status, either success or error+reason
-+ */
-+int zynqmp_pm_invoke_fn(u32 pm_api_id, u32 arg0, u32 arg1,
-+ u32 arg2, u32 arg3, u32 *ret_payload)
-+{
-+ /*
-+ * Added SIP service call Function Identifier
-+ * Make sure to stay in x0 register
-+ */
-+ u64 smc_arg[4];
-+
-+ smc_arg[0] = PM_SIP_SVC | pm_api_id;
-+ smc_arg[1] = ((u64)arg1 << 32) | arg0;
-+ smc_arg[2] = ((u64)arg3 << 32) | arg2;
-+
-+ return do_fw_call(smc_arg[0], smc_arg[1], smc_arg[2], ret_payload);
-+}
-+
-+static u32 pm_api_version;
-+static u32 pm_tz_version;
-+
-+/**
-+ * zynqmp_pm_get_api_version() - Get version number of PMU PM firmware
-+ * @version: Returned version value
-+ *
-+ * Return: Returns status, either success or error+reason
-+ */
-+static int zynqmp_pm_get_api_version(u32 *version)
-+{
-+ u32 ret_payload[PAYLOAD_ARG_CNT];
-+ int ret;
-+
-+ if (!version)
-+ return -EINVAL;
-+
-+ /* Check is PM API version already verified */
-+ if (pm_api_version > 0) {
-+ *version = pm_api_version;
-+ return 0;
-+ }
-+ ret = zynqmp_pm_invoke_fn(PM_GET_API_VERSION, 0, 0, 0, 0, ret_payload);
-+ *version = ret_payload[1];
-+
-+ return ret;
-+}
-+
-+/**
-+ * zynqmp_pm_get_trustzone_version() - Get secure trustzone firmware version
-+ * @version: Returned version value
-+ *
-+ * Return: Returns status, either success or error+reason
-+ */
-+static int zynqmp_pm_get_trustzone_version(u32 *version)
-+{
-+ u32 ret_payload[PAYLOAD_ARG_CNT];
-+ int ret;
-+
-+ if (!version)
-+ return -EINVAL;
-+
-+ /* Check is PM trustzone version already verified */
-+ if (pm_tz_version > 0) {
-+ *version = pm_tz_version;
-+ return 0;
-+ }
-+ ret = zynqmp_pm_invoke_fn(PM_GET_TRUSTZONE_VERSION, 0, 0,
-+ 0, 0, ret_payload);
-+ *version = ret_payload[1];
-+
-+ return ret;
-+}
-+
-+/**
-+ * get_set_conduit_method() - Choose SMC or HVC based communication
-+ * @np: Pointer to the device_node structure
-+ *
-+ * Use SMC or HVC-based functions to communicate with EL2/EL3.
-+ *
-+ * Return: Returns 0 on success or error code
-+ */
-+static int get_set_conduit_method(struct device_node *np)
-+{
-+ const char *method;
-+
-+ if (of_property_read_string(np, "method", &method)) {
-+ pr_warn("%s missing \"method\" property\n", __func__);
-+ return -ENXIO;
-+ }
-+
-+ if (!strcmp("hvc", method)) {
-+ do_fw_call = do_fw_call_hvc;
-+ } else if (!strcmp("smc", method)) {
-+ do_fw_call = do_fw_call_smc;
-+ } else {
-+ pr_warn("%s Invalid \"method\" property: %s\n",
-+ __func__, method);
-+ return -EINVAL;
-+ }
-+
-+ return 0;
-+}
-+
-+static const struct zynqmp_eemi_ops eemi_ops = {
-+ .get_api_version = zynqmp_pm_get_api_version,
-+};
-+
-+/**
-+ * zynqmp_pm_get_eemi_ops - Get eemi ops functions
-+ *
-+ * Return: Pointer of eemi_ops structure
-+ */
-+const struct zynqmp_eemi_ops *zynqmp_pm_get_eemi_ops(void)
-+{
-+ return &eemi_ops;
-+}
-+EXPORT_SYMBOL_GPL(zynqmp_pm_get_eemi_ops);
-+
-+static int zynqmp_firmware_probe(struct platform_device *pdev)
-+{
-+ struct device *dev = &pdev->dev;
-+
-+ return of_platform_populate(dev->of_node, NULL, NULL, dev);
-+}
-+
-+static const struct of_device_id zynqmp_firmware_of_match[] = {
-+ {.compatible = "xlnx,zynqmp-firmware"},
-+ {},
-+};
-+MODULE_DEVICE_TABLE(of, zynqmp_firmware_of_match);
-+
-+static struct platform_driver zynqmp_firmware_driver = {
-+ .driver = {
-+ .name = "zynqmp_firmware",
-+ .of_match_table = zynqmp_firmware_of_match,
-+ },
-+ .probe = zynqmp_firmware_probe,
-+};
-+module_platform_driver(zynqmp_firmware_driver);
-+
-+static int __init zynqmp_plat_init(void)
-+{
-+ int ret;
-+ struct device_node *np;
-+
-+ np = of_find_compatible_node(NULL, NULL, "xlnx,zynqmp");
-+ if (!np)
-+ return 0;
-+ of_node_put(np);
-+
-+ /*
-+ * We're running on a ZynqMP machine,
-+ * the zynqmp-firmware node is mandatory.
-+ */
-+ np = of_find_compatible_node(NULL, NULL, "xlnx,zynqmp-firmware");
-+ if (!np) {
-+ pr_warn("%s: zynqmp-firmware node not found\n", __func__);
-+ return -ENXIO;
-+ }
-+
-+ ret = get_set_conduit_method(np);
-+ if (ret) {
-+ of_node_put(np);
-+ return ret;
-+ }
-+
-+ /* Check PM API version number */
-+ zynqmp_pm_get_api_version(&pm_api_version);
-+ if (pm_api_version < ZYNQMP_PM_VERSION) {
-+ panic("%s Platform Management API version error. Expected: v%d.%d - Found: v%d.%d\n",
-+ __func__,
-+ ZYNQMP_PM_VERSION_MAJOR, ZYNQMP_PM_VERSION_MINOR,
-+ pm_api_version >> 16, pm_api_version & 0xFFFF);
-+ }
-+
-+ pr_info("%s Platform Management API v%d.%d\n", __func__,
-+ pm_api_version >> 16, pm_api_version & 0xFFFF);
-+
-+ /* Check trustzone version number */
-+ ret = zynqmp_pm_get_trustzone_version(&pm_tz_version);
-+ if (ret)
-+ panic("Legacy trustzone found without version support\n");
-+
-+ if (pm_tz_version < ZYNQMP_TZ_VERSION)
-+ panic("%s Trustzone version error. Expected: v%d.%d - Found: v%d.%d\n",
-+ __func__,
-+ ZYNQMP_TZ_VERSION_MAJOR, ZYNQMP_TZ_VERSION_MINOR,
-+ pm_tz_version >> 16, pm_tz_version & 0xFFFF);
-+
-+ pr_info("%s Trustzone version v%d.%d\n", __func__,
-+ pm_tz_version >> 16, pm_tz_version & 0xFFFF);
-+
-+ of_node_put(np);
-+
-+ return ret;
-+}
-+early_initcall(zynqmp_plat_init);
-diff --git a/include/linux/firmware/xlnx-zynqmp.h b/include/linux/firmware/xlnx-zynqmp.h
-new file mode 100644
-index 0000000..cb63bed
---- /dev/null
-+++ b/include/linux/firmware/xlnx-zynqmp.h
-@@ -0,0 +1,63 @@
-+/* SPDX-License-Identifier: GPL-2.0 */
-+/*
-+ * Xilinx Zynq MPSoC Firmware layer
-+ *
-+ * Copyright (C) 2014-2018 Xilinx
-+ *
-+ * Michal Simek <michal.simek@xilinx.com>
-+ * Davorin Mista <davorin.mista@aggios.com>
-+ * Jolly Shah <jollys@xilinx.com>
-+ * Rajan Vaja <rajanv@xilinx.com>
-+ */
-+
-+#ifndef __FIRMWARE_ZYNQMP_H__
-+#define __FIRMWARE_ZYNQMP_H__
-+
-+#define ZYNQMP_PM_VERSION_MAJOR 1
-+#define ZYNQMP_PM_VERSION_MINOR 0
-+
-+#define ZYNQMP_PM_VERSION ((ZYNQMP_PM_VERSION_MAJOR << 16) | \
-+ ZYNQMP_PM_VERSION_MINOR)
-+
-+#define ZYNQMP_TZ_VERSION_MAJOR 1
-+#define ZYNQMP_TZ_VERSION_MINOR 0
-+
-+#define ZYNQMP_TZ_VERSION ((ZYNQMP_TZ_VERSION_MAJOR << 16) | \
-+ ZYNQMP_TZ_VERSION_MINOR)
-+
-+/* SMC SIP service Call Function Identifier Prefix */
-+#define PM_SIP_SVC 0xC2000000
-+#define PM_GET_TRUSTZONE_VERSION 0xa03
-+
-+/* Number of 32bits values in payload */
-+#define PAYLOAD_ARG_CNT 4U
-+
-+enum pm_api_id {
-+ PM_GET_API_VERSION = 1,
-+};
-+
-+/* PMU-FW return status codes */
-+enum pm_ret_status {
-+ XST_PM_SUCCESS = 0,
-+ XST_PM_INTERNAL = 2000,
-+ XST_PM_CONFLICT,
-+ XST_PM_NO_ACCESS,
-+ XST_PM_INVALID_NODE,
-+ XST_PM_DOUBLE_REQ,
-+ XST_PM_ABORT_SUSPEND,
-+};
-+
-+struct zynqmp_eemi_ops {
-+ int (*get_api_version)(u32 *version);
-+};
-+
-+#if IS_REACHABLE(CONFIG_ARCH_ZYNQMP)
-+const struct zynqmp_eemi_ops *zynqmp_pm_get_eemi_ops(void);
-+#else
-+static inline struct zynqmp_eemi_ops *zynqmp_pm_get_eemi_ops(void)
-+{
-+ return NULL;
-+}
-+#endif
-+
-+#endif /* __FIRMWARE_ZYNQMP_H__ */
-
-From patchwork Fri Aug 3 17:53:20 2018
-Content-Type: text/plain; charset="utf-8"
-MIME-Version: 1.0
-Content-Transfer-Encoding: 7bit
-X-Patchwork-Submitter: Jolly Shah <jolly.shah@xilinx.com>
-X-Patchwork-Id: 10555417
-Return-Path:
- <linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org>
-Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org
- [172.30.200.125])
- by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 91BF214E2
- for <patchwork-linux-arm@patchwork.kernel.org>;
- Fri, 3 Aug 2018 18:06:13 +0000 (UTC)
-Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1])
- by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 7E6142C1AF
- for <patchwork-linux-arm@patchwork.kernel.org>;
- Fri, 3 Aug 2018 18:06:13 +0000 (UTC)
-Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486)
- id 70B232C984; Fri, 3 Aug 2018 18:06:13 +0000 (UTC)
-X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on
- pdx-wl-mail.web.codeaurora.org
-X-Spam-Level:
-X-Spam-Status: No, score=-2.9 required=2.0 tests=BAD_ENC_HEADER,BAYES_00,
- DKIM_SIGNED,DKIM_VALID,MAILING_LIST_MULTI autolearn=unavailable version=3.3.1
-Received: from bombadil.infradead.org (bombadil.infradead.org
- [198.137.202.133])
- (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits))
- (No client certificate requested)
- by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 170142C1AF
- for <patchwork-linux-arm@patchwork.kernel.org>;
- Fri, 3 Aug 2018 18:06:13 +0000 (UTC)
-DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed;
- d=lists.infradead.org; s=bombadil.20170209; h=Sender:
- Content-Transfer-Encoding:Content-Type:Cc:List-Subscribe:List-Help:List-Post:
- List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To:
- Message-ID:Date:Subject:To:From:Reply-To:Content-ID:Content-Description:
- Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:
- List-Owner; bh=jz6LKO4I2dwn181XWtMCOq9Hd1kqEV1xqUWkQI6crAY=; b=kiVp7VRmI8zgnU
- r/5hK1KgczbBXgNRmIa3EnW+F2GkQ7e7Td/0zCAPNAlvAfqjGxmRZVMtojehW74wXU7sd9AgbFA4o
- RuKj9LeNGWmB3LAUtQDpkhE5U5xVRzUM/hdLx201nkxjqpETPtFGxLm/xrutjB7IdDDobZdFjRAJV
- KQyV1YrS4XKGi5scLkOqXGLj30C2KyGTUJv64IzqZunWuSaxln2Z23r+MPn4/2UrZD6KApsbgGKnt
- fihAeJG7kVT3m7XlB6xkMZ2LggL4X+MY41M8rx9Ziq4NUP6eBMK1M4ihlrlbpEBk+SUzWepAblugX
- UldLG5gfKjOen6V7UYSQ==;
-Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org)
- by bombadil.infradead.org with esmtp (Exim 4.90_1 #2 (Red Hat Linux))
- id 1fleSl-00028q-LW; Fri, 03 Aug 2018 18:06:07 +0000
-Received: from mail-bl2nam02on0609.outbound.protection.outlook.com
- ([2a01:111:f400:fe46::609]
- helo=NAM02-BL2-obe.outbound.protection.outlook.com)
- by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux))
- id 1fleHE-0002lN-SO
- for linux-arm-kernel@lists.infradead.org; Fri, 03 Aug 2018 17:54:17 +0000
-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
- d=xilinx.onmicrosoft.com; s=selector1-xilinx-com;
- h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck;
- bh=iY9q6XzlDsriWHdrcuaPTnv10bXo5ZNfFWWu1fIDmys=;
- b=PyH+SKJTMqScUwv89VJ+MKfI5lraVw6m7ZZJaAjG+waZ90iLQ2qG0TK7i9aZO39UB23PVtQihAh79ZiFpveFAM+dYBAHo3S4z0lBh8Ni6RBC6wQ3a6p/6zuC4FHVNmIGo6J9Jo1w7ca0jrwyjLfGOs777eDyc/yEo4wjaRkM+Y4=
-Received: from MWHPR02CA0012.namprd02.prod.outlook.com (2603:10b6:300:4b::22)
- by DM5PR0201MB3511.namprd02.prod.outlook.com (2603:10b6:4:77::11)
- with Microsoft SMTP Server (version=TLS1_2,
- cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.995.20; Fri, 3 Aug
- 2018 17:53:54 +0000
-Received: from CY1NAM02FT044.eop-nam02.prod.protection.outlook.com
- (2a01:111:f400:7e45::207) by MWHPR02CA0012.outlook.office365.com
- (2603:10b6:300:4b::22) with Microsoft SMTP Server (version=TLS1_2,
- cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384) id 15.20.1017.15 via Frontend
- Transport; Fri, 3 Aug 2018 17:53:53 +0000
-Authentication-Results: spf=pass (sender IP is 149.199.60.83)
- smtp.mailfrom=xilinx.com; linaro.org; dkim=none (message not signed)
- header.d=none;linaro.org; dmarc=bestguesspass action=none
- header.from=xilinx.com;
-Received-SPF: Pass (protection.outlook.com: domain of xilinx.com designates
- 149.199.60.83 as permitted sender) receiver=protection.outlook.com;
- client-ip=149.199.60.83; helo=xsj-pvapsmtpgw01;
-Received: from xsj-pvapsmtpgw01 (149.199.60.83) by
- CY1NAM02FT044.mail.protection.outlook.com (10.152.75.137) with Microsoft SMTP
- Server (version=TLS1_0, cipher=TLS_RSA_WITH_AES_256_CBC_SHA) id 15.20.1038.3
- via Frontend Transport; Fri, 3 Aug 2018 17:53:52 +0000
-Received: from unknown-38-66.xilinx.com ([149.199.38.66] helo=xsj-pvapsmtp01)
- by xsj-pvapsmtpgw01 with esmtp (Exim 4.63)
- (envelope-from <jolly.shah@xilinx.com>)
- id 1fleGu-0004fh-7w; Fri, 03 Aug 2018 10:53:52 -0700
-Received: from [127.0.0.1] (helo=localhost)
- by xsj-pvapsmtp01 with smtp (Exim 4.63)
- (envelope-from <jolly.shah@xilinx.com>)
- id 1fleGp-0007cn-47; Fri, 03 Aug 2018 10:53:47 -0700
-Received: from [172.19.2.91] (helo=xsjjollys50.xilinx.com)
- by xsj-pvapsmtp01 with esmtp (Exim 4.63)
- (envelope-from <jollys@xilinx.com>)
- id 1fleGl-0007bh-9X; Fri, 03 Aug 2018 10:53:43 -0700
-From: Jolly Shah <jolly.shah@xilinx.com>
-To: <ard.biesheuvel@linaro.org>, <mingo@kernel.org>,
- <gregkh@linuxfoundation.org>, <matt@codeblueprint.co.uk>,
- <sudeep.holla@arm.com>, <hkallweit1@gmail.com>, <keescook@chromium.org>,
- <dmitry.torokhov@gmail.com>, <mturquette@baylibre.com>,
- <sboyd@codeaurora.org>, <michal.simek@xilinx.com>, <robh+dt@kernel.org>,
- <mark.rutland@arm.com>, <linux-clk@vger.kernel.org>
-Subject: [PATCH v11 03/11] firmware: xilinx: Add zynqmp IOCTL API for device
- control
-Date: Fri, 3 Aug 2018 10:53:20 -0700
-Message-ID: <1533318808-10781-4-git-send-email-jollys@xilinx.com>
-X-Mailer: git-send-email 2.7.4
-In-Reply-To: <1533318808-10781-1-git-send-email-jollys@xilinx.com>
-References: <1533318808-10781-1-git-send-email-jollys@xilinx.com>
-X-TM-AS-Product-Ver: IMSS-7.1.0.1224-8.2.0.1013-23620.005
-X-TM-AS-User-Approved-Sender: Yes;Yes
-X-EOPAttributedMessage: 0
-X-MS-Office365-Filtering-HT: Tenant
-X-Forefront-Antispam-Report: CIP:149.199.60.83; IPV:NLI; CTRY:US; EFV:NLI;
- SFV:NSPM;
- SFS:(10009020)(346002)(376002)(396003)(136003)(39860400002)(2980300002)(438002)(199004)(189003)(107886003)(2201001)(39060400002)(106466001)(50226002)(217873002)(4326008)(9786002)(63266004)(77096007)(47776003)(5660300001)(26005)(110136005)(446003)(2906002)(426003)(50466002)(486006)(186003)(6666003)(305945005)(356003)(48376002)(336012)(316002)(81166006)(81156014)(76176011)(51416003)(106002)(8676002)(11346002)(2616005)(7696005)(476003)(126002)(72206003)(36386004)(36756003)(478600001)(16586007)(7416002)(44832011)(8936002)(54906003)(107986001)(921003)(1121003);
- DIR:OUT; SFP:1101; SCL:1; SRVR:DM5PR0201MB3511; H:xsj-pvapsmtpgw01; FPR:;
- SPF:Pass; LANG:en; PTR:unknown-60-83.xilinx.com; A:1; MX:1;
-X-Microsoft-Exchange-Diagnostics: 1; CY1NAM02FT044;
- 1:gZGQQHUnCMARprb6H5I1+asn9Hsgw0Tnc287HYKOHfR5S/7U0ESoiGbRMZTznYI1DBXfcyO2cxS72IPUNBQGR1K2NyehQW9DMkwQObyeUsO50T0munQpAgbHuqKFiy3B
-MIME-Version: 1.0
-X-MS-PublicTrafficType: Email
-X-MS-Office365-Filtering-Correlation-Id: 01c19963-0a15-47c4-31f0-08d5f96a13ca
-X-Microsoft-Antispam: BCL:0; PCL:0;
- RULEID:(7020095)(4652040)(8989117)(5600074)(711020)(4608076)(4534165)(4627221)(201703031133081)(201702281549075)(8990107)(2017052603328)(7153060);
- SRVR:DM5PR0201MB3511;
-X-Microsoft-Exchange-Diagnostics: 1; DM5PR0201MB3511;
- 3:+ceyPEYBjP+JZt8oITNykf5abb8Ux+W3WBMnt4cjJfV/Gc2sIAD1tjtxO1S10Z1hs4B0J95XH2RFwsf80tyZzVGY+Km/vlAi18SyZsC8WqGhO7DJbUko9kKYmmebcalphvyjckHnt7iEEqWmRuDEIGmRj3/wrgX/K+B4YESCmXC95JP0qwcXjtH4oYi0MrGKBb4DND0q29uXRfxtDu3KozcVNgVPAFMLIKwcXD+fYVaSdYjpwHhlWeVblMtOLbMyRCUetfNN0PWYINGuirNmrcMvRLUtQ3Qa7KqEDkHNFPhXUhNHsV6rHY5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OTbbWXzMdxb0dK+kgXFWnZoEZNbdyLqDq27/HQyuNgr78egpZfh/eKg6js50jVBSVaZJu2fPoLBG2fcOjGhDw+joAmphB4u+wbFuClZa9fMlk+0sY4YZg8gl/5bQT6Lsfa+MRLpo5eHqIW0wnpRNcuO6
-X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply
-X-Microsoft-Antispam-PRVS:
- <DM5PR0201MB35113DCF800C8F51851C2010B8230@DM5PR0201MB3511.namprd02.prod.outlook.com>
-X-Exchange-Antispam-Report-Test: UriScan:(192813158149592);
-X-MS-Exchange-SenderADCheck: 1
-X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0;
- RULEID:(8211001083)(6040522)(2401047)(8121501046)(5005006)(10201501046)(93006095)(93004095)(3231311)(944501410)(52105095)(3002001)(6055026)(149027)(150027)(6041310)(20161123560045)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(20161123564045)(20161123558120)(20161123562045)(6072148)(201708071742011)(7699016);
- SRVR:DM5PR0201MB3511; BCL:0; PCL:0; RULEID:; SRVR:DM5PR0201MB3511;
-X-Microsoft-Exchange-Diagnostics: 1; DM5PR0201MB3511;
- 4:eo5MTD3N7roBUHJvekYRU3IvNUurdAwzI4Fya7jPE/rp01CBkRdE/xNWJxKFRg0G+gtllCV6ShNqZ4719ZlBYrgME8tfezNcQn0x3/wLcp4NrN/AyLx5K55FuJFRtNOOM05OdrEViU9wm1rY/F8zc5/S6XZEM7cyXJR3G4b7JCUqRsv9ZXDW+qM6MUrhvTRdiOUo6gN0d+F2FsyGgqV6GFwsbRH9pJKBuIqlS5/E3iZqxJynkjcIxK5sb0ooo5h/ghexaSxtX0EwoBjaDkx8z1TUE9vuGo96/0IOHbTV9Mj5iyIzofXMdwesDBoiFrjO
-X-Forefront-PRVS: 0753EA505A
-X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; DM5PR0201MB3511;
- 23:/r1QJbUB8a3/X2RQ2tiC952QbvGBAKqWP/I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
- 5:Lp450hifZ/Nz7ZY/44/zL8XfBA6+yCopissF9iwagzjRuviDP6ENfU8WHJEuFEJvm17N5L2pRV37qzpfWakzkKlrQv3BME+CHHTAd80vqI9L3wJEmAYKDjwQOkuLt2Cu1r8X9tdbd9wsMTcCWcpVeCtUyB4YNPg1ZzcI+cAsSfk=;
- 7:8cxczJaeYNhowMZfCrjvNeD+h4Q3sgGrLgQk/N/44XhFHYUEYQeL1O9WMRLvxgwyKcMuJylLfle2HlP+GAElAD+DD91Ec8SOfu3VphuaVYMl0tCKCi+vYpY8aLxBzRkY0lWJ6HG2Cscv0RCv+fOaiKbGQbAy7vJ6QdqjEbSMDP69U0Z3lY1uTVhLlFXhjzcqLGOFnjgthqa00FS1NeIkt0urZPaEqlomSJKBy4nLnSBwDZ+o0PnAAZdr2T7+gCgz
-SpamDiagnosticOutput: 1:99
-SpamDiagnosticMetadata: NSPM
-X-OriginatorOrg: xilinx.com
-X-MS-Exchange-CrossTenant-OriginalArrivalTime: 03 Aug 2018 17:53:52.7598 (UTC)
-X-MS-Exchange-CrossTenant-Network-Message-Id:
- 01c19963-0a15-47c4-31f0-08d5f96a13ca
-X-MS-Exchange-CrossTenant-Id: 657af505-d5df-48d0-8300-c31994686c5c
-X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp:
- TenantId=657af505-d5df-48d0-8300-c31994686c5c; Ip=[149.199.60.83];
- Helo=[xsj-pvapsmtpgw01]
-X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem
-X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM5PR0201MB3511
-X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3
-X-CRM114-CacheID: sfid-20180803_105413_430833_66CD49D0
-X-CRM114-Status: GOOD ( 10.11 )
-X-BeenThere: linux-arm-kernel@lists.infradead.org
-X-Mailman-Version: 2.1.21
-Precedence: list
-List-Id: <linux-arm-kernel.lists.infradead.org>
-List-Unsubscribe:
- <http://lists.infradead.org/mailman/options/linux-arm-kernel>,
- <mailto:linux-arm-kernel-request@lists.infradead.org?subject=unsubscribe>
-List-Archive: <http://lists.infradead.org/pipermail/linux-arm-kernel/>
-List-Post: <mailto:linux-arm-kernel@lists.infradead.org>
-List-Help: <mailto:linux-arm-kernel-request@lists.infradead.org?subject=help>
-List-Subscribe:
- <http://lists.infradead.org/mailman/listinfo/linux-arm-kernel>,
- <mailto:linux-arm-kernel-request@lists.infradead.org?subject=subscribe>
-Cc: devicetree@vger.kernel.org, rajanv@xilinx.com,
- linux-kernel@vger.kernel.org,
- linux-arm-kernel@lists.infradead.org, Jolly Shah <jollys@xilinx.com>
-Content-Type: text/plain; charset="us-ascii"
-Sender: "linux-arm-kernel" <linux-arm-kernel-bounces@lists.infradead.org>
-Errors-To:
- linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org
-X-Virus-Scanned: ClamAV using ClamSMTP
-
-From: Rajan Vaja <rajanv@xilinx.com>
-
-Add ZynqMP firmware IOCTL API to control and configure
-devices like PLLs, SD, Gem, etc.
-
-Signed-off-by: Rajan Vaja <rajanv@xilinx.com>
-Signed-off-by: Jolly Shah <jollys@xilinx.com>
----
- drivers/firmware/xilinx/zynqmp.c | 20 ++++++++++++++++++++
- include/linux/firmware/xlnx-zynqmp.h | 2 ++
- 2 files changed, 22 insertions(+)
-
-diff --git a/drivers/firmware/xilinx/zynqmp.c b/drivers/firmware/xilinx/zynqmp.c
-index edbb84e..24cfd9e 100644
---- a/drivers/firmware/xilinx/zynqmp.c
-+++ b/drivers/firmware/xilinx/zynqmp.c
-@@ -241,8 +241,28 @@ static int get_set_conduit_method(struct device_node *np)
- return 0;
- }
-
-+/**
-+ * zynqmp_pm_ioctl() - PM IOCTL API for device control and configs
-+ * @node_id: Node ID of the device
-+ * @ioctl_id: ID of the requested IOCTL
-+ * @arg1: Argument 1 to requested IOCTL call
-+ * @arg2: Argument 2 to requested IOCTL call
-+ * @out: Returned output value
-+ *
-+ * This function calls IOCTL to firmware for device control and configuration.
-+ *
-+ * Return: Returns status, either success or error+reason
-+ */
-+static int zynqmp_pm_ioctl(u32 node_id, u32 ioctl_id, u32 arg1, u32 arg2,
-+ u32 *out)
-+{
-+ return zynqmp_pm_invoke_fn(PM_IOCTL, node_id, ioctl_id,
-+ arg1, arg2, out);
-+}
-+
- static const struct zynqmp_eemi_ops eemi_ops = {
- .get_api_version = zynqmp_pm_get_api_version,
-+ .ioctl = zynqmp_pm_ioctl,
- };
-
- /**
-diff --git a/include/linux/firmware/xlnx-zynqmp.h b/include/linux/firmware/xlnx-zynqmp.h
-index cb63bed..2eec6e7 100644
---- a/include/linux/firmware/xlnx-zynqmp.h
-+++ b/include/linux/firmware/xlnx-zynqmp.h
-@@ -34,6 +34,7 @@
-
- enum pm_api_id {
- PM_GET_API_VERSION = 1,
-+ PM_IOCTL = 34,
- };
-
- /* PMU-FW return status codes */
-@@ -49,6 +50,7 @@ enum pm_ret_status {
-
- struct zynqmp_eemi_ops {
- int (*get_api_version)(u32 *version);
-+ int (*ioctl)(u32 node_id, u32 ioctl_id, u32 arg1, u32 arg2, u32 *out);
- };
-
- #if IS_REACHABLE(CONFIG_ARCH_ZYNQMP)
-
-From patchwork Fri Aug 3 17:53:21 2018
-Content-Type: text/plain; charset="utf-8"
-MIME-Version: 1.0
-Content-Transfer-Encoding: 7bit
-X-Patchwork-Submitter: Jolly Shah <jolly.shah@xilinx.com>
-X-Patchwork-Id: 10555421
-Return-Path:
- <linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org>
-Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org
- [172.30.200.125])
- by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id E183E15E9
- for <patchwork-linux-arm@patchwork.kernel.org>;
- Fri, 3 Aug 2018 18:06:35 +0000 (UTC)
-Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1])
- by mail.wl.linuxfoundation.org (Postfix) with ESMTP id CDD572C983
- for <patchwork-linux-arm@patchwork.kernel.org>;
- Fri, 3 Aug 2018 18:06:35 +0000 (UTC)
-Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486)
- id C15B82C985; Fri, 3 Aug 2018 18:06:35 +0000 (UTC)
-X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on
- pdx-wl-mail.web.codeaurora.org
-X-Spam-Level:
-X-Spam-Status: No, score=-2.9 required=2.0 tests=BAD_ENC_HEADER,BAYES_00,
- DKIM_SIGNED,DKIM_VALID,MAILING_LIST_MULTI autolearn=unavailable version=3.3.1
-Received: from bombadil.infradead.org (bombadil.infradead.org
- [198.137.202.133])
- (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits))
- (No client certificate requested)
- by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 6A7402C983
- for <patchwork-linux-arm@patchwork.kernel.org>;
- Fri, 3 Aug 2018 18:06:35 +0000 (UTC)
-DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed;
- d=lists.infradead.org; s=bombadil.20170209; h=Sender:
- Content-Transfer-Encoding:Content-Type:Cc:List-Subscribe:List-Help:List-Post:
- List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To:
- Message-ID:Date:Subject:To:From:Reply-To:Content-ID:Content-Description:
- Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:
- List-Owner; bh=91//MvALW6sgI3tZTiqNtEggoAHmWLgPcy+WH96S//Y=; b=gnpme1Lvz+gnsb
- AbHfxKiAICf8kzeMoKBEYwsqRHtKs7qrDNklNtr7mxQbFyblZXxuwlwqiIEyaOTnHTjejfZmEX8qJ
- 0oGGw9be9yBsaMAZGWoTNfOcUt/Hp/I7PmW/VaLkAI8uccS4ezP3Qxhq2XGX1CB8mQRHd1wxBKX4Y
- gyXGWaY6RBYYUt6R7a+XpZh6WMd6py++Bp+qufhAOvbtEv4IcTm95l3+battKvbDSWmUsjYZJAtnV
- hV1HnAy5wG2MvRSFBvkaiKBtnVQD2RFGq+6+SW2Ses/VYJS/ITDLDGCj5LeT2J6N9EDeQMmr0kkwM
- uhWG7uzjJQ3Jq6L+F4Eg==;
-Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org)
- by bombadil.infradead.org with esmtp (Exim 4.90_1 #2 (Red Hat Linux))
- id 1fleT6-0002b2-Oj; Fri, 03 Aug 2018 18:06:28 +0000
-Received: from mail-co1nam05on0624.outbound.protection.outlook.com
- ([2a01:111:f400:fe50::624]
- helo=NAM05-CO1-obe.outbound.protection.outlook.com)
- by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux))
- id 1fleHJ-0002lp-Q7
- for linux-arm-kernel@lists.infradead.org; Fri, 03 Aug 2018 17:54:23 +0000
-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
- d=xilinx.onmicrosoft.com; s=selector1-xilinx-com;
- h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck;
- bh=HeHcqfhBmNmq3+qiRcWBF2dzjyZqhOAmxkz2chz3+sg=;
- b=em8vzxLpipjwDvV7ib9NoNojbhR+Y10UI/FtxNc/yXmmBHmcZUeAHgcQfqk1K4b7nuqdrTHD2lqq3w3ijlTqQALO6flKDnss8DqCVtja9OXb+PZ3RVsg8ovHgHphO/H0Uz6NqSl545Li5z+4ewrUDkdPmpPzxiCZX/8BXx8EL3Q=
-Received: from MWHPR02CA0051.namprd02.prod.outlook.com (2603:10b6:301:60::40)
- by CY4PR0201MB3506.namprd02.prod.outlook.com (2603:10b6:910:95::12)
- with Microsoft SMTP Server (version=TLS1_2,
- cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.1017.15; Fri, 3 Aug
- 2018 17:53:54 +0000
-Received: from CY1NAM02FT035.eop-nam02.prod.protection.outlook.com
- (2a01:111:f400:7e45::208) by MWHPR02CA0051.outlook.office365.com
- (2603:10b6:301:60::40) with Microsoft SMTP Server (version=TLS1_2,
- cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384) id 15.20.1017.15 via Frontend
- Transport; Fri, 3 Aug 2018 17:53:54 +0000
-Authentication-Results: spf=pass (sender IP is 149.199.60.83)
- smtp.mailfrom=xilinx.com; linaro.org; dkim=none (message not signed)
- header.d=none;linaro.org; dmarc=bestguesspass action=none
- header.from=xilinx.com;
-Received-SPF: Pass (protection.outlook.com: domain of xilinx.com designates
- 149.199.60.83 as permitted sender) receiver=protection.outlook.com;
- client-ip=149.199.60.83; helo=xsj-pvapsmtpgw01;
-Received: from xsj-pvapsmtpgw01 (149.199.60.83) by
- CY1NAM02FT035.mail.protection.outlook.com (10.152.75.186) with Microsoft SMTP
- Server (version=TLS1_0, cipher=TLS_RSA_WITH_AES_256_CBC_SHA) id 15.20.1038.3
- via Frontend Transport; Fri, 3 Aug 2018 17:53:53 +0000
-Received: from unknown-38-66.xilinx.com ([149.199.38.66] helo=xsj-pvapsmtp01)
- by xsj-pvapsmtpgw01 with esmtp (Exim 4.63)
- (envelope-from <jolly.shah@xilinx.com>)
- id 1fleGu-0004fk-MD; Fri, 03 Aug 2018 10:53:52 -0700
-Received: from [127.0.0.1] (helo=localhost)
- by xsj-pvapsmtp01 with smtp (Exim 4.63)
- (envelope-from <jolly.shah@xilinx.com>)
- id 1fleGp-0007cn-IW; Fri, 03 Aug 2018 10:53:47 -0700
-Received: from [172.19.2.91] (helo=xsjjollys50.xilinx.com)
- by xsj-pvapsmtp01 with esmtp (Exim 4.63)
- (envelope-from <jollys@xilinx.com>)
- id 1fleGl-0007bh-Bn; Fri, 03 Aug 2018 10:53:43 -0700
-From: Jolly Shah <jolly.shah@xilinx.com>
-To: <ard.biesheuvel@linaro.org>, <mingo@kernel.org>,
- <gregkh@linuxfoundation.org>, <matt@codeblueprint.co.uk>,
- <sudeep.holla@arm.com>, <hkallweit1@gmail.com>, <keescook@chromium.org>,
- <dmitry.torokhov@gmail.com>, <mturquette@baylibre.com>,
- <sboyd@codeaurora.org>, <michal.simek@xilinx.com>, <robh+dt@kernel.org>,
- <mark.rutland@arm.com>, <linux-clk@vger.kernel.org>
-Subject: [PATCH v11 04/11] firmware: xilinx: Add query data API
-Date: Fri, 3 Aug 2018 10:53:21 -0700
-Message-ID: <1533318808-10781-5-git-send-email-jollys@xilinx.com>
-X-Mailer: git-send-email 2.7.4
-In-Reply-To: <1533318808-10781-1-git-send-email-jollys@xilinx.com>
-References: <1533318808-10781-1-git-send-email-jollys@xilinx.com>
-X-TM-AS-Product-Ver: IMSS-7.1.0.1224-8.2.0.1013-23620.005
-X-TM-AS-User-Approved-Sender: Yes;Yes
-X-EOPAttributedMessage: 0
-X-MS-Office365-Filtering-HT: Tenant
-X-Forefront-Antispam-Report: CIP:149.199.60.83; IPV:NLI; CTRY:US; EFV:NLI;
- SFV:NSPM;
- SFS:(10009020)(39860400002)(346002)(136003)(376002)(396003)(2980300002)(438002)(199004)(189003)(316002)(106466001)(63266004)(14444005)(106002)(54906003)(110136005)(186003)(48376002)(336012)(16586007)(50466002)(47776003)(107886003)(39060400002)(5660300001)(4326008)(76176011)(7416002)(6666003)(7696005)(51416003)(77096007)(26005)(2906002)(476003)(2616005)(356003)(126002)(305945005)(2201001)(446003)(81156014)(81166006)(11346002)(36386004)(8676002)(8936002)(50226002)(426003)(36756003)(486006)(72206003)(9786002)(478600001)(44832011)(107986001)(921003)(1121003);
- DIR:OUT; SFP:1101; SCL:1; SRVR:CY4PR0201MB3506; H:xsj-pvapsmtpgw01; FPR:;
- SPF:Pass; LANG:en; PTR:unknown-60-83.xilinx.com; A:1; MX:1;
-X-Microsoft-Exchange-Diagnostics: 1; CY1NAM02FT035;
- 1:rHO0CWpu3BkBhjLm5sQEzS8kU4B8BzsZSNTyXn8pPVQZy6q6XTizv8x/hh1yu5wry1vGa936pLJ4AebHHKuktr1GwZURZV5Gtoa9EDRW2u6oEJPuparxwgagFnTk3e5k
-MIME-Version: 1.0
-X-MS-PublicTrafficType: Email
-X-MS-Office365-Filtering-Correlation-Id: f96ba5b8-4c9b-40ac-b48f-08d5f96a140c
-X-Microsoft-Antispam: BCL:0; PCL:0;
- RULEID:(7020095)(4652040)(8989117)(4534165)(4627221)(201703031133081)(201702281549075)(8990107)(5600074)(711020)(4608076)(2017052603328)(7153060);
- SRVR:CY4PR0201MB3506;
-X-Microsoft-Exchange-Diagnostics: 1; CY4PR0201MB3506;
- 3:icf20laLQcgZdqpqBhpbCkReu96OBDGu9KoOR5B3zstZU8lV4txOHYfzZJqka2HbTy3BO7I9Ls1KThGolH4ufqGhaV3UBXRt+nUGUs23bh2S16Osm3yr9IYeIBuEBHW5PiKhoGtHc6jV1J92b4wm3/pGSjPMkgv7C+M6qczYjpqkQ1ErM62iBAYaxG6kWM7zxqxHrByqIEGB42QEh/UUdVvNcEjGqAXyvafTXvUmjpxM82pq8mlBqS+ltvFaE516eVzL2y5PL2GP52FqaGPe0pQ2dXrG/REg8OxbiJ9InA03FatDQZFGyo0G6yA4DDWLTCHAKB6OlZF7kL0k/rOR7OU33SQu9COiqEBXvEl0g3M=;
- 25:snIbKqkfJkhDyWf51lqz+kqNXcYoHqXKskJruUr1unSfP+rieYPSEwzJg+riTjFqnkHTVzJMDQWW9pOwzJvo1RTqWGHuqhs9+IcgPqhOsvg2xhAJOXd6o1XS6LuulnOMKCD0ECcrH7NGtWPBS8FWqfS6iv1nBaXre8fZAFipTsoDSeS4esL176RqefKrPnsOBDhCpbIvBXcXN4Gx4zkqEnPmkSOvbT1eoPBzaUQAacyV2y4Hh/q55AEY8hvvU6L9fKNaebKIqrG45QchzlAsXj+NZlDSDyCccnoXeVQMDUg10NC0O3M9cgUsRnL9hKMiG4sQWwfGDEobVo0NaXVmUw==
-X-MS-TrafficTypeDiagnostic: CY4PR0201MB3506:
-X-Microsoft-Exchange-Diagnostics: 1; CY4PR0201MB3506;
- 31:84G5vx0+8ZAwby6IT9aNY8bGeCPuqtIE9Sx0ijSdqocBlbz2VYUIhBP/3IpX1RKMmfGZCGJEdHiSl8ft+q4gODlCVLtU14S3oacBfsotRdhaMBYmmmO/fsU+PTW4Sfpi8RcVAuEHZXqALm9q3LS5noD8ttxBQOkDwoebSZGTl1yVyKc6rGbzGcXvrQKz7d/QQj5pwq6cZNkSlEvCjBMRCkw4qOYtzAah4V1DLLVrhrk=;
- 20:uHnibOv0p9c2GZhcNLdfOwE1EoMsGRtmkKhH0Qqqu5VgIEwx6iceOrpN/WFsJ7SCRDBu6pFY/dId99kb5Q5m7hTkW2ScXBwoOhxDAXDGSZ2ryp2DaiXJ6EJzGDrRgArfdy/Shbb+3BEmchdLVPGzfxoWQZr8VWdGIrrDuXzho/PNsQiWJywexO6Pm5i6H9OFB8tybqgpJcdUV8mSekXeX4MhQLgQ/wEyUeahhLMeIV33UzCkJG8dZ499/Q2/0WsaB1cQxy7w91DdbYqfjKEqD67yhrz6xjnRb2QAJTCXBVI3Q4X6ajQ8ryEPlSt6F/LoenF2IJVOuLTX+aDhkFEg2uToVnt2uLwF+AqA2s3Xkog+cg4BflpcnBfYVJiH0ey04nKKbZXUFjCDsmF6nV7SjriAcqmmiOxOrswQ5HFftKiYLmVJE/mAmkDWUhcBaGpD1/Iw8KwmoDnzZy1dHKZ0Dw2z29IQZja6uEqFZiVjeLxJ6m5HrYLjJ0GYWI+mTz+p
-X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply
-X-Microsoft-Antispam-PRVS:
- <CY4PR0201MB350627A1558BE520E20DC02BB8230@CY4PR0201MB3506.namprd02.prod.outlook.com>
-X-Exchange-Antispam-Report-Test: UriScan:(192813158149592);
-X-MS-Exchange-SenderADCheck: 1
-X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0;
- RULEID:(8211001083)(6040522)(2401047)(8121501046)(5005006)(93006095)(93004095)(10201501046)(3002001)(3231311)(944501410)(52105095)(6055026)(149027)(150027)(6041310)(20161123564045)(20161123562045)(20161123558120)(20161123560045)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(6072148)(201708071742011)(7699016);
- SRVR:CY4PR0201MB3506; BCL:0; PCL:0; RULEID:; SRVR:CY4PR0201MB3506;
-X-Microsoft-Exchange-Diagnostics: 1; CY4PR0201MB3506;
- 4:f8yeNLyGBcVliADEJi6+6wv81pg1iumiVJILRGKC3y6qFaPNJLAww3Tj3K9JIR+yiMlIHFyv+0RCz9Ub9GyQZj6WkcJUYB+WjkYga9V2Z+twlECgaB3RBNoz/wppsudzTd9RYEuaf1KmEFYKQhzSWnaQXx5L+9lUi76OogHHJX+ZXLR/RL5T89h4P76C4BGGiFhzR4vU9dl/Ey2fU7VRnXrfKwS0LSgnKq7Sy7CdPt51IObIciOBWLFINbanIrN9fBcBMTArdZSuGkv1lR+mDucR1/fzj/vrFzTxihSKX6iCbT1fchDFfhj72uKSq8Ff
-X-Forefront-PRVS: 0753EA505A
-X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; CY4PR0201MB3506;
- 23:hhCwJI0woEpyaZpm9g72KxA7XZ8ta8no71Dnhjs?=
- Knczn3Rx9AGJ2FDCKhvKDXACej/b/eW/POMMmL+/3vuKbv3NlbLhac2kdzcNZC0xLQGfF5+DhQA7qxJvKqUq0lDWiiPLrrxwmn0AfJOniBhJXij38ezoAQopZPZoKRvTudGmmCDQKN8oulKLb+/iVxyj5a+KH5PGYGyAc7i1+YlYJ6LVfwgYu/FaqBLAqfuT2Th7oTA+ENbpzQKkQX6NObmKb+nHjeo0LdHCcNMI+fxJvZNLq3TTSPe5rgJagYbUkr8heoTd4fc1aXWhmtzf18xbz+tlMArrVT1598CDagk/FeZOCDsCHoqkqOa/4FBNkgeGOnMhKO5QHD3t1B1b+9ZggPwuSdGKGsOegJPndqqu4EbkqlzFBQELkKh2kCvVFPMkflKZLLyO1VbfaL45eERsGN+fbbI1k6805k2S3p8C4NvKw2pbqtM/aViP6TD+it3NayCky/lM454XyIhY0sK33ghyPuZOth18NrX4y/wzMGc8SVakrsOqBaake4xBT+X6f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hW0WQAz+vle/9o0ASpB6m0wCKEHFtGTjc=
-X-Microsoft-Exchange-Diagnostics: 1; CY4PR0201MB3506;
- 6:1VVkvCNT+b3g6vM3dm0htFRYcoKtBvvfYFnzOnhOhjPlAWtli0yFh5Gm878wViRY0RRnQJU8A2Sw4Xf8vLBOYJuzeQwxVgKzZ6RXKCOTP+vbUhPldnU+0wU6dv6RsdQaaITgPQFPnO9EuefOznd214T1m+4tIasVx3rNAubcAwr1LoYNwdu/8EkL9t7GvoVl6RtgrS0nSWTFfTTZicfeH4BJdHnbUTQBFyhC0aftzqn2Kor9bFPwHS4SCRD1tq6e37sKhmTX2xPUFBESHShvXhU/4o0ki/5+BNWldCkVEdBjqawKGCgA2PI64MJu/aig5P86rZV+KmCKJ+jxZLpHKXkqP51vLsqtdheMAlag4BJJSn8ojYt8NruvMeL27ipYenhBw3kCca/hMmfOosQiwsxlZmqellR4acW1MmSBj4tm/xzXJEkeoKyjXotL0e1wyhN18SkWLOjKK8Jt6l4vQg==;
- 5:PZ908xNnr7uVYTc6nj6XU//v9+/Hr8e2pAI7LwX/9QaSdBkiPtT2bFlO5zZ0yTEtKUkPvklTGJbumeKxB3o8G/MDxZqLJ65Jhgv4+S6i44ujuX/n05SbuId07mxnjach4DhPPsNmh4FVTCalGm4HCDUScP/Tu1uRVVmqxkHaQFU=;
- 7:/JWOKkUw8yvyz5ko4LBiuPNs0mZnQok8sHrZkTHBAHaZGSwLyO2mcu6qWnWT1+PcRv1xhppiLQfQm8h9khykQ6e7CJ678AFAvSGsBEUAarGnULzr2JCOps2lyNlPvLRvA/t1n9AH65U57bQrBB0FG/DXAV5aAOJswB6kDQ2UmckL9/+gULpDmArQ0hrrJDO0+fEMuARcg3IDmt33wALvjHRt2vnYuNUqcLXGj2HcHdonQIC+WYVrKzMPoY7EIEce
-SpamDiagnosticOutput: 1:99
-SpamDiagnosticMetadata: NSPM
-X-OriginatorOrg: xilinx.com
-X-MS-Exchange-CrossTenant-OriginalArrivalTime: 03 Aug 2018 17:53:53.1800 (UTC)
-X-MS-Exchange-CrossTenant-Network-Message-Id:
- f96ba5b8-4c9b-40ac-b48f-08d5f96a140c
-X-MS-Exchange-CrossTenant-Id: 657af505-d5df-48d0-8300-c31994686c5c
-X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp:
- TenantId=657af505-d5df-48d0-8300-c31994686c5c; Ip=[149.199.60.83];
- Helo=[xsj-pvapsmtpgw01]
-X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem
-X-MS-Exchange-Transport-CrossTenantHeadersStamped: CY4PR0201MB3506
-X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3
-X-CRM114-CacheID: sfid-20180803_105418_560981_AC19C490
-X-CRM114-Status: UNSURE ( 9.67 )
-X-CRM114-Notice: Please train this message.
-X-BeenThere: linux-arm-kernel@lists.infradead.org
-X-Mailman-Version: 2.1.21
-Precedence: list
-List-Id: <linux-arm-kernel.lists.infradead.org>
-List-Unsubscribe:
- <http://lists.infradead.org/mailman/options/linux-arm-kernel>,
- <mailto:linux-arm-kernel-request@lists.infradead.org?subject=unsubscribe>
-List-Archive: <http://lists.infradead.org/pipermail/linux-arm-kernel/>
-List-Post: <mailto:linux-arm-kernel@lists.infradead.org>
-List-Help: <mailto:linux-arm-kernel-request@lists.infradead.org?subject=help>
-List-Subscribe:
- <http://lists.infradead.org/mailman/listinfo/linux-arm-kernel>,
- <mailto:linux-arm-kernel-request@lists.infradead.org?subject=subscribe>
-Cc: devicetree@vger.kernel.org, rajanv@xilinx.com,
- linux-kernel@vger.kernel.org,
- linux-arm-kernel@lists.infradead.org, Jolly Shah <jollys@xilinx.com>
-Content-Type: text/plain; charset="us-ascii"
-Sender: "linux-arm-kernel" <linux-arm-kernel-bounces@lists.infradead.org>
-Errors-To:
- linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org
-X-Virus-Scanned: ClamAV using ClamSMTP
-
-From: Rajan Vaja <rajanv@xilinx.com>
-
-Add ZynqMP firmware query data API to query platform
-specific information(clocks, pins) from firmware.
-
-Signed-off-by: Rajan Vaja <rajanv@xilinx.com>
-Signed-off-by: Jolly Shah <jollys@xilinx.com>
----
- drivers/firmware/xilinx/zynqmp.c | 14 ++++++++++++++
- include/linux/firmware/xlnx-zynqmp.h | 20 ++++++++++++++++++++
- 2 files changed, 34 insertions(+)
-
-diff --git a/drivers/firmware/xilinx/zynqmp.c b/drivers/firmware/xilinx/zynqmp.c
-index 24cfd9e..8ec5682 100644
---- a/drivers/firmware/xilinx/zynqmp.c
-+++ b/drivers/firmware/xilinx/zynqmp.c
-@@ -260,9 +260,23 @@ static int zynqmp_pm_ioctl(u32 node_id, u32 ioctl_id, u32 arg1, u32 arg2,
- arg1, arg2, out);
- }
-
-+/**
-+ * zynqmp_pm_query_data() - Get query data from firmware
-+ * @qdata: Variable to the zynqmp_pm_query_data structure
-+ * @out: Returned output value
-+ *
-+ * Return: Returns status, either success or error+reason
-+ */
-+static int zynqmp_pm_query_data(struct zynqmp_pm_query_data qdata, u32 *out)
-+{
-+ return zynqmp_pm_invoke_fn(PM_QUERY_DATA, qdata.qid, qdata.arg1,
-+ qdata.arg2, qdata.arg3, out);
-+}
-+
- static const struct zynqmp_eemi_ops eemi_ops = {
- .get_api_version = zynqmp_pm_get_api_version,
- .ioctl = zynqmp_pm_ioctl,
-+ .query_data = zynqmp_pm_query_data,
- };
-
- /**
-diff --git a/include/linux/firmware/xlnx-zynqmp.h b/include/linux/firmware/xlnx-zynqmp.h
-index 2eec6e7..55ed2ba 100644
---- a/include/linux/firmware/xlnx-zynqmp.h
-+++ b/include/linux/firmware/xlnx-zynqmp.h
-@@ -35,6 +35,7 @@
- enum pm_api_id {
- PM_GET_API_VERSION = 1,
- PM_IOCTL = 34,
-+ PM_QUERY_DATA,
- };
-
- /* PMU-FW return status codes */
-@@ -48,9 +49,28 @@ enum pm_ret_status {
- XST_PM_ABORT_SUSPEND,
- };
-
-+enum pm_query_id {
-+ PM_QID_INVALID,
-+};
-+
-+/**
-+ * struct zynqmp_pm_query_data - PM query data
-+ * @qid: query ID
-+ * @arg1: Argument 1 of query data
-+ * @arg2: Argument 2 of query data
-+ * @arg3: Argument 3 of query data
-+ */
-+struct zynqmp_pm_query_data {
-+ u32 qid;
-+ u32 arg1;
-+ u32 arg2;
-+ u32 arg3;
-+};
-+
- struct zynqmp_eemi_ops {
- int (*get_api_version)(u32 *version);
- int (*ioctl)(u32 node_id, u32 ioctl_id, u32 arg1, u32 arg2, u32 *out);
-+ int (*query_data)(struct zynqmp_pm_query_data qdata, u32 *out);
- };
-
- #if IS_REACHABLE(CONFIG_ARCH_ZYNQMP)
-
-From patchwork Fri Aug 3 17:53:22 2018
-Content-Type: text/plain; charset="utf-8"
-MIME-Version: 1.0
-Content-Transfer-Encoding: 7bit
-X-Patchwork-Submitter: Jolly Shah <jolly.shah@xilinx.com>
-X-Patchwork-Id: 10555399
-Return-Path:
- <linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org>
-Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org
- [172.30.200.125])
- by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id EDAF61708
- for <patchwork-linux-arm@patchwork.kernel.org>;
- Fri, 3 Aug 2018 17:55:03 +0000 (UTC)
-Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1])
- by mail.wl.linuxfoundation.org (Postfix) with ESMTP id D7DC92C724
- for <patchwork-linux-arm@patchwork.kernel.org>;
- Fri, 3 Aug 2018 17:55:03 +0000 (UTC)
-Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486)
- id CAE462C921; Fri, 3 Aug 2018 17:55:03 +0000 (UTC)
-X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on
- pdx-wl-mail.web.codeaurora.org
-X-Spam-Level:
-X-Spam-Status: No, score=-2.9 required=2.0 tests=BAD_ENC_HEADER,BAYES_00,
- DKIM_SIGNED,DKIM_VALID,MAILING_LIST_MULTI autolearn=unavailable version=3.3.1
-Received: from bombadil.infradead.org (bombadil.infradead.org
- [198.137.202.133])
- (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits))
- (No client certificate requested)
- by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 3839B2C724
- for <patchwork-linux-arm@patchwork.kernel.org>;
- Fri, 3 Aug 2018 17:55:03 +0000 (UTC)
-DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed;
- d=lists.infradead.org; s=bombadil.20170209; h=Sender:
- Content-Transfer-Encoding:Content-Type:Cc:List-Subscribe:List-Help:List-Post:
- List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To:
- Message-ID:Date:Subject:To:From:Reply-To:Content-ID:Content-Description:
- Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:
- List-Owner; bh=qtQXRQrdifcWWnryriOs3rlmB/UcW6DJQNSBlqnranM=; b=lgwUgsqJd4e2rt
- nmuUR3VN+VDn+S7//ZatPEwIqaFWvyT4rFZfumsLxKarWBlf8xKEDjwktYRlwjWJP0Vk8OddyVCHa
- yx5lo+LnZ4Wv5saME6q5hqyvVTiZ2bwhDO9Ma9mbSUFdPtOWE62HQNtCvn203EXoldwnSsavTkkGE
- VJdPxa0coO6zzMO/s6iO8NgNG+Ku2QckATIFE4mZy9a7huHR3dAKMUlr1N4t8rQMwdaf+vnNRkavC
- BZu5/ZZjvSIh9HriUn0aDuhQ3+US/m5JuPKMfAZ+BuMiRgylWcmAd+c21xXbcc6OJSyehHDfvvD1u
- vpi8ViaXKGhJ771ddatg==;
-Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org)
- by bombadil.infradead.org with esmtp (Exim 4.90_1 #2 (Red Hat Linux))
- id 1fleHw-0003kC-7F; Fri, 03 Aug 2018 17:54:56 +0000
-Received: from mail-eopbgr710058.outbound.protection.outlook.com
- ([40.107.71.58] helo=NAM05-BY2-obe.outbound.protection.outlook.com)
- by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux))
- id 1fleHA-0002lM-Pc
- for linux-arm-kernel@lists.infradead.org; Fri, 03 Aug 2018 17:54:11 +0000
-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
- d=xilinx.onmicrosoft.com; s=selector1-xilinx-com;
- h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck;
- bh=MCdLtrA1kN8/0je8FqQpiN8x3unLbKCW3xvP6auRcy0=;
- b=NbK5o18UsZ+yXgurW0cD8SnVUR3VyCCY0fcVnMfaJ0r5NR891G397FhoX7im+3MKhTpEgcyKxk6qwMETo435uEdN7yHwZuotVu5pxyIkx9MmvgAYyr3K3OTneiankyb63CggahlCCXuskq4Ra8SCvjzwzu4sqBzpCkDfbv9igX8=
-Received: from MWHPR0201CA0027.namprd02.prod.outlook.com
- (2603:10b6:301:74::40) by BL0PR02MB4450.namprd02.prod.outlook.com
- (2603:10b6:208:45::27) with Microsoft SMTP Server (version=TLS1_2,
- cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.1017.15; Fri, 3 Aug
- 2018 17:53:54 +0000
-Received: from SN1NAM02FT031.eop-nam02.prod.protection.outlook.com
- (2a01:111:f400:7e44::209) by MWHPR0201CA0027.outlook.office365.com
- (2603:10b6:301:74::40) with Microsoft SMTP Server (version=TLS1_2,
- cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384) id 15.20.1017.15 via Frontend
- Transport; Fri, 3 Aug 2018 17:53:54 +0000
-Authentication-Results: spf=pass (sender IP is 149.199.60.83)
- smtp.mailfrom=xilinx.com; linaro.org; dkim=none (message not signed)
- header.d=none;linaro.org; dmarc=bestguesspass action=none
- header.from=xilinx.com;
-Received-SPF: Pass (protection.outlook.com: domain of xilinx.com designates
- 149.199.60.83 as permitted sender) receiver=protection.outlook.com;
- client-ip=149.199.60.83; helo=xsj-pvapsmtpgw01;
-Received: from xsj-pvapsmtpgw01 (149.199.60.83) by
- SN1NAM02FT031.mail.protection.outlook.com (10.152.72.116) with Microsoft SMTP
- Server (version=TLS1_0, cipher=TLS_RSA_WITH_AES_256_CBC_SHA) id 15.20.1038.3
- via Frontend Transport; Fri, 3 Aug 2018 17:53:53 +0000
-Received: from unknown-38-66.xilinx.com ([149.199.38.66] helo=xsj-pvapsmtp01)
- by xsj-pvapsmtpgw01 with esmtp (Exim 4.63)
- (envelope-from <jolly.shah@xilinx.com>)
- id 1fleGu-0004fm-S0; Fri, 03 Aug 2018 10:53:52 -0700
-Received: from [127.0.0.1] (helo=localhost)
- by xsj-pvapsmtp01 with smtp (Exim 4.63)
- (envelope-from <jolly.shah@xilinx.com>)
- id 1fleGp-0007cn-OV; Fri, 03 Aug 2018 10:53:47 -0700
-Received: from [172.19.2.91] (helo=xsjjollys50.xilinx.com)
- by xsj-pvapsmtp01 with esmtp (Exim 4.63)
- (envelope-from <jollys@xilinx.com>)
- id 1fleGl-0007bh-E5; Fri, 03 Aug 2018 10:53:43 -0700
-From: Jolly Shah <jolly.shah@xilinx.com>
-To: <ard.biesheuvel@linaro.org>, <mingo@kernel.org>,
- <gregkh@linuxfoundation.org>, <matt@codeblueprint.co.uk>,
- <sudeep.holla@arm.com>, <hkallweit1@gmail.com>, <keescook@chromium.org>,
- <dmitry.torokhov@gmail.com>, <mturquette@baylibre.com>,
- <sboyd@codeaurora.org>, <michal.simek@xilinx.com>, <robh+dt@kernel.org>,
- <mark.rutland@arm.com>, <linux-clk@vger.kernel.org>
-Subject: [PATCH v11 05/11] firmware: xilinx: Add clock APIs
-Date: Fri, 3 Aug 2018 10:53:22 -0700
-Message-ID: <1533318808-10781-6-git-send-email-jollys@xilinx.com>
-X-Mailer: git-send-email 2.7.4
-In-Reply-To: <1533318808-10781-1-git-send-email-jollys@xilinx.com>
-References: <1533318808-10781-1-git-send-email-jollys@xilinx.com>
-X-TM-AS-Product-Ver: IMSS-7.1.0.1224-8.2.0.1013-23620.005
-X-TM-AS-User-Approved-Sender: Yes;Yes
-X-EOPAttributedMessage: 0
-X-MS-Office365-Filtering-HT: Tenant
-X-Forefront-Antispam-Report: CIP:149.199.60.83; IPV:NLI; CTRY:US; EFV:NLI;
- SFV:NSPM;
- SFS:(10009020)(376002)(346002)(396003)(136003)(39860400002)(2980300002)(438002)(189003)(199004)(106002)(2906002)(36756003)(6666003)(356003)(107886003)(39060400002)(7416002)(81156014)(305945005)(81166006)(8676002)(54906003)(2201001)(110136005)(50466002)(48376002)(16586007)(478600001)(316002)(36386004)(72206003)(106466001)(7696005)(4326008)(8936002)(51416003)(47776003)(9786002)(76176011)(50226002)(476003)(126002)(486006)(2616005)(44832011)(426003)(11346002)(446003)(5660300001)(77096007)(14444005)(63266004)(336012)(26005)(186003)(921003)(107986001)(1121003);
- DIR:OUT; SFP:1101; SCL:1; SRVR:BL0PR02MB4450; H:xsj-pvapsmtpgw01; FPR:;
- SPF:Pass; LANG:en; PTR:unknown-60-83.xilinx.com; MX:1; A:1;
-X-Microsoft-Exchange-Diagnostics: 1; SN1NAM02FT031;
- 1:3pze7uAvF87/xESxdQEo6sAKzLZVoTxZgoDo6QcLtiyMbVYsec9squw5C9h9aBOL9lTXH+5hdUDjYh08xRYa+fJRnVvxqjT+O4ZKSMHWt3R3u/fZ60qjG4nXYrK8Euut
-MIME-Version: 1.0
-X-MS-PublicTrafficType: Email
-X-MS-Office365-Filtering-Correlation-Id: 49efa090-d193-41b4-7655-08d5f96a13f8
-X-Microsoft-Antispam: BCL:0; PCL:0;
- RULEID:(7020095)(4652040)(8989117)(4534165)(4627221)(201703031133081)(201702281549075)(8990107)(5600074)(711020)(4608076)(2017052603328)(7153060);
- SRVR:BL0PR02MB4450;
-X-Microsoft-Exchange-Diagnostics: 1; BL0PR02MB4450;
- 3:3S06KZhJqmoOH7ZqOlk7Zoylmkbi/9DpWNSCXH8wEg2F1N1BH44dR5XD33C0gkmHCLjmz4cqPj4cQq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a4C8EJm1JHsJe7W1tYrQ3L1sNlLucgl8iUVDnSSy2WPxkTsx7glopWqwXecOC69MqmzfC7P2yjHForUNhxJs90s6Eu23RaV/mRwEQTnqnb9uwmNP05SHUey6WzNLrx+2kQCxD+LN/3ddIZe6Bza5fupbQxKuyv/niS4LM9Kq5gS8Pfe6pIR7+PWcdRF85V7SY8a0uyibCpgW2FiWNe7UFlVC9WwqaUtrWroKUzFoXO92e4fGCqY1qnV9RqIEuLTE6aAf7z5n6TVTboFOnIYN0VNuQBsXnKprWe9kx8cMGpBpxkAbSLe7HaPpW28K8Kz3jFTX8eqeIJx7AIvq/C6RfoFbq6Hnkk0UTcgjTfQi0+30oWcB09zZNrGvgcp7QCwBb6hM7ML
-X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply
-X-Microsoft-Antispam-PRVS:
- <BL0PR02MB445079201A0DFB581346501FB8230@BL0PR02MB4450.namprd02.prod.outlook.com>
-X-Exchange-Antispam-Report-Test: UriScan:(192813158149592);
-X-MS-Exchange-SenderADCheck: 1
-X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0;
- RULEID:(8211001083)(6040522)(2401047)(8121501046)(5005006)(93006095)(93004095)(3002001)(10201501046)(3231311)(944501410)(52105095)(6055026)(149027)(150027)(6041310)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(20161123558120)(20161123560045)(20161123562045)(20161123564045)(6072148)(201708071742011)(7699016);
- SRVR:BL0PR02MB4450; BCL:0; PCL:0; RULEID:; SRVR:BL0PR02MB4450;
-X-Microsoft-Exchange-Diagnostics: 1; BL0PR02MB4450;
- 4:dkMMUYg5ZqnEWIN+XwDwXuI+oZ/E3k0Iwn+LM/LoqUxRO2GCxe1IkgUncQL18NmRXAHyfuj8sXgQ8lsfc1Vr2aJQ8W19snpY2jbKMkoh993dgp2VG/sHq5TfHz1jRqK3WYRN0j23ctyfxrkR5WMgHnqpm/8bRM66N8fkV3RnAHs6q2Eq2+YPHcck+MfpveQyQK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7fwCIp0VyvW9uEVk5xpBuIKxaZuqilRhACJTNT5rzpuZ1g+vFEDFZmk+Hz7PARO1VtzSUdKLunO0RFJ2CvdDpesm89N5Tvpd5aqvR5zkEeEGNaSi7hfyRUXO+fHvVF5BpMCY2DmICS7TicaUruDCbbjNDWrRn0zzW2tL05WHIqXKWcrM6nGnj4m19JN9kYqel68+TtkKPDX4aAH1VoWcHJgRWTl3GK6qwcFQV+B2YgSE4HmwMqROyNu91g==;
- 5:ik7k1b0SC+lC1IqlVvUqUNVsdtURffSMW72ah6+D+vic9YGpycFTPI0IiVdbQ/X7ceqK/I57ZOjniZ4KAIYEwOL3a4V7Admq19G3zUj6OR6spakbtPuB+zqlZXtq0JpAsrZBQYY0U11KnYrlGUAfHF25RiCD2MaMlvGOBYdNhUA=;
- 7:JBCZQ21PguVytYYJQvdyYWscwVWLl2rKhYniQA8blQmjyHuNxI1XkTsc/8JE/OXsecmB7dAZ40FkBshQdZkjzZaLoKEs94T/VDDouj7Cw1IoIq8ZUuw0HCmQtFt8TZbCy+F+r4u+iK6H1SQxdftLacGr1FfFEMcASq1EMv5RoxKMbd0mTmUbq7wmVF6MFkgzldfsAQ5F7GvWT328H7ljBuhfR6kaxenr6hHlkoYWDqP1xj5HtJfuY5nx9lJH4s6e
-SpamDiagnosticOutput: 1:99
-SpamDiagnosticMetadata: NSPM
-X-OriginatorOrg: xilinx.com
-X-MS-Exchange-CrossTenant-OriginalArrivalTime: 03 Aug 2018 17:53:53.3442 (UTC)
-X-MS-Exchange-CrossTenant-Network-Message-Id:
- 49efa090-d193-41b4-7655-08d5f96a13f8
-X-MS-Exchange-CrossTenant-Id: 657af505-d5df-48d0-8300-c31994686c5c
-X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp:
- TenantId=657af505-d5df-48d0-8300-c31994686c5c; Ip=[149.199.60.83];
- Helo=[xsj-pvapsmtpgw01]
-X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem
-X-MS-Exchange-Transport-CrossTenantHeadersStamped: BL0PR02MB4450
-X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3
-X-CRM114-CacheID: sfid-20180803_105408_896103_D3F4D1CB
-X-CRM114-Status: GOOD ( 11.13 )
-X-BeenThere: linux-arm-kernel@lists.infradead.org
-X-Mailman-Version: 2.1.21
-Precedence: list
-List-Id: <linux-arm-kernel.lists.infradead.org>
-List-Unsubscribe:
- <http://lists.infradead.org/mailman/options/linux-arm-kernel>,
- <mailto:linux-arm-kernel-request@lists.infradead.org?subject=unsubscribe>
-List-Archive: <http://lists.infradead.org/pipermail/linux-arm-kernel/>
-List-Post: <mailto:linux-arm-kernel@lists.infradead.org>
-List-Help: <mailto:linux-arm-kernel-request@lists.infradead.org?subject=help>
-List-Subscribe:
- <http://lists.infradead.org/mailman/listinfo/linux-arm-kernel>,
- <mailto:linux-arm-kernel-request@lists.infradead.org?subject=subscribe>
-Cc: devicetree@vger.kernel.org, rajanv@xilinx.com,
- linux-kernel@vger.kernel.org,
- linux-arm-kernel@lists.infradead.org, Jolly Shah <jollys@xilinx.com>
-Content-Type: text/plain; charset="us-ascii"
-Sender: "linux-arm-kernel" <linux-arm-kernel-bounces@lists.infradead.org>
-Errors-To:
- linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org
-X-Virus-Scanned: ClamAV using ClamSMTP
-
-From: Rajan Vaja <rajanv@xilinx.com>
-
-Add clock APIs to control clocks through firmware
-interface.
-
-Signed-off-by: Rajan Vaja <rajanv@xilinx.com>
-Signed-off-by: Jolly Shah <jollys@xilinx.com>
----
- drivers/firmware/xilinx/zynqmp.c | 186 ++++++++++++++++++++++++++++++++++-
- include/linux/firmware/xlnx-zynqmp.h | 30 ++++++
- 2 files changed, 214 insertions(+), 2 deletions(-)
-
-diff --git a/drivers/firmware/xilinx/zynqmp.c b/drivers/firmware/xilinx/zynqmp.c
-index 8ec5682..41ed800 100644
---- a/drivers/firmware/xilinx/zynqmp.c
-+++ b/drivers/firmware/xilinx/zynqmp.c
-@@ -269,14 +269,196 @@ static int zynqmp_pm_ioctl(u32 node_id, u32 ioctl_id, u32 arg1, u32 arg2,
- */
- static int zynqmp_pm_query_data(struct zynqmp_pm_query_data qdata, u32 *out)
- {
-- return zynqmp_pm_invoke_fn(PM_QUERY_DATA, qdata.qid, qdata.arg1,
-- qdata.arg2, qdata.arg3, out);
-+ int ret;
-+
-+ ret = zynqmp_pm_invoke_fn(PM_QUERY_DATA, qdata.qid, qdata.arg1,
-+ qdata.arg2, qdata.arg3, out);
-+
-+ /*
-+ * For clock name query, all bytes in SMC response are clock name
-+ * characters and return code is always success. For invalid clocks,
-+ * clock name bytes would be zeros.
-+ */
-+ return qdata.qid == PM_QID_CLOCK_GET_NAME ? 0 : ret;
-+}
-+
-+/**
-+ * zynqmp_pm_clock_enable() - Enable the clock for given id
-+ * @clock_id: ID of the clock to be enabled
-+ *
-+ * This function is used by master to enable the clock
-+ * including peripherals and PLL clocks.
-+ *
-+ * Return: Returns status, either success or error+reason
-+ */
-+static int zynqmp_pm_clock_enable(u32 clock_id)
-+{
-+ return zynqmp_pm_invoke_fn(PM_CLOCK_ENABLE, clock_id, 0, 0, 0, NULL);
-+}
-+
-+/**
-+ * zynqmp_pm_clock_disable() - Disable the clock for given id
-+ * @clock_id: ID of the clock to be disable
-+ *
-+ * This function is used by master to disable the clock
-+ * including peripherals and PLL clocks.
-+ *
-+ * Return: Returns status, either success or error+reason
-+ */
-+static int zynqmp_pm_clock_disable(u32 clock_id)
-+{
-+ return zynqmp_pm_invoke_fn(PM_CLOCK_DISABLE, clock_id, 0, 0, 0, NULL);
-+}
-+
-+/**
-+ * zynqmp_pm_clock_getstate() - Get the clock state for given id
-+ * @clock_id: ID of the clock to be queried
-+ * @state: 1/0 (Enabled/Disabled)
-+ *
-+ * This function is used by master to get the state of clock
-+ * including peripherals and PLL clocks.
-+ *
-+ * Return: Returns status, either success or error+reason
-+ */
-+static int zynqmp_pm_clock_getstate(u32 clock_id, u32 *state)
-+{
-+ u32 ret_payload[PAYLOAD_ARG_CNT];
-+ int ret;
-+
-+ ret = zynqmp_pm_invoke_fn(PM_CLOCK_GETSTATE, clock_id, 0,
-+ 0, 0, ret_payload);
-+ *state = ret_payload[1];
-+
-+ return ret;
-+}
-+
-+/**
-+ * zynqmp_pm_clock_setdivider() - Set the clock divider for given id
-+ * @clock_id: ID of the clock
-+ * @divider: divider value
-+ *
-+ * This function is used by master to set divider for any clock
-+ * to achieve desired rate.
-+ *
-+ * Return: Returns status, either success or error+reason
-+ */
-+static int zynqmp_pm_clock_setdivider(u32 clock_id, u32 divider)
-+{
-+ return zynqmp_pm_invoke_fn(PM_CLOCK_SETDIVIDER, clock_id, divider,
-+ 0, 0, NULL);
-+}
-+
-+/**
-+ * zynqmp_pm_clock_getdivider() - Get the clock divider for given id
-+ * @clock_id: ID of the clock
-+ * @divider: divider value
-+ *
-+ * This function is used by master to get divider values
-+ * for any clock.
-+ *
-+ * Return: Returns status, either success or error+reason
-+ */
-+static int zynqmp_pm_clock_getdivider(u32 clock_id, u32 *divider)
-+{
-+ u32 ret_payload[PAYLOAD_ARG_CNT];
-+ int ret;
-+
-+ ret = zynqmp_pm_invoke_fn(PM_CLOCK_GETDIVIDER, clock_id, 0,
-+ 0, 0, ret_payload);
-+ *divider = ret_payload[1];
-+
-+ return ret;
-+}
-+
-+/**
-+ * zynqmp_pm_clock_setrate() - Set the clock rate for given id
-+ * @clock_id: ID of the clock
-+ * @rate: rate value in hz
-+ *
-+ * This function is used by master to set rate for any clock.
-+ *
-+ * Return: Returns status, either success or error+reason
-+ */
-+static int zynqmp_pm_clock_setrate(u32 clock_id, u64 rate)
-+{
-+ return zynqmp_pm_invoke_fn(PM_CLOCK_SETRATE, clock_id,
-+ lower_32_bits(rate),
-+ upper_32_bits(rate),
-+ 0, NULL);
-+}
-+
-+/**
-+ * zynqmp_pm_clock_getrate() - Get the clock rate for given id
-+ * @clock_id: ID of the clock
-+ * @rate: rate value in hz
-+ *
-+ * This function is used by master to get rate
-+ * for any clock.
-+ *
-+ * Return: Returns status, either success or error+reason
-+ */
-+static int zynqmp_pm_clock_getrate(u32 clock_id, u64 *rate)
-+{
-+ u32 ret_payload[PAYLOAD_ARG_CNT];
-+ int ret;
-+
-+ ret = zynqmp_pm_invoke_fn(PM_CLOCK_GETRATE, clock_id, 0,
-+ 0, 0, ret_payload);
-+ *rate = ((u64)ret_payload[2] << 32) | ret_payload[1];
-+
-+ return ret;
-+}
-+
-+/**
-+ * zynqmp_pm_clock_setparent() - Set the clock parent for given id
-+ * @clock_id: ID of the clock
-+ * @parent_id: parent id
-+ *
-+ * This function is used by master to set parent for any clock.
-+ *
-+ * Return: Returns status, either success or error+reason
-+ */
-+static int zynqmp_pm_clock_setparent(u32 clock_id, u32 parent_id)
-+{
-+ return zynqmp_pm_invoke_fn(PM_CLOCK_SETPARENT, clock_id,
-+ parent_id, 0, 0, NULL);
-+}
-+
-+/**
-+ * zynqmp_pm_clock_getparent() - Get the clock parent for given id
-+ * @clock_id: ID of the clock
-+ * @parent_id: parent id
-+ *
-+ * This function is used by master to get parent index
-+ * for any clock.
-+ *
-+ * Return: Returns status, either success or error+reason
-+ */
-+static int zynqmp_pm_clock_getparent(u32 clock_id, u32 *parent_id)
-+{
-+ u32 ret_payload[PAYLOAD_ARG_CNT];
-+ int ret;
-+
-+ ret = zynqmp_pm_invoke_fn(PM_CLOCK_GETPARENT, clock_id, 0,
-+ 0, 0, ret_payload);
-+ *parent_id = ret_payload[1];
-+
-+ return ret;
- }
-
- static const struct zynqmp_eemi_ops eemi_ops = {
- .get_api_version = zynqmp_pm_get_api_version,
- .ioctl = zynqmp_pm_ioctl,
- .query_data = zynqmp_pm_query_data,
-+ .clock_enable = zynqmp_pm_clock_enable,
-+ .clock_disable = zynqmp_pm_clock_disable,
-+ .clock_getstate = zynqmp_pm_clock_getstate,
-+ .clock_setdivider = zynqmp_pm_clock_setdivider,
-+ .clock_getdivider = zynqmp_pm_clock_getdivider,
-+ .clock_setrate = zynqmp_pm_clock_setrate,
-+ .clock_getrate = zynqmp_pm_clock_getrate,
-+ .clock_setparent = zynqmp_pm_clock_setparent,
-+ .clock_getparent = zynqmp_pm_clock_getparent,
- };
-
- /**
-diff --git a/include/linux/firmware/xlnx-zynqmp.h b/include/linux/firmware/xlnx-zynqmp.h
-index 55ed2ba..58a7478 100644
---- a/include/linux/firmware/xlnx-zynqmp.h
-+++ b/include/linux/firmware/xlnx-zynqmp.h
-@@ -36,6 +36,15 @@ enum pm_api_id {
- PM_GET_API_VERSION = 1,
- PM_IOCTL = 34,
- PM_QUERY_DATA,
-+ PM_CLOCK_ENABLE,
-+ PM_CLOCK_DISABLE,
-+ PM_CLOCK_GETSTATE,
-+ PM_CLOCK_SETDIVIDER,
-+ PM_CLOCK_GETDIVIDER,
-+ PM_CLOCK_SETRATE,
-+ PM_CLOCK_GETRATE,
-+ PM_CLOCK_SETPARENT,
-+ PM_CLOCK_GETPARENT,
- };
-
- /* PMU-FW return status codes */
-@@ -49,8 +58,20 @@ enum pm_ret_status {
- XST_PM_ABORT_SUSPEND,
- };
-
-+enum pm_ioctl_id {
-+ IOCTL_SET_PLL_FRAC_MODE = 8,
-+ IOCTL_GET_PLL_FRAC_MODE,
-+ IOCTL_SET_PLL_FRAC_DATA,
-+ IOCTL_GET_PLL_FRAC_DATA,
-+};
-+
- enum pm_query_id {
- PM_QID_INVALID,
-+ PM_QID_CLOCK_GET_NAME,
-+ PM_QID_CLOCK_GET_TOPOLOGY,
-+ PM_QID_CLOCK_GET_FIXEDFACTOR_PARAMS,
-+ PM_QID_CLOCK_GET_PARENTS,
-+ PM_QID_CLOCK_GET_ATTRIBUTES,
- };
-
- /**
-@@ -71,6 +92,15 @@ struct zynqmp_eemi_ops {
- int (*get_api_version)(u32 *version);
- int (*ioctl)(u32 node_id, u32 ioctl_id, u32 arg1, u32 arg2, u32 *out);
- int (*query_data)(struct zynqmp_pm_query_data qdata, u32 *out);
-+ int (*clock_enable)(u32 clock_id);
-+ int (*clock_disable)(u32 clock_id);
-+ int (*clock_getstate)(u32 clock_id, u32 *state);
-+ int (*clock_setdivider)(u32 clock_id, u32 divider);
-+ int (*clock_getdivider)(u32 clock_id, u32 *divider);
-+ int (*clock_setrate)(u32 clock_id, u64 rate);
-+ int (*clock_getrate)(u32 clock_id, u64 *rate);
-+ int (*clock_setparent)(u32 clock_id, u32 parent_id);
-+ int (*clock_getparent)(u32 clock_id, u32 *parent_id);
- };
-
- #if IS_REACHABLE(CONFIG_ARCH_ZYNQMP)
-
-From patchwork Fri Aug 3 17:53:23 2018
-Content-Type: text/plain; charset="utf-8"
-MIME-Version: 1.0
-Content-Transfer-Encoding: 7bit
-X-Patchwork-Submitter: Jolly Shah <jolly.shah@xilinx.com>
-X-Patchwork-Id: 10555411
-Return-Path:
- <linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org>
-Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org
- [172.30.200.125])
- by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 42CDE14E2
- for <patchwork-linux-arm@patchwork.kernel.org>;
- Fri, 3 Aug 2018 18:05:47 +0000 (UTC)
-Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1])
- by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 2DEAE2BF36
- for <patchwork-linux-arm@patchwork.kernel.org>;
- Fri, 3 Aug 2018 18:05:47 +0000 (UTC)
-Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486)
- id 218302C983; Fri, 3 Aug 2018 18:05:47 +0000 (UTC)
-X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on
- pdx-wl-mail.web.codeaurora.org
-X-Spam-Level:
-X-Spam-Status: No, score=-2.9 required=2.0 tests=BAD_ENC_HEADER,BAYES_00,
- DKIM_SIGNED,DKIM_VALID,MAILING_LIST_MULTI autolearn=ham version=3.3.1
-Received: from bombadil.infradead.org (bombadil.infradead.org
- [198.137.202.133])
- (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits))
- (No client certificate requested)
- by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 55C962BF36
- for <patchwork-linux-arm@patchwork.kernel.org>;
- Fri, 3 Aug 2018 18:05:46 +0000 (UTC)
-DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed;
- d=lists.infradead.org; s=bombadil.20170209; h=Sender:
- Content-Transfer-Encoding:Content-Type:Cc:List-Subscribe:List-Help:List-Post:
- List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To:
- Message-ID:Date:Subject:To:From:Reply-To:Content-ID:Content-Description:
- Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:
- List-Owner; bh=SlaW7LMtEE/cr0hfSQZkJaC+lEL3gJLfwFZEnkwJH5M=; b=FF+yYiy+d6kVIY
- NPO8GugZSGK7/FfXWAnyKIzXDX4sfLdhp/xMTCgIoytzv+Wyp9ebZyPU+fFJRAYRw4ZgNVQ9QbTSw
- IDtNrqkTxlr+1cPaE1hD15KuN5Xa225kdNh30n5ukSkCOzflISqgvo0NvP2dQAiN2JkNVohH3eqsx
- 7l+7aFORrBS81lQVczus4Zpny/dtPc5p7qFm6VVZXaMMuwiP7Rq7bqsbiW1AwlRQlzyojckKHxLVI
- 9WrYobFEUCempK1hSL9BC/TpRZ4OiidHTFMEnIx7xX0vUJJbgwJoNKc12REazj7BOoefUvdc4iRR7
- OStU/IxPeB2DvffI49lQ==;
-Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org)
- by bombadil.infradead.org with esmtp (Exim 4.90_1 #2 (Red Hat Linux))
- id 1fleSM-0001Xj-N0; Fri, 03 Aug 2018 18:05:42 +0000
-Received: from mail-co1nam03on0073.outbound.protection.outlook.com
- ([104.47.40.73] helo=NAM03-CO1-obe.outbound.protection.outlook.com)
- by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux))
- id 1fleHA-0002lJ-1v
- for linux-arm-kernel@lists.infradead.org; Fri, 03 Aug 2018 17:54:10 +0000
-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
- d=xilinx.onmicrosoft.com; s=selector1-xilinx-com;
- h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck;
- bh=VE114//YUPYxbjun3uPhuQH8U38wde77z/JGyfmsCXc=;
- b=dq4snkg/uWEhhWRPXKPKRnkIcixnBBHL/oVun5zYPSScd7KwwifYQYPfhcb5F8QGbTRW3YANoVjYtFcZam+jmRITITCMN6nixJSuGD58PO++dabE+ZO5nUDkzlcP5imKo5LzoqYenyl5ZeG8e7gWVpgcKDlzEgbFZEwG7ygB330=
-Received: from CY4PR02CA0004.namprd02.prod.outlook.com (2603:10b6:903:18::14)
- by MWHPR0201MB3514.namprd02.prod.outlook.com (2603:10b6:301:77::11)
- with Microsoft SMTP Server (version=TLS1_2,
- cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.1017.14; Fri, 3 Aug
- 2018 17:53:54 +0000
-Received: from CY1NAM02FT024.eop-nam02.prod.protection.outlook.com
- (2a01:111:f400:7e45::207) by CY4PR02CA0004.outlook.office365.com
- (2603:10b6:903:18::14) with Microsoft SMTP Server (version=TLS1_2,
- cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384) id 15.20.1017.15 via Frontend
- Transport; Fri, 3 Aug 2018 17:53:54 +0000
-Authentication-Results: spf=pass (sender IP is 149.199.60.83)
- smtp.mailfrom=xilinx.com; linaro.org; dkim=none (message not signed)
- header.d=none;linaro.org; dmarc=bestguesspass action=none
- header.from=xilinx.com;
-Received-SPF: Pass (protection.outlook.com: domain of xilinx.com designates
- 149.199.60.83 as permitted sender) receiver=protection.outlook.com;
- client-ip=149.199.60.83; helo=xsj-pvapsmtpgw01;
-Received: from xsj-pvapsmtpgw01 (149.199.60.83) by
- CY1NAM02FT024.mail.protection.outlook.com (10.152.74.210) with Microsoft SMTP
- Server (version=TLS1_0, cipher=TLS_RSA_WITH_AES_256_CBC_SHA) id 15.20.1038.3
- via Frontend Transport; Fri, 3 Aug 2018 17:53:53 +0000
-Received: from unknown-38-66.xilinx.com ([149.199.38.66] helo=xsj-pvapsmtp01)
- by xsj-pvapsmtpgw01 with esmtp (Exim 4.63)
- (envelope-from <jolly.shah@xilinx.com>)
- id 1fleGu-0004fl-Qj; Fri, 03 Aug 2018 10:53:52 -0700
-Received: from [127.0.0.1] (helo=localhost)
- by xsj-pvapsmtp01 with smtp (Exim 4.63)
- (envelope-from <jolly.shah@xilinx.com>)
- id 1fleGp-0007cn-N0; Fri, 03 Aug 2018 10:53:47 -0700
-Received: from [172.19.2.91] (helo=xsjjollys50.xilinx.com)
- by xsj-pvapsmtp01 with esmtp (Exim 4.63)
- (envelope-from <jollys@xilinx.com>)
- id 1fleGl-0007bh-Gc; Fri, 03 Aug 2018 10:53:43 -0700
-From: Jolly Shah <jolly.shah@xilinx.com>
-To: <ard.biesheuvel@linaro.org>, <mingo@kernel.org>,
- <gregkh@linuxfoundation.org>, <matt@codeblueprint.co.uk>,
- <sudeep.holla@arm.com>, <hkallweit1@gmail.com>, <keescook@chromium.org>,
- <dmitry.torokhov@gmail.com>, <mturquette@baylibre.com>,
- <sboyd@codeaurora.org>, <michal.simek@xilinx.com>, <robh+dt@kernel.org>,
- <mark.rutland@arm.com>, <linux-clk@vger.kernel.org>
-Subject: [PATCH v11 06/11] firmware: xilinx: Add debugfs interface
-Date: Fri, 3 Aug 2018 10:53:23 -0700
-Message-ID: <1533318808-10781-7-git-send-email-jollys@xilinx.com>
-X-Mailer: git-send-email 2.7.4
-In-Reply-To: <1533318808-10781-1-git-send-email-jollys@xilinx.com>
-References: <1533318808-10781-1-git-send-email-jollys@xilinx.com>
-X-TM-AS-Product-Ver: IMSS-7.1.0.1224-8.2.0.1013-23620.005
-X-TM-AS-User-Approved-Sender: Yes;Yes
-X-EOPAttributedMessage: 0
-X-MS-Office365-Filtering-HT: Tenant
-X-Forefront-Antispam-Report: CIP:149.199.60.83; IPV:NLI; CTRY:US; EFV:NLI;
- SFV:NSPM;
- SFS:(10009020)(39860400002)(346002)(376002)(136003)(396003)(2980300002)(438002)(189003)(199004)(63266004)(72206003)(16586007)(14444005)(54906003)(110136005)(2201001)(36386004)(9786002)(478600001)(50226002)(4326008)(316002)(47776003)(7416002)(966005)(6666003)(39060400002)(107886003)(6306002)(106002)(2906002)(186003)(336012)(126002)(26005)(44832011)(106466001)(36756003)(51416003)(476003)(426003)(77096007)(76176011)(11346002)(7696005)(446003)(5660300001)(356003)(305945005)(2616005)(486006)(8676002)(48376002)(50466002)(8936002)(81156014)(81166006)(107986001)(921003)(1121003);
- DIR:OUT; SFP:1101; SCL:1; SRVR:MWHPR0201MB3514; H:xsj-pvapsmtpgw01; FPR:;
- SPF:Pass; LANG:en; PTR:unknown-60-83.xilinx.com; MX:1; A:1;
-X-Microsoft-Exchange-Diagnostics: 1; CY1NAM02FT024;
- 1:XJtp6mPeAEQzxSzqta74Rf02P94NT3NgcfhV+Ycor8oeXTmBrcMBNt3vLIuJw9viC1xla7+ljFaT82kV3FRpZm4WO8igxlIHKxyr/dbBx6sz5SFqITX4iUW9MbwzBzJG
-MIME-Version: 1.0
-X-MS-PublicTrafficType: Email
-X-MS-Office365-Filtering-Correlation-Id: 7f1cf7f5-c927-43d7-edf8-08d5f96a1431
-X-Microsoft-Antispam: BCL:0; PCL:0;
- RULEID:(7020095)(4652040)(8989117)(5600074)(711020)(4608076)(4534165)(4627221)(201703031133081)(201702281549075)(8990107)(2017052603328)(7153060);
- SRVR:MWHPR0201MB3514;
-X-Microsoft-Exchange-Diagnostics: 1; MWHPR0201MB3514;
- 3:gWfRNCiVxx6krfkpYUQ4cnxzfyusc7U4ga1svGYbU6p696pzaZ1w5Uaxj3FieLruw17UnPwa/jwT2IHNz5rOSXNXgNMLzHBRtSMqPlX3Vn/WpUFkKOnTFiB5yAXfTfZNcET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7ETyOkYQq955zCzGisVbBUsNBLpRilzDOq9tRRaS+iLzckxPbAgPd8QPT7kEt7nK/HFXVtXSr7dEaTYUkzPxnq0UNJjK0bzMUVwdfN91dtjYLwDxNEjiFsWaAHz7kuOshfa0vfmWcwPnkcivtW5K0l2r/b2mcL//ZJ40VFzM/sA0CdR993knaX9IGzA+b7NxJWa6m8g4TEvLBGbfhsX99KiHAg+LYts2UJlnNcwa0K4aIjpXB0Dhkooqh5/JSTWOMyaQe3jn5wdIKQOHxCCgqK4QA/CgTjkwxrFfiMEahPzFFTv9LlIA1VjcuTEkkYCrkXsW1ghsK4o6ASAg/sc7Phlr85KqvR
-X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply
-X-Microsoft-Antispam-PRVS:
- <MWHPR0201MB3514F1A156385FD474D4E190B8230@MWHPR0201MB3514.namprd02.prod.outlook.com>
-X-Exchange-Antispam-Report-Test: UriScan:(192813158149592)(189271028609987);
-X-MS-Exchange-SenderADCheck: 1
-X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0;
- RULEID:(8211001083)(6040522)(2401047)(8121501046)(5005006)(10201501046)(93006095)(93004095)(3002001)(3231311)(944501410)(52105095)(6055026)(149027)(150027)(6041310)(20161123562045)(20161123560045)(20161123564045)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(20161123558120)(6072148)(201708071742011)(7699016);
- SRVR:MWHPR0201MB3514; BCL:0; PCL:0; RULEID:; SRVR:MWHPR0201MB3514;
-X-Microsoft-Exchange-Diagnostics: 1; MWHPR0201MB3514;
- 4:iv2luY/31yBDz008ORw8GHI2Vz7FdH6vSANVDPIycHRkJvz6usFK7+oXF5VhMfI7DyHY5nhm/IrAEr0+7I37TuUrjkdBFUHrYEMr6dS+RE55S2KlSCWmgQa5DKI5eZ71PX7M1fCx4FdQ46TL5Du0HbtPLyghKkdSUQJRh9n7q7FdLKNKZKQNICp6HBhWRiZCtXWiLexZ8KbngRyEBZCHQYj67yYW8G+Cv2NZ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pMiCimn9LFFmhAqkKaus4NqqIaxaKHyxH9DT48PX9ftSlEBu83kwORXMmc86vNav5W7agH5wcf4JWB7rhs6Ilb/QHJREGr1prfgZCbbIGymGgFqaYW7MxPEAcrvy7HNIR7p6p8OrJStPwa6gdJLmfewJ58uhECi6LHpe96UoFXe6xV0g1LminYtd1v0E8IWVg8C11U3+2aT2s/Lob3FutXllOavrUtwtmTVGUqTLNmk/IewxMAvefw==;
- 5:kqpBuNN0jMQLX4JukacwSnruLLAHNyUPNzuibKBoJVDUV7lTHOgGcJQmdcbhnikuPg/3ojrLboGx4nZaUtN3Gy7/gHhSgEcDbWAuqBOnT9dzG/Ue/KGJgxMlKTrjVbeyD9+kzXk/O8KvKoiawPq0oFRDBzT3SY11PTuOpVj95tY=;
- 7:3q5YG446HT0tyNhVkZLO4Ct0aMHkqUkQnwqbqlm1VJqI7Hy71127B4vYrFU5f7rJRqjCSO5xqAeq1dpYx8lLx4esJuqYqeUanY02mDAim5uPnwIAqfrzj7BcEwNcHrwQLVszFIVgdyhcNRdOTlltM5sYJlFJZFKcNs4ZKcK/y5J56JzIE8rXJ9cwnnB+q3oREMEh/kGqDE3fyJ0tK+mXn0W9AVhjxDvzRMaWzMlk29IzMHzSjinQV5OpfpRCxnJl
-SpamDiagnosticOutput: 1:99
-SpamDiagnosticMetadata: NSPM
-X-OriginatorOrg: xilinx.com
-X-MS-Exchange-CrossTenant-OriginalArrivalTime: 03 Aug 2018 17:53:53.3302 (UTC)
-X-MS-Exchange-CrossTenant-Network-Message-Id:
- 7f1cf7f5-c927-43d7-edf8-08d5f96a1431
-X-MS-Exchange-CrossTenant-Id: 657af505-d5df-48d0-8300-c31994686c5c
-X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp:
- TenantId=657af505-d5df-48d0-8300-c31994686c5c; Ip=[149.199.60.83];
- Helo=[xsj-pvapsmtpgw01]
-X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem
-X-MS-Exchange-Transport-CrossTenantHeadersStamped: MWHPR0201MB3514
-X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3
-X-CRM114-CacheID: sfid-20180803_105408_216035_5379A60B
-X-CRM114-Status: GOOD ( 14.88 )
-X-BeenThere: linux-arm-kernel@lists.infradead.org
-X-Mailman-Version: 2.1.21
-Precedence: list
-List-Id: <linux-arm-kernel.lists.infradead.org>
-List-Unsubscribe:
- <http://lists.infradead.org/mailman/options/linux-arm-kernel>,
- <mailto:linux-arm-kernel-request@lists.infradead.org?subject=unsubscribe>
-List-Archive: <http://lists.infradead.org/pipermail/linux-arm-kernel/>
-List-Post: <mailto:linux-arm-kernel@lists.infradead.org>
-List-Help: <mailto:linux-arm-kernel-request@lists.infradead.org?subject=help>
-List-Subscribe:
- <http://lists.infradead.org/mailman/listinfo/linux-arm-kernel>,
- <mailto:linux-arm-kernel-request@lists.infradead.org?subject=subscribe>
-Cc: devicetree@vger.kernel.org, rajanv@xilinx.com,
- linux-kernel@vger.kernel.org,
- linux-arm-kernel@lists.infradead.org, Jolly Shah <jollys@xilinx.com>
-Content-Type: text/plain; charset="us-ascii"
-Sender: "linux-arm-kernel" <linux-arm-kernel-bounces@lists.infradead.org>
-Errors-To:
- linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org
-X-Virus-Scanned: ClamAV using ClamSMTP
-
-From: Rajan Vaja <rajanv@xilinx.com>
-
-Firmware-debug provides debugfs interface to all APIs.
-Debugfs can be used to call firmware APIs with required
-parameters.
-
-Usage:
-* Calling firmware API through debugfs:
- # echo "<api-name> <arg1> .. <argn>" > /sys/.../zynqmp-firmware/pm
-
-* Read output of last called firmware API:
- # cat /sys/.../zynqmp-firmware/pm
-
-Refer ug1200 for more information on these APIs:
- * https://www.xilinx.com/support/documentation/user_guides/ug1200-eemi-api.pdf
-
-Add basic debugfs file to get API version.
-
-Signed-off-by: Rajan Vaja <rajanv@xilinx.com>
-Signed-off-by: Jolly Shah <jollys@xilinx.com>
----
- drivers/firmware/xilinx/Kconfig | 7 ++
- drivers/firmware/xilinx/Makefile | 1 +
- drivers/firmware/xilinx/zynqmp-debug.c | 212 +++++++++++++++++++++++++++++++++
- drivers/firmware/xilinx/zynqmp-debug.h | 22 ++++
- drivers/firmware/xilinx/zynqmp.c | 9 ++
- 5 files changed, 251 insertions(+)
- create mode 100644 drivers/firmware/xilinx/zynqmp-debug.c
- create mode 100644 drivers/firmware/xilinx/zynqmp-debug.h
-
-diff --git a/drivers/firmware/xilinx/Kconfig b/drivers/firmware/xilinx/Kconfig
-index 64d976e..8f44b9c 100644
---- a/drivers/firmware/xilinx/Kconfig
-+++ b/drivers/firmware/xilinx/Kconfig
-@@ -13,4 +13,11 @@ config ZYNQMP_FIRMWARE
- Say yes to enable ZynqMP firmware interface driver.
- If in doubt, say N.
-
-+config ZYNQMP_FIRMWARE_DEBUG
-+ bool "Enable Xilinx Zynq MPSoC firmware debug APIs"
-+ depends on ZYNQMP_FIRMWARE && DEBUG_FS
-+ help
-+ Say yes to enable ZynqMP firmware interface debug APIs.
-+ If in doubt, say N.
-+
- endmenu
-diff --git a/drivers/firmware/xilinx/Makefile b/drivers/firmware/xilinx/Makefile
-index 29f7bf2..875a537 100644
---- a/drivers/firmware/xilinx/Makefile
-+++ b/drivers/firmware/xilinx/Makefile
-@@ -2,3 +2,4 @@
- # Makefile for Xilinx firmwares
-
- obj-$(CONFIG_ZYNQMP_FIRMWARE) += zynqmp.o
-+obj-$(CONFIG_ZYNQMP_FIRMWARE_DEBUG) += zynqmp-debug.o
-diff --git a/drivers/firmware/xilinx/zynqmp-debug.c b/drivers/firmware/xilinx/zynqmp-debug.c
-new file mode 100644
-index 0000000..fcbdd6e
---- /dev/null
-+++ b/drivers/firmware/xilinx/zynqmp-debug.c
-@@ -0,0 +1,212 @@
-+// SPDX-License-Identifier: GPL-2.0
-+/*
-+ * Xilinx Zynq MPSoC Firmware layer for debugfs APIs
-+ *
-+ * Copyright (C) 2014-2018 Xilinx, Inc.
-+ *
-+ * Michal Simek <michal.simek@xilinx.com>
-+ * Davorin Mista <davorin.mista@aggios.com>
-+ * Jolly Shah <jollys@xilinx.com>
-+ * Rajan Vaja <rajanv@xilinx.com>
-+ */
-+
-+#include <linux/compiler.h>
-+#include <linux/module.h>
-+#include <linux/slab.h>
-+#include <linux/debugfs.h>
-+#include <linux/uaccess.h>
-+
-+#include <linux/firmware/xlnx-zynqmp.h>
-+#include "zynqmp-debug.h"
-+
-+#define PM_API_NAME_LEN 50
-+
-+struct pm_api_info {
-+ u32 api_id;
-+ char api_name[PM_API_NAME_LEN];
-+ char api_name_len;
-+};
-+
-+static char debugfs_buf[PAGE_SIZE];
-+
-+#define PM_API(id) {id, #id, strlen(#id)}
-+static struct pm_api_info pm_api_list[] = {
-+ PM_API(PM_GET_API_VERSION),
-+};
-+
-+/**
-+ * zynqmp_pm_argument_value() - Extract argument value from a PM-API request
-+ * @arg: Entered PM-API argument in string format
-+ *
-+ * Return: Argument value in unsigned integer format on success
-+ * 0 otherwise
-+ */
-+static u64 zynqmp_pm_argument_value(char *arg)
-+{
-+ u64 value;
-+
-+ if (!arg)
-+ return 0;
-+
-+ if (!kstrtou64(arg, 0, &value))
-+ return value;
-+
-+ return 0;
-+}
-+
-+/**
-+ * get_pm_api_id() - Extract API-ID from a PM-API request
-+ * @pm_api_req: Entered PM-API argument in string format
-+ * @pm_id: API-ID
-+ *
-+ * Return: 0 on success else error code
-+ */
-+static int get_pm_api_id(char *pm_api_req, u32 *pm_id)
-+{
-+ int i;
-+
-+ for (i = 0; i < ARRAY_SIZE(pm_api_list) ; i++) {
-+ if (!strncasecmp(pm_api_req, pm_api_list[i].api_name,
-+ pm_api_list[i].api_name_len)) {
-+ *pm_id = pm_api_list[i].api_id;
-+ break;
-+ }
-+ }
-+
-+ /* If no name was entered look for PM-API ID instead */
-+ if (i == ARRAY_SIZE(pm_api_list) && kstrtouint(pm_api_req, 10, pm_id))
-+ return -EINVAL;
-+
-+ return 0;
-+}
-+
-+static int process_api_request(u32 pm_id, u64 *pm_api_arg, u32 *pm_api_ret)
-+{
-+ const struct zynqmp_eemi_ops *eemi_ops = zynqmp_pm_get_eemi_ops();
-+ u32 pm_api_version;
-+ int ret;
-+
-+ if (!eemi_ops)
-+ return -ENXIO;
-+
-+ switch (pm_id) {
-+ case PM_GET_API_VERSION:
-+ ret = eemi_ops->get_api_version(&pm_api_version);
-+ sprintf(debugfs_buf, "PM-API Version = %d.%d\n",
-+ pm_api_version >> 16, pm_api_version & 0xffff);
-+ break;
-+ default:
-+ sprintf(debugfs_buf, "Unsupported PM-API request\n");
-+ ret = -EINVAL;
-+ }
-+
-+ return ret;
-+}
-+
-+/**
-+ * zynqmp_pm_debugfs_api_write() - debugfs write function
-+ * @file: User file
-+ * @ptr: User entered PM-API string
-+ * @len: Length of the userspace buffer
-+ * @off: Offset within the file
-+ *
-+ * Used for triggering pm api functions by writing
-+ * echo <pm_api_id> > /sys/kernel/debug/zynqmp_pm/power or
-+ * echo <pm_api_name> > /sys/kernel/debug/zynqmp_pm/power
-+ *
-+ * Return: Number of bytes copied if PM-API request succeeds,
-+ * the corresponding error code otherwise
-+ */
-+static ssize_t zynqmp_pm_debugfs_api_write(struct file *file,
-+ const char __user *ptr, size_t len,
-+ loff_t *off)
-+{
-+ char *kern_buff, *tmp_buff;
-+ char *pm_api_req;
-+ u32 pm_id = 0;
-+ u64 pm_api_arg[4] = {0, 0, 0, 0};
-+ /* Return values from PM APIs calls */
-+ u32 pm_api_ret[4] = {0, 0, 0, 0};
-+
-+ int ret;
-+ int i = 0;
-+
-+ strcpy(debugfs_buf, "");
-+
-+ if (*off != 0 || len == 0)
-+ return -EINVAL;
-+
-+ kern_buff = kzalloc(len, GFP_KERNEL);
-+ if (!kern_buff)
-+ return -ENOMEM;
-+
-+ tmp_buff = kern_buff;
-+
-+ ret = strncpy_from_user(kern_buff, ptr, len);
-+ if (ret < 0) {
-+ ret = -EFAULT;
-+ goto err;
-+ }
-+
-+ /* Read the API name from a user request */
-+ pm_api_req = strsep(&kern_buff, " ");
-+
-+ ret = get_pm_api_id(pm_api_req, &pm_id);
-+ if (ret < 0)
-+ goto err;
-+
-+ /* Read node_id and arguments from the PM-API request */
-+ pm_api_req = strsep(&kern_buff, " ");
-+ while ((i < ARRAY_SIZE(pm_api_arg)) && pm_api_req) {
-+ pm_api_arg[i++] = zynqmp_pm_argument_value(pm_api_req);
-+ pm_api_req = strsep(&kern_buff, " ");
-+ }
-+
-+ ret = process_api_request(pm_id, pm_api_arg, pm_api_ret);
-+
-+err:
-+ kfree(tmp_buff);
-+ if (ret)
-+ return ret;
-+
-+ return len;
-+}
-+
-+/**
-+ * zynqmp_pm_debugfs_api_read() - debugfs read function
-+ * @file: User file
-+ * @ptr: Requested pm_api_version string
-+ * @len: Length of the userspace buffer
-+ * @off: Offset within the file
-+ *
-+ * Return: Length of the version string on success
-+ * else error code
-+ */
-+static ssize_t zynqmp_pm_debugfs_api_read(struct file *file, char __user *ptr,
-+ size_t len, loff_t *off)
-+{
-+ return simple_read_from_buffer(ptr, len, off, debugfs_buf,
-+ strlen(debugfs_buf));
-+}
-+
-+/* Setup debugfs fops */
-+static const struct file_operations fops_zynqmp_pm_dbgfs = {
-+ .owner = THIS_MODULE,
-+ .write = zynqmp_pm_debugfs_api_write,
-+ .read = zynqmp_pm_debugfs_api_read,
-+};
-+
-+/**
-+ * zynqmp_pm_api_debugfs_init - Initialize debugfs interface
-+ *
-+ * Return: None
-+ */
-+void zynqmp_pm_api_debugfs_init(void)
-+{
-+ struct dentry *root_dir;
-+
-+ /* Initialize debugfs interface */
-+ root_dir = debugfs_create_dir("zynqmp-firmware", NULL);
-+ debugfs_create_file("pm", 0660, root_dir, NULL,
-+ &fops_zynqmp_pm_dbgfs);
-+}
-diff --git a/drivers/firmware/xilinx/zynqmp-debug.h b/drivers/firmware/xilinx/zynqmp-debug.h
-new file mode 100644
-index 0000000..3303b37
---- /dev/null
-+++ b/drivers/firmware/xilinx/zynqmp-debug.h
-@@ -0,0 +1,22 @@
-+/* SPDX-License-Identifier: GPL-2.0 */
-+/*
-+ * Xilinx Zynq MPSoC Firmware layer
-+ *
-+ * Copyright (C) 2014-2018 Xilinx
-+ *
-+ * Michal Simek <michal.simek@xilinx.com>
-+ * Davorin Mista <davorin.mista@aggios.com>
-+ * Jolly Shah <jollys@xilinx.com>
-+ * Rajan Vaja <rajanv@xilinx.com>
-+ */
-+
-+#ifndef __FIRMWARE_ZYNQMP_DEBUG_H__
-+#define __FIRMWARE_ZYNQMP_DEBUG_H__
-+
-+#if IS_REACHABLE(CONFIG_ZYNQMP_FIRMWARE_DEBUG)
-+void zynqmp_pm_api_debugfs_init(void);
-+#else
-+static inline void zynqmp_pm_api_debugfs_init(void) { }
-+#endif
-+
-+#endif /* __FIRMWARE_ZYNQMP_DEBUG_H__ */
-diff --git a/drivers/firmware/xilinx/zynqmp.c b/drivers/firmware/xilinx/zynqmp.c
-index 41ed800..7ccedf0 100644
---- a/drivers/firmware/xilinx/zynqmp.c
-+++ b/drivers/firmware/xilinx/zynqmp.c
-@@ -21,6 +21,7 @@
- #include <linux/uaccess.h>
-
- #include <linux/firmware/xlnx-zynqmp.h>
-+#include "zynqmp-debug.h"
-
- /**
- * zynqmp_pm_ret_code() - Convert PMU-FW error codes to Linux error codes
-@@ -551,3 +552,11 @@ static int __init zynqmp_plat_init(void)
- return ret;
- }
- early_initcall(zynqmp_plat_init);
-+
-+static int zynqmp_firmware_init(void)
-+{
-+ zynqmp_pm_api_debugfs_init();
-+
-+ return 0;
-+}
-+device_initcall(zynqmp_firmware_init);
-
-From patchwork Fri Aug 3 17:53:24 2018
-Content-Type: text/plain; charset="utf-8"
-MIME-Version: 1.0
-Content-Transfer-Encoding: 7bit
-X-Patchwork-Submitter: Jolly Shah <jolly.shah@xilinx.com>
-X-Patchwork-Id: 10555373
-Return-Path:
- <linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org>
-Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org
- [172.30.200.125])
- by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 0728E15E9
- for <patchwork-linux-arm@patchwork.kernel.org>;
- Fri, 3 Aug 2018 17:54:15 +0000 (UTC)
-Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1])
- by mail.wl.linuxfoundation.org (Postfix) with ESMTP id E50BE2C91B
- for <patchwork-linux-arm@patchwork.kernel.org>;
- Fri, 3 Aug 2018 17:54:14 +0000 (UTC)
-Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486)
- id D82F42C92C; Fri, 3 Aug 2018 17:54:14 +0000 (UTC)
-X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on
- pdx-wl-mail.web.codeaurora.org
-X-Spam-Level:
-X-Spam-Status: No, score=-2.9 required=2.0 tests=BAD_ENC_HEADER,BAYES_00,
- DKIM_SIGNED,DKIM_VALID,MAILING_LIST_MULTI autolearn=ham version=3.3.1
-Received: from bombadil.infradead.org (bombadil.infradead.org
- [198.137.202.133])
- (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits))
- (No client certificate requested)
- by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 5BAE12C91B
- for <patchwork-linux-arm@patchwork.kernel.org>;
- Fri, 3 Aug 2018 17:54:14 +0000 (UTC)
-DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed;
- d=lists.infradead.org; s=bombadil.20170209; h=Sender:
- Content-Transfer-Encoding:Content-Type:Cc:List-Subscribe:List-Help:List-Post:
- List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To:
- Message-ID:Date:Subject:To:From:Reply-To:Content-ID:Content-Description:
- Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:
- List-Owner; bh=ce9N8qS1n2EpfOeno+i2a3LMyME6omtu8MHJyKnv2RE=; b=VbC0jj5XyhOiMf
- oif0P4bseb3ixymI6mjSu7OXKVV3NtUQMiIqBOO05ULnejAkpqQw6k+yoskdpoYbpeaPdFx1gHHfs
- ooY9iZW2n3JkuhcPfD9RU/2pcZ3uzNWA+HoCHwkUjP4tjcVBbQtWf0y2QvbRTiCHhm3Rr7RHwHusm
- AliL1P3mk8Vf7hj7902Zlv1Nsdl610wNfsS4HazVcZrMRydVx2ipm+9a8E3iXu4DbAfoKhLGwTy5y
- Vpn6ixDpLiz13ocXThkBDYx2YM3G/XPWJD0b/sag6o8JsCC/enTrvfR8EX/GyZllS8N5xzm6sudmt
- UtmP6Niiiq65j4GH70Cw==;
-Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org)
- by bombadil.infradead.org with esmtp (Exim 4.90_1 #2 (Red Hat Linux))
- id 1fleHC-0002ok-EF; Fri, 03 Aug 2018 17:54:10 +0000
-Received: from mail-co1nam03on0042.outbound.protection.outlook.com
- ([104.47.40.42] helo=NAM03-CO1-obe.outbound.protection.outlook.com)
- by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux))
- id 1fleH8-0002l3-8x
- for linux-arm-kernel@lists.infradead.org; Fri, 03 Aug 2018 17:54:08 +0000
-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
- d=xilinx.onmicrosoft.com; s=selector1-xilinx-com;
- h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck;
- bh=KfW+TeHXf25KA6qOupiMQV9tPEEtp8syyNbbmMvNliw=;
- b=t0MYowi7lPBK6x2+g6Mdq8oGFmSACBNuqqmQAzWbQU9URrT8WULaxtOB+C0uR1P5oa6yxSmofIYryB3wJlV8Ee0exwgNMHgfY6X6u0KY00QfXNknDo7x1rkg3z3+DUgkHe68Ih2eDlMeE2Fodhjjho1kREWii951WIOjELL1zdg=
-Received: from SN6PR02CA0013.namprd02.prod.outlook.com (2603:10b6:805:a2::26)
- by DM6PR02MB4332.namprd02.prod.outlook.com (2603:10b6:5:2a::29) with
- Microsoft SMTP Server (version=TLS1_2,
- cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.1017.14; Fri, 3 Aug
- 2018 17:53:53 +0000
-Received: from SN1NAM02FT020.eop-nam02.prod.protection.outlook.com
- (2a01:111:f400:7e44::201) by SN6PR02CA0013.outlook.office365.com
- (2603:10b6:805:a2::26) with Microsoft SMTP Server (version=TLS1_2,
- cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384) id 15.20.1017.15 via Frontend
- Transport; Fri, 3 Aug 2018 17:53:53 +0000
-Authentication-Results: spf=pass (sender IP is 149.199.60.100)
- smtp.mailfrom=xilinx.com; linaro.org; dkim=none (message not signed)
- header.d=none;linaro.org; dmarc=bestguesspass action=none
- header.from=xilinx.com;
-Received-SPF: Pass (protection.outlook.com: domain of xilinx.com designates
- 149.199.60.100 as permitted sender) receiver=protection.outlook.com;
- client-ip=149.199.60.100; helo=xsj-pvapsmtpgw02;
-Received: from xsj-pvapsmtpgw02 (149.199.60.100) by
- SN1NAM02FT020.mail.protection.outlook.com (10.152.72.139) with Microsoft SMTP
- Server (version=TLS1_0, cipher=TLS_RSA_WITH_AES_256_CBC_SHA) id 15.20.1038.3
- via Frontend Transport; Fri, 3 Aug 2018 17:53:52 +0000
-Received: from unknown-38-66.xilinx.com ([149.199.38.66]:50942
- helo=xsj-pvapsmtp01) by xsj-pvapsmtpgw02 with esmtp (Exim 4.63)
- (envelope-from <jolly.shah@xilinx.com>)
- id 1fleGu-0003jx-3y; Fri, 03 Aug 2018 10:53:52 -0700
-Received: from [127.0.0.1] (helo=localhost)
- by xsj-pvapsmtp01 with smtp (Exim 4.63)
- (envelope-from <jolly.shah@xilinx.com>)
- id 1fleGp-0007cn-0U; Fri, 03 Aug 2018 10:53:47 -0700
-Received: from [172.19.2.91] (helo=xsjjollys50.xilinx.com)
- by xsj-pvapsmtp01 with esmtp (Exim 4.63)
- (envelope-from <jollys@xilinx.com>)
- id 1fleGl-0007bh-JC; Fri, 03 Aug 2018 10:53:43 -0700
-From: Jolly Shah <jolly.shah@xilinx.com>
-To: <ard.biesheuvel@linaro.org>, <mingo@kernel.org>,
- <gregkh@linuxfoundation.org>, <matt@codeblueprint.co.uk>,
- <sudeep.holla@arm.com>, <hkallweit1@gmail.com>, <keescook@chromium.org>,
- <dmitry.torokhov@gmail.com>, <mturquette@baylibre.com>,
- <sboyd@codeaurora.org>, <michal.simek@xilinx.com>, <robh+dt@kernel.org>,
- <mark.rutland@arm.com>, <linux-clk@vger.kernel.org>
-Subject: [PATCH v11 07/11] firmware: xilinx: Add debugfs for IOCTL API
-Date: Fri, 3 Aug 2018 10:53:24 -0700
-Message-ID: <1533318808-10781-8-git-send-email-jollys@xilinx.com>
-X-Mailer: git-send-email 2.7.4
-In-Reply-To: <1533318808-10781-1-git-send-email-jollys@xilinx.com>
-References: <1533318808-10781-1-git-send-email-jollys@xilinx.com>
-X-TM-AS-Product-Ver: IMSS-7.1.0.1224-8.2.0.1013-23620.005
-X-TM-AS-User-Approved-Sender: Yes;Yes
-X-EOPAttributedMessage: 0
-X-MS-Office365-Filtering-HT: Tenant
-X-Forefront-Antispam-Report: CIP:149.199.60.100; IPV:NLI; CTRY:US; EFV:NLI;
- SFV:NSPM;
- SFS:(10009020)(39860400002)(136003)(346002)(376002)(396003)(2980300002)(438002)(189003)(199004)(126002)(36756003)(2616005)(476003)(110136005)(48376002)(106002)(426003)(51416003)(7696005)(336012)(44832011)(54906003)(478600001)(186003)(446003)(11346002)(16586007)(26005)(36386004)(50466002)(76176011)(77096007)(39060400002)(486006)(4326008)(107886003)(8676002)(5660300001)(81166006)(72206003)(316002)(81156014)(305945005)(50226002)(356003)(47776003)(2906002)(9786002)(14444005)(2201001)(8936002)(106466001)(63266004)(6666003)(7416002)(107986001)(921003)(5001870100001)(1121003);
- DIR:OUT; SFP:1101; SCL:1; SRVR:DM6PR02MB4332; H:xsj-pvapsmtpgw02; FPR:;
- SPF:Pass; LANG:en; PTR:xapps1.xilinx.com,unknown-60-100.xilinx.com; MX:1;
- A:1;
-X-Microsoft-Exchange-Diagnostics: 1; SN1NAM02FT020;
- 1:zasqvSYhsWAhFR8BsQqznPhHZWutS5L27pZRAjx7WftXVjIUELTIoOJpSsSUD+f4Oswo5TGe0mt80EAOljtkOPkYcNn1HyH7b8CbpIqpyOSsOFvajgMgeslMpJUI8FCC
-MIME-Version: 1.0
-X-MS-PublicTrafficType: Email
-X-MS-Office365-Filtering-Correlation-Id: d82c6346-76fc-439b-9dcf-08d5f96a1370
-X-Microsoft-Antispam: BCL:0; PCL:0;
- RULEID:(7020095)(4652040)(8989117)(4534165)(4627221)(201703031133081)(201702281549075)(8990107)(5600074)(711020)(4608076)(2017052603328)(7153060);
- SRVR:DM6PR02MB4332;
-X-Microsoft-Exchange-Diagnostics: 1; DM6PR02MB4332;
- 3:rqNZDnzIT5q+FET8pFU3tZhPuEQSRuq3R66uNM3S/YQeizIkJUv1TzWFY/cnr16gynASpVkaHVu+NgEqmV99BWHuleFqGU/UausrCgPe5E5iSh6WWpHLt1u/DNN5il1GhmQdvq7PxWaFV/bQBkE4GlFBsxzfBd4N3FbTarL3iPWhYa9vbozJ0M/Nnml87GSgMAapIihLkI2bXcc3ZpBpNl8A9xUekGpdRbs+LqCkiHvyompxXT7o8r8n/FBCgp2mw70SpIe65sNlJFhRnpOdk4Lq+jgv2dAqVTM4/2U5vttyQ6+r2OOUmbtiyk0wYB+kVa6VBJnGimyXT0lhAQ9K5tR5Bi/6J/Kg5JwOaVPCGKk=;
- 25:bB6qzDqu9+vrR++q12i4He5KMFbdkOATwFddZzgEEFaemA3sUuUP/09hiJ5tRK5TVTkFPvdrQA8BMeA/lfr7zfLMSQZxJFcMA/bQ3iHDkOanuBsL+0T+Bjl4msOkUyZgwUND/zZyvOqds/cBKHyASeWm+5bHLnQYAB41FIQR9xdzV0WHJn3kI/rmqpH6gHXCQ/ItMAJF2sjSoIKk7lD44cYZ+DN4EMs8+yvpVx5HJoy4uGe7SeilyHewvq0GYKJvdQAW2wA/NV/g7iqjkoao8nOXmyzngN/IpOyeQ4tOU5994VjHiI8GX/GJekbZhRa4qQqDW2/36ztKwOSMb47qeQ==
-X-MS-TrafficTypeDiagnostic: DM6PR02MB4332:
-X-Microsoft-Exchange-Diagnostics: 1; DM6PR02MB4332;
- 31:qIs/qh8ANOYqDxK++Xh+tDxbNjl7bMZ/TxTYtgX8za/VfJ2Cufud4gdaHkzWzDj4vwEqjT4AxbNNxBGFMVryjkwPnjS7pPLnxv8DQPnwpMSaP3n1GeWzrbe1HlOtzVY91LHyKBaiLOkkHD145GrLYEJ1TuygVgK1mpYYbwPlJhPPBRW5kwWagNoR9qBuRwdUvoYyBDm2Y4QrYiWbY/siOAq4VsOKBeSDDpgCqN9zk20=;
- 20:lD7XRVhyJr//IUUVdzyMpO05/HTB8vi75mkal0CDU77BsCQUX6q1zxJrrL1ia5oy58X5YW8ZSkr1TvSCIKuIdsvjh1Czgkwcd8S3TC+gfeNM8LAURdI4kvsKPdjMhNENp/fgHtZSf0GLg8jC9Z72RjSB4Oi9XiZs3kEABq61d2D1RWxrGxVGDoH/6K9jVNELXZ07EDb3K/mwu3PFJe+SYIgxAi+eVkiMqnkGOyW4tzFlYJM4laYuBIe7hIog00zDrofIBJV+bCTzxgpmOK08FoRoeIcwoNJF1n3D7wmnkeQWYf3/amxjspYW9badjBxnG4UpevdTjCJmbAcAlov2AHODAWwdrCx/Rsiaakn5vRe5eQIs6lrQHFbvG3yadfFv2ZguoGXKjknbiElxMscOIXgPzdEUanEUf4qcLsqvvaAYslAYERDIhsUzxQzsTbpPlWFpqKr4/RYZlhGwWelPGEBI0cMpuQCOG/39//ShWspUfdWuIMBuKU/WoRHVR8Wp
-X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply
-X-Microsoft-Antispam-PRVS:
- <DM6PR02MB433255E3ED6901B2BF41F17FB8230@DM6PR02MB4332.namprd02.prod.outlook.com>
-X-Exchange-Antispam-Report-Test: UriScan:(192813158149592);
-X-MS-Exchange-SenderADCheck: 1
-X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0;
- RULEID:(8211001083)(6040522)(2401047)(5005006)(8121501046)(3231311)(944501410)(52105095)(10201501046)(3002001)(93006095)(93004095)(6055026)(149027)(150027)(6041310)(20161123564045)(20161123562045)(20161123560045)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(20161123558120)(6072148)(201708071742011)(7699016);
- SRVR:DM6PR02MB4332; BCL:0; PCL:0; RULEID:; SRVR:DM6PR02MB4332;
-X-Microsoft-Exchange-Diagnostics: 1; DM6PR02MB4332;
- 4:r1bivONgYPOKb/p6qXDOPJBHzyosgdDYXJiNAopmRrSrT+J9jeJgDUCPVVVO3fO1iRcru7EsKw20JNH/de4DnwjPcaERa5BBQ5s+21hoQX1WUdtOAwRBXYVpHtIxcAl+q1Wqdy1wXQnOKyTFmYAfRvARB+ARy9E/xxPv0Ag6YBh86vBVKaLeTgzsrY326j9wAZO+5zfCmLZ/X29Jr6YrDQCIHE87NWE3DIePvOuWpfX+3ViMI9ij10zO17PA/d5Az3XsyJpJQCTByP1CwJYIjgJWu+oBxzOyQRa/Ukk4vtXWZ6CTxQG38q/Ih825CaKx
-X-Forefront-PRVS: 0753EA505A
-X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; DM6PR02MB4332;
- 23:yjJEuHL1Zlm2Y6bhlYxp/+bQoRoza31Xn8Id0UIf+?=
- xZsru2y24PXjkYY9CFICMmincmPADnRcL4CBEQShGlwX3yCgMn6NHhjoJFabw5umqJ/+t4A360PUPD4WN1wi0cBe/V+rF4HT4jdfdqA/+cDFPqmQiuWiDeZbB0d6Mh8fmqAxB3cITyC9KSTTHHe5A/upmPSISNPpLA40ORXQhO2l6CZf813YOirXjIk9FxF0jfhmKQa9fI88iYgbpJQ7cMkQHGDwlNi0RQ5xQFjPc5QXSeUYKuUnpO3oF94rnTPJ7zT52IRbiXNWX0LRu0Q7Ykzth7tVt4gKRdTNN7bjUjepUw0fHFX55O/3fY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r13dRvPRVJNsg+gi7Uz2F7UJX/LnadCerbKbTaPwOQi7HXaLmHKhCRkWu6VOVf5ty6cNOyGEAdbcTwIDW/xC4M8pdjTVeXICN0fo3YoY3E6jwAdBAqq4hMGQRPoIs1FWoPoC0Kdxm3xdgshw
-SpamDiagnosticOutput: 1:99
-SpamDiagnosticMetadata: NSPM
-X-OriginatorOrg: xilinx.com
-X-MS-Exchange-CrossTenant-OriginalArrivalTime: 03 Aug 2018 17:53:52.5165 (UTC)
-X-MS-Exchange-CrossTenant-Network-Message-Id:
- d82c6346-76fc-439b-9dcf-08d5f96a1370
-X-MS-Exchange-CrossTenant-Id: 657af505-d5df-48d0-8300-c31994686c5c
-X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp:
- TenantId=657af505-d5df-48d0-8300-c31994686c5c; Ip=[149.199.60.100];
- Helo=[xsj-pvapsmtpgw02]
-X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem
-X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM6PR02MB4332
-X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3
-X-CRM114-CacheID: sfid-20180803_105406_345529_D3BAF9EE
-X-CRM114-Status: GOOD ( 10.02 )
-X-BeenThere: linux-arm-kernel@lists.infradead.org
-X-Mailman-Version: 2.1.21
-Precedence: list
-List-Id: <linux-arm-kernel.lists.infradead.org>
-List-Unsubscribe:
- <http://lists.infradead.org/mailman/options/linux-arm-kernel>,
- <mailto:linux-arm-kernel-request@lists.infradead.org?subject=unsubscribe>
-List-Archive: <http://lists.infradead.org/pipermail/linux-arm-kernel/>
-List-Post: <mailto:linux-arm-kernel@lists.infradead.org>
-List-Help: <mailto:linux-arm-kernel-request@lists.infradead.org?subject=help>
-List-Subscribe:
- <http://lists.infradead.org/mailman/listinfo/linux-arm-kernel>,
- <mailto:linux-arm-kernel-request@lists.infradead.org?subject=subscribe>
-Cc: devicetree@vger.kernel.org, rajanv@xilinx.com,
- linux-kernel@vger.kernel.org,
- linux-arm-kernel@lists.infradead.org, Jolly Shah <jollys@xilinx.com>
-Content-Type: text/plain; charset="us-ascii"
-Sender: "linux-arm-kernel" <linux-arm-kernel-bounces@lists.infradead.org>
-Errors-To:
- linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org
-X-Virus-Scanned: ClamAV using ClamSMTP
-
-From: Rajan Vaja <rajanv@xilinx.com>
-
-Add debugfs file to set/get IOCTL using debugfs interface.
-
-Signed-off-by: Rajan Vaja <rajanv@xilinx.com>
-Signed-off-by: Jolly Shah <jollys@xilinx.com>
----
- drivers/firmware/xilinx/zynqmp-debug.c | 10 ++++++++++
- 1 file changed, 10 insertions(+)
-
-diff --git a/drivers/firmware/xilinx/zynqmp-debug.c b/drivers/firmware/xilinx/zynqmp-debug.c
-index fcbdd6e..fc11db9 100644
---- a/drivers/firmware/xilinx/zynqmp-debug.c
-+++ b/drivers/firmware/xilinx/zynqmp-debug.c
-@@ -32,6 +32,7 @@ static char debugfs_buf[PAGE_SIZE];
- #define PM_API(id) {id, #id, strlen(#id)}
- static struct pm_api_info pm_api_list[] = {
- PM_API(PM_GET_API_VERSION),
-+ PM_API(PM_IOCTL),
- };
-
- /**
-@@ -95,6 +96,15 @@ static int process_api_request(u32 pm_id, u64 *pm_api_arg, u32 *pm_api_ret)
- sprintf(debugfs_buf, "PM-API Version = %d.%d\n",
- pm_api_version >> 16, pm_api_version & 0xffff);
- break;
-+ case PM_IOCTL:
-+ ret = eemi_ops->ioctl(pm_api_arg[0], pm_api_arg[1],
-+ pm_api_arg[2], pm_api_arg[3],
-+ &pm_api_ret[0]);
-+ if (!ret && (pm_api_arg[1] == IOCTL_GET_PLL_FRAC_MODE ||
-+ pm_api_arg[1] == IOCTL_GET_PLL_FRAC_DATA))
-+ sprintf(debugfs_buf, "IOCTL return value: %u\n",
-+ pm_api_ret[1]);
-+ break;
- default:
- sprintf(debugfs_buf, "Unsupported PM-API request\n");
- ret = -EINVAL;
-
-From patchwork Fri Aug 3 17:53:25 2018
-Content-Type: text/plain; charset="utf-8"
-MIME-Version: 1.0
-Content-Transfer-Encoding: 7bit
-X-Patchwork-Submitter: Jolly Shah <jolly.shah@xilinx.com>
-X-Patchwork-Id: 10555381
-Return-Path:
- <linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org>
-Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org
- [172.30.200.125])
- by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id B086E15E9
- for <patchwork-linux-arm@patchwork.kernel.org>;
- Fri, 3 Aug 2018 17:54:25 +0000 (UTC)
-Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1])
- by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 9BB322C724
- for <patchwork-linux-arm@patchwork.kernel.org>;
- Fri, 3 Aug 2018 17:54:25 +0000 (UTC)
-Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486)
- id 8EAA52C921; Fri, 3 Aug 2018 17:54:25 +0000 (UTC)
-X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on
- pdx-wl-mail.web.codeaurora.org
-X-Spam-Level:
-X-Spam-Status: No, score=-2.9 required=2.0 tests=BAD_ENC_HEADER,BAYES_00,
- DKIM_SIGNED,DKIM_VALID,MAILING_LIST_MULTI autolearn=ham version=3.3.1
-Received: from bombadil.infradead.org (bombadil.infradead.org
- [198.137.202.133])
- (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits))
- (No client certificate requested)
- by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 295112C724
- for <patchwork-linux-arm@patchwork.kernel.org>;
- Fri, 3 Aug 2018 17:54:25 +0000 (UTC)
-DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed;
- d=lists.infradead.org; s=bombadil.20170209; h=Sender:
- Content-Transfer-Encoding:Content-Type:Cc:List-Subscribe:List-Help:List-Post:
- List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To:
- Message-ID:Date:Subject:To:From:Reply-To:Content-ID:Content-Description:
- Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:
- List-Owner; bh=lnR2egzARcd3do1tohQ8crrngjS/FTt/ADqvx/FYX60=; b=RiDl2QxC7DAUYW
- v7BRJ71S0D53ilwoEJyjeanWkY0AarXbJWeNri9uXBvpTbNNA4oC0xl1CEKOCt7FSvMz4dk0gD3Ho
- Z3064GXcr76LndREQR2tY1uoRJW9DBt3Cg7rSS0/ZqHKCHaq7A31RX1vESG2jhJ6V2lGHu2E4Q1qD
- oYRmv0tyvFDIbmsgvG1T9yq6ivHrwqPL1MFZmb6O3Oa4i9iOQ4aQbJphwKp1niT0hgTqZTC/76Ipm
- gyP8R8CLL4gls6cffRMBdHnq2vslhXK0Ya4hqMKjaQPtO77h6VYGwJpJmPNj1yeCNk7wL4CouepJp
- 1BCQjMivt5uKKY5mznzg==;
-Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org)
- by bombadil.infradead.org with esmtp (Exim 4.90_1 #2 (Red Hat Linux))
- id 1fleHL-0002zp-QP; Fri, 03 Aug 2018 17:54:19 +0000
-Received: from mail-by2nam03on0056.outbound.protection.outlook.com
- ([104.47.42.56] helo=NAM03-BY2-obe.outbound.protection.outlook.com)
- by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux))
- id 1fleH9-0002l6-88
- for linux-arm-kernel@lists.infradead.org; Fri, 03 Aug 2018 17:54:08 +0000
-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
- d=xilinx.onmicrosoft.com; s=selector1-xilinx-com;
- h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck;
- bh=i0IgDLNWNv5gP6EXKCmjmOTwm0Q6U6uAi73B0G9dCkE=;
- b=1Zk3qfFsCgO9YbPuv0Y7o2FnuFRcjRqSj091uZbQr++yUbCmzPLaHAbty86zC4wKMTvFzPNzcC3HE85q0dL4w+S9zkVxXYBE0DclgEr500SnHCGR6gW4JopxbDEdNzX/INXyQY0GTC31M9CNwnYbK9/Y8VB62szPYcFX04i9fa8=
-Received: from MWHPR0201CA0052.namprd02.prod.outlook.com
- (2603:10b6:301:73::29) by SN6PR02MB4464.namprd02.prod.outlook.com
- (2603:10b6:805:a8::14) with Microsoft SMTP Server (version=TLS1_2,
- cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.1017.15; Fri, 3 Aug
- 2018 17:53:53 +0000
-Received: from CY1NAM02FT029.eop-nam02.prod.protection.outlook.com
- (2a01:111:f400:7e45::205) by MWHPR0201CA0052.outlook.office365.com
- (2603:10b6:301:73::29) with Microsoft SMTP Server (version=TLS1_2,
- cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384) id 15.20.1017.15 via Frontend
- Transport; Fri, 3 Aug 2018 17:53:53 +0000
-Authentication-Results: spf=pass (sender IP is 149.199.60.83)
- smtp.mailfrom=xilinx.com; linaro.org; dkim=none (message not signed)
- header.d=none;linaro.org; dmarc=bestguesspass action=none
- header.from=xilinx.com;
-Received-SPF: Pass (protection.outlook.com: domain of xilinx.com designates
- 149.199.60.83 as permitted sender) receiver=protection.outlook.com;
- client-ip=149.199.60.83; helo=xsj-pvapsmtpgw01;
-Received: from xsj-pvapsmtpgw01 (149.199.60.83) by
- CY1NAM02FT029.mail.protection.outlook.com (10.152.75.143) with Microsoft SMTP
- Server (version=TLS1_0, cipher=TLS_RSA_WITH_AES_256_CBC_SHA) id 15.20.1038.3
- via Frontend Transport; Fri, 3 Aug 2018 17:53:52 +0000
-Received: from unknown-38-66.xilinx.com ([149.199.38.66] helo=xsj-pvapsmtp01)
- by xsj-pvapsmtpgw01 with esmtp (Exim 4.63)
- (envelope-from <jolly.shah@xilinx.com>)
- id 1fleGu-0004ff-2J; Fri, 03 Aug 2018 10:53:52 -0700
-Received: from [127.0.0.1] (helo=localhost)
- by xsj-pvapsmtp01 with smtp (Exim 4.63)
- (envelope-from <jolly.shah@xilinx.com>)
- id 1fleGo-0007cn-VI; Fri, 03 Aug 2018 10:53:47 -0700
-Received: from [172.19.2.91] (helo=xsjjollys50.xilinx.com)
- by xsj-pvapsmtp01 with esmtp (Exim 4.63)
- (envelope-from <jollys@xilinx.com>)
- id 1fleGl-0007bh-LV; Fri, 03 Aug 2018 10:53:43 -0700
-From: Jolly Shah <jolly.shah@xilinx.com>
-To: <ard.biesheuvel@linaro.org>, <mingo@kernel.org>,
- <gregkh@linuxfoundation.org>, <matt@codeblueprint.co.uk>,
- <sudeep.holla@arm.com>, <hkallweit1@gmail.com>, <keescook@chromium.org>,
- <dmitry.torokhov@gmail.com>, <mturquette@baylibre.com>,
- <sboyd@codeaurora.org>, <michal.simek@xilinx.com>, <robh+dt@kernel.org>,
- <mark.rutland@arm.com>, <linux-clk@vger.kernel.org>
-Subject: [PATCH v11 08/11] firmware: xilinx: Add debugfs for query data API
-Date: Fri, 3 Aug 2018 10:53:25 -0700
-Message-ID: <1533318808-10781-9-git-send-email-jollys@xilinx.com>
-X-Mailer: git-send-email 2.7.4
-In-Reply-To: <1533318808-10781-1-git-send-email-jollys@xilinx.com>
-References: <1533318808-10781-1-git-send-email-jollys@xilinx.com>
-X-TM-AS-Product-Ver: IMSS-7.1.0.1224-8.2.0.1013-23620.005
-X-TM-AS-User-Approved-Sender: Yes;Yes
-X-EOPAttributedMessage: 0
-X-MS-Office365-Filtering-HT: Tenant
-X-Forefront-Antispam-Report: CIP:149.199.60.83; IPV:NLI; CTRY:US; EFV:NLI;
- SFV:NSPM;
- SFS:(10009020)(136003)(376002)(396003)(39860400002)(346002)(2980300002)(438002)(199004)(189003)(7416002)(106466001)(76176011)(63266004)(26005)(8936002)(186003)(36386004)(77096007)(356003)(44832011)(51416003)(14444005)(478600001)(7696005)(16586007)(8676002)(81166006)(81156014)(486006)(476003)(2616005)(305945005)(5660300001)(126002)(11346002)(72206003)(50226002)(39060400002)(48376002)(54906003)(107886003)(2906002)(106002)(6666003)(110136005)(9786002)(36756003)(50466002)(4326008)(2201001)(47776003)(446003)(336012)(316002)(426003)(107986001)(921003)(1121003);
- DIR:OUT; SFP:1101; SCL:1; SRVR:SN6PR02MB4464; H:xsj-pvapsmtpgw01; FPR:;
- SPF:Pass; LANG:en; PTR:unknown-60-83.xilinx.com; A:1; MX:1;
-X-Microsoft-Exchange-Diagnostics: 1; CY1NAM02FT029;
- 1:tlu558b3azl42+Zy2SjA5Z5SRTd2KPhEWI4kdsDAyBNVxcnxnPyBJ7aOgp7x8ZwBf9bO6jbSFGArDfnY3SRnZkcPOafmo38dlhoG8+CnhSQZY6c4lXkuv2adDiH0tvNk
-MIME-Version: 1.0
-X-MS-PublicTrafficType: Email
-X-MS-Office365-Filtering-Correlation-Id: 3e9504cb-b74e-4886-28c0-08d5f96a13a8
-X-Microsoft-Antispam: BCL:0; PCL:0;
- RULEID:(7020095)(4652040)(8989117)(4534165)(4627221)(201703031133081)(201702281549075)(8990107)(5600074)(711020)(4608076)(2017052603328)(7153060);
- SRVR:SN6PR02MB4464;
-X-Microsoft-Exchange-Diagnostics: 1; SN6PR02MB4464;
- 3:BVFZRR1SnMLKxNT+SdXRZlaNK6KP+fVbNjKRIBXuWDkRtU56EVpd00nuBcZEK3poMB3Dbh2qkMtsHCidJltSDyV69yvycQ8bgX20CimC0H2HrVIMYVwEa+DX2V1l3esZQDsVdvWJIPq/Wzfh6ZU3MHc7ePoIqetIXj0W80UI/6Zx9hYbOHb0NLlvZXNlZrwx16uwfYNHVNj2BkTuoGAisSSVwdX+FoXwZHKr1iiMx+VnUyUCk/UVnGzJNPfhcABCbLS+dgfiLwYLRR6oayE9JYGpieYAR1KJQCVDChsssQeEfC9Nx73SBiO8334OBkv5nfhZbUzFq4fxmgSFUZBAjp97Wllysx8rUaEjzVdBkQo=;
- 25:P0Y4vUXVx8XBYqewFPdmE2fGmpBW3r0rzq6MXmR/XFUc0BSaqpl6YetHEqwz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pmoUWgMiPh9WFJbRTjPvhYYPormij2mUBfRaUWv
-X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply
-X-Microsoft-Antispam-PRVS:
- <SN6PR02MB4464FB98D94F90D655A85AC1B8230@SN6PR02MB4464.namprd02.prod.outlook.com>
-X-Exchange-Antispam-Report-Test: UriScan:(192813158149592);
-X-MS-Exchange-SenderADCheck: 1
-X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0;
- RULEID:(8211001083)(6040522)(2401047)(8121501046)(5005006)(3002001)(10201501046)(3231311)(944501410)(52105095)(93006095)(93004095)(6055026)(149027)(150027)(6041310)(20161123558120)(20161123564045)(20161123560045)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(20161123562045)(6072148)(201708071742011)(7699016);
- SRVR:SN6PR02MB4464; BCL:0; PCL:0; RULEID:; SRVR:SN6PR02MB4464;
-X-Microsoft-Exchange-Diagnostics: 1; SN6PR02MB4464;
- 4:Y+H7YhLr3I920ykuDHLeRh1sAoQGMP49ejmWMIGmJkMYHuGB7pFgIpnKVOZNUDN3FNaBZJEw6gnx83xbe/jLNoz63q1s8fnxrltLTAcdqL6tkVt8xcFfcr6xXWEdS/bcROPvsiS+znCrcLF7zxYpvuPmjmRZaDic0fHxtlFIY8j6Kfg9Lkh/j0ARRXtadVYl/JGQM5d0andJ0EswQbcDMsPnAMWHfOchs2l4rTyRpT4a6T+6O8VZFIYUH+uMCv+mYacjocE/TDC8drF+zipK3NoQh5LwLdN5UPGmsINrkYiI4ocAVSasxOk1G7JQJa8+
-X-Forefront-PRVS: 0753EA505A
-X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; SN6PR02MB4464;
- 23:TEa1K9fyfzSmHdgGYe5+/dP0WaHySlm3R1xxhNBnK?=
- hYmMG6sHFCwZfkYsZhXoDcXoVdjpN6ElmC66pQneuuG6gbcumL0JmwLAYtptBig1/i1o3lGvFYPn/DBqnmJRMJOKDQX5q5A7OpKYqCp7IK2YYEJ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4bZQocd3AfGz3xRW3hzMiyOvqRRM9VXVN67TgbyfjjRXP6pes3bPo=;
- 7:MWGonpeKE8otT9w5v0SNaGvFqMlnVLcOMI6LnHkKufHiGnil/iMCzipE6MQhommKvUBQXmMsTlYyytjls3wq6KR8tOKD+REfr/reITqSokG72WZKoKjDrQZe00mrCliTARkkZ4ju+VoTQOoWm0Wm3/gOJXGg1mBprjgXhA6fBhBCFNTgfuyFOo3ufOayoIctbhPRpy2wxEmFcqO67vefMbvYLW4dklrvfihwH4/40x3ll2wYwCj+dl0164xo8BRQ
-SpamDiagnosticOutput: 1:99
-SpamDiagnosticMetadata: NSPM
-X-OriginatorOrg: xilinx.com
-X-MS-Exchange-CrossTenant-OriginalArrivalTime: 03 Aug 2018 17:53:52.5358 (UTC)
-X-MS-Exchange-CrossTenant-Network-Message-Id:
- 3e9504cb-b74e-4886-28c0-08d5f96a13a8
-X-MS-Exchange-CrossTenant-Id: 657af505-d5df-48d0-8300-c31994686c5c
-X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp:
- TenantId=657af505-d5df-48d0-8300-c31994686c5c; Ip=[149.199.60.83];
- Helo=[xsj-pvapsmtpgw01]
-X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem
-X-MS-Exchange-Transport-CrossTenantHeadersStamped: SN6PR02MB4464
-X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3
-X-CRM114-CacheID: sfid-20180803_105407_290790_57518988
-X-CRM114-Status: UNSURE ( 9.52 )
-X-CRM114-Notice: Please train this message.
-X-BeenThere: linux-arm-kernel@lists.infradead.org
-X-Mailman-Version: 2.1.21
-Precedence: list
-List-Id: <linux-arm-kernel.lists.infradead.org>
-List-Unsubscribe:
- <http://lists.infradead.org/mailman/options/linux-arm-kernel>,
- <mailto:linux-arm-kernel-request@lists.infradead.org?subject=unsubscribe>
-List-Archive: <http://lists.infradead.org/pipermail/linux-arm-kernel/>
-List-Post: <mailto:linux-arm-kernel@lists.infradead.org>
-List-Help: <mailto:linux-arm-kernel-request@lists.infradead.org?subject=help>
-List-Subscribe:
- <http://lists.infradead.org/mailman/listinfo/linux-arm-kernel>,
- <mailto:linux-arm-kernel-request@lists.infradead.org?subject=subscribe>
-Cc: devicetree@vger.kernel.org, rajanv@xilinx.com,
- linux-kernel@vger.kernel.org,
- linux-arm-kernel@lists.infradead.org, Jolly Shah <jollys@xilinx.com>
-Content-Type: text/plain; charset="us-ascii"
-Sender: "linux-arm-kernel" <linux-arm-kernel-bounces@lists.infradead.org>
-Errors-To:
- linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org
-X-Virus-Scanned: ClamAV using ClamSMTP
-
-From: Rajan Vaja <rajanv@xilinx.com>
-
-Add debugfs file to query platform specific data from firmware
-using debugfs interface.
-
-Signed-off-by: Rajan Vaja <rajanv@xilinx.com>
-Signed-off-by: Jolly Shah <jollys@xilinx.com>
----
- drivers/firmware/xilinx/zynqmp-debug.c | 27 +++++++++++++++++++++++++++
- 1 file changed, 27 insertions(+)
-
-diff --git a/drivers/firmware/xilinx/zynqmp-debug.c b/drivers/firmware/xilinx/zynqmp-debug.c
-index fc11db9..4532bd0 100644
---- a/drivers/firmware/xilinx/zynqmp-debug.c
-+++ b/drivers/firmware/xilinx/zynqmp-debug.c
-@@ -33,6 +33,7 @@ static char debugfs_buf[PAGE_SIZE];
- static struct pm_api_info pm_api_list[] = {
- PM_API(PM_GET_API_VERSION),
- PM_API(PM_IOCTL),
-+ PM_API(PM_QUERY_DATA),
- };
-
- /**
-@@ -105,6 +106,32 @@ static int process_api_request(u32 pm_id, u64 *pm_api_arg, u32 *pm_api_ret)
- sprintf(debugfs_buf, "IOCTL return value: %u\n",
- pm_api_ret[1]);
- break;
-+ case PM_QUERY_DATA:
-+ {
-+ struct zynqmp_pm_query_data qdata = {0};
-+
-+ qdata.qid = pm_api_arg[0];
-+ qdata.arg1 = pm_api_arg[1];
-+ qdata.arg2 = pm_api_arg[2];
-+ qdata.arg3 = pm_api_arg[3];
-+
-+ ret = eemi_ops->query_data(qdata, pm_api_ret);
-+ if (ret)
-+ break;
-+
-+ if (qdata.qid == PM_QID_CLOCK_GET_NAME)
-+ sprintf(debugfs_buf, "Clock name = %s\n",
-+ (char *)pm_api_ret);
-+ else if (qdata.qid == PM_QID_CLOCK_GET_FIXEDFACTOR_PARAMS)
-+ sprintf(debugfs_buf, "Multiplier = %d, Divider = %d\n",
-+ pm_api_ret[1], pm_api_ret[2]);
-+ else
-+ sprintf(debugfs_buf,
-+ "data[0] = 0x%08x\ndata[1] = 0x%08x\n data[2] = 0x%08x\ndata[3] = 0x%08x\n",
-+ pm_api_ret[0], pm_api_ret[1],
-+ pm_api_ret[2], pm_api_ret[3]);
-+ break;
-+ }
- default:
- sprintf(debugfs_buf, "Unsupported PM-API request\n");
- ret = -EINVAL;
-
-From patchwork Fri Aug 3 17:53:26 2018
-Content-Type: text/plain; charset="utf-8"
-MIME-Version: 1.0
-Content-Transfer-Encoding: 7bit
-X-Patchwork-Submitter: Jolly Shah <jolly.shah@xilinx.com>
-X-Patchwork-Id: 10555415
-Return-Path:
- <linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org>
-Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org
- [172.30.200.125])
- by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 161D715E9
- for <patchwork-linux-arm@patchwork.kernel.org>;
- Fri, 3 Aug 2018 18:06:08 +0000 (UTC)
-Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1])
- by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 00D202C1AF
- for <patchwork-linux-arm@patchwork.kernel.org>;
- Fri, 3 Aug 2018 18:06:07 +0000 (UTC)
-Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486)
- id E7CA22C984; Fri, 3 Aug 2018 18:06:06 +0000 (UTC)
-X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on
- pdx-wl-mail.web.codeaurora.org
-X-Spam-Level:
-X-Spam-Status: No, score=-2.9 required=2.0 tests=BAD_ENC_HEADER,BAYES_00,
- DKIM_SIGNED,DKIM_VALID,MAILING_LIST_MULTI autolearn=unavailable version=3.3.1
-Received: from bombadil.infradead.org (bombadil.infradead.org
- [198.137.202.133])
- (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits))
- (No client certificate requested)
- by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 5E6DD2C1AF
- for <patchwork-linux-arm@patchwork.kernel.org>;
- Fri, 3 Aug 2018 18:06:06 +0000 (UTC)
-DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed;
- d=lists.infradead.org; s=bombadil.20170209; h=Sender:
- Content-Transfer-Encoding:Content-Type:Cc:List-Subscribe:List-Help:List-Post:
- List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To:
- Message-ID:Date:Subject:To:From:Reply-To:Content-ID:Content-Description:
- Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:
- List-Owner; bh=PXpZteDCUvUArIPwOWZhqWGd+7c52/jdjx3SEmepUnQ=; b=IivyP2jdiwZsb/
- yR0QYdIrU0FQ18U8SQGjwANxINvojGo98o+FL70gO0MHolUcMvIzInWHnV9MMtchAuFhCFPtHFqOG
- yRJHsMehaYrjOFFITzJTLIfgmlZbE81unY7hy4rqRMFEqDy6ipd1oWApiPIcWp8TENpGKFU//WVmW
- C46R5n8EFcgQjYvVQjvIfcxLvQbbzUrnY4dXgAAO4N9eLS2hr9K6i1PvD5sHQpq69ZuMHUpniKFin
- KAyW+5OGe/MIuV2NetpBYh1wuyTgtxGJ/YNGAIRgPL60DQtRcNiBc3vOhYnWpkbNwdf3RHPWfHQdS
- sPh+RhYJ4b16VaXyoW0g==;
-Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org)
- by bombadil.infradead.org with esmtp (Exim 4.90_1 #2 (Red Hat Linux))
- id 1fleSi-00021X-E7; Fri, 03 Aug 2018 18:06:04 +0000
-Received: from mail-cys01nam02on0057.outbound.protection.outlook.com
- ([104.47.37.57] helo=NAM02-CY1-obe.outbound.protection.outlook.com)
- by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux))
- id 1fleHA-0002lK-LN
- for linux-arm-kernel@lists.infradead.org; Fri, 03 Aug 2018 17:54:10 +0000
-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
- d=xilinx.onmicrosoft.com; s=selector1-xilinx-com;
- h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck;
- bh=ae3uMsPM9qWtcPtZCcchHnnmLXzK+8XsulKYSv1xPnQ=;
- b=FI/EJwAjOiiTYfjgyU0qYCCdSqEqG5UboVtajbpJixXJo8HsUhCNSxSCP0ZXzojQTuZhJh1Mz3kEC9cRfsXv9CEVGXqS+K0R7dK0YDRijdee8CgdJH04tfjODtgceSDZMit6xrALZN/+baeW2l0rRShQyTUKV/rkzUYY4v2bWaE=
-Received: from BN6PR02CA0088.namprd02.prod.outlook.com (2603:10b6:405:60::29)
- by DM6PR02MB4458.namprd02.prod.outlook.com (2603:10b6:5:29::27) with
- Microsoft SMTP Server (version=TLS1_2,
- cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.1017.14; Fri, 3 Aug
- 2018 17:53:54 +0000
-Received: from CY1NAM02FT051.eop-nam02.prod.protection.outlook.com
- (2a01:111:f400:7e45::202) by BN6PR02CA0088.outlook.office365.com
- (2603:10b6:405:60::29) with Microsoft SMTP Server (version=TLS1_2,
- cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384) id 15.20.1017.14 via Frontend
- Transport; Fri, 3 Aug 2018 17:53:54 +0000
-Authentication-Results: spf=pass (sender IP is 149.199.60.83)
- smtp.mailfrom=xilinx.com; linaro.org; dkim=none (message not signed)
- header.d=none;linaro.org; dmarc=bestguesspass action=none
- header.from=xilinx.com;
-Received-SPF: Pass (protection.outlook.com: domain of xilinx.com designates
- 149.199.60.83 as permitted sender) receiver=protection.outlook.com;
- client-ip=149.199.60.83; helo=xsj-pvapsmtpgw01;
-Received: from xsj-pvapsmtpgw01 (149.199.60.83) by
- CY1NAM02FT051.mail.protection.outlook.com (10.152.74.148) with Microsoft SMTP
- Server (version=TLS1_0, cipher=TLS_RSA_WITH_AES_256_CBC_SHA) id 15.20.1038.3
- via Frontend Transport; Fri, 3 Aug 2018 17:53:52 +0000
-Received: from unknown-38-66.xilinx.com ([149.199.38.66] helo=xsj-pvapsmtp01)
- by xsj-pvapsmtpgw01 with esmtp (Exim 4.63)
- (envelope-from <jolly.shah@xilinx.com>)
- id 1fleGu-0004fi-DG; Fri, 03 Aug 2018 10:53:52 -0700
-Received: from [127.0.0.1] (helo=localhost)
- by xsj-pvapsmtp01 with smtp (Exim 4.63)
- (envelope-from <jolly.shah@xilinx.com>)
- id 1fleGp-0007cn-9X; Fri, 03 Aug 2018 10:53:47 -0700
-Received: from [172.19.2.91] (helo=xsjjollys50.xilinx.com)
- by xsj-pvapsmtp01 with esmtp (Exim 4.63)
- (envelope-from <jollys@xilinx.com>)
- id 1fleGl-0007bh-No; Fri, 03 Aug 2018 10:53:43 -0700
-From: Jolly Shah <jolly.shah@xilinx.com>
-To: <ard.biesheuvel@linaro.org>, <mingo@kernel.org>,
- <gregkh@linuxfoundation.org>, <matt@codeblueprint.co.uk>,
- <sudeep.holla@arm.com>, <hkallweit1@gmail.com>, <keescook@chromium.org>,
- <dmitry.torokhov@gmail.com>, <mturquette@baylibre.com>,
- <sboyd@codeaurora.org>, <michal.simek@xilinx.com>, <robh+dt@kernel.org>,
- <mark.rutland@arm.com>, <linux-clk@vger.kernel.org>
-Subject: [PATCH v11 09/11] dt-bindings: clock: Add bindings for ZynqMP clock
- driver
-Date: Fri, 3 Aug 2018 10:53:26 -0700
-Message-ID: <1533318808-10781-10-git-send-email-jollys@xilinx.com>
-X-Mailer: git-send-email 2.7.4
-In-Reply-To: <1533318808-10781-1-git-send-email-jollys@xilinx.com>
-References: <1533318808-10781-1-git-send-email-jollys@xilinx.com>
-X-TM-AS-Product-Ver: IMSS-7.1.0.1224-8.2.0.1013-23620.005
-X-TM-AS-User-Approved-Sender: Yes;Yes
-X-EOPAttributedMessage: 0
-X-MS-Office365-Filtering-HT: Tenant
-X-Forefront-Antispam-Report: CIP:149.199.60.83; IPV:NLI; CTRY:US; EFV:NLI;
- SFV:NSPM;
- SFS:(10009020)(39860400002)(376002)(136003)(396003)(346002)(2980300002)(438002)(199004)(189003)(110136005)(16586007)(6666003)(81166006)(50226002)(106002)(72206003)(9786002)(36386004)(316002)(8676002)(54906003)(8936002)(305945005)(478600001)(81156014)(7416002)(2906002)(14444005)(356003)(5660300001)(11346002)(51416003)(107886003)(36756003)(77096007)(26005)(426003)(446003)(76176011)(44832011)(4326008)(2616005)(476003)(106466001)(126002)(486006)(7696005)(336012)(186003)(47776003)(50466002)(39060400002)(2201001)(48376002)(63266004)(921003)(107986001)(1121003);
- DIR:OUT; SFP:1101; SCL:1; SRVR:DM6PR02MB4458; H:xsj-pvapsmtpgw01; FPR:;
- SPF:Pass; LANG:en; PTR:unknown-60-83.xilinx.com; A:1; MX:1;
-X-Microsoft-Exchange-Diagnostics: 1; CY1NAM02FT051;
- 1:r2aaelOlGinHop5AwkglWkdQGiko7SdFguC1UTEs1ZMLw6EOu3O3TR/38D7r8d0yBGJlzhzQnxPuCf70DmEp4uoomt3QCEihRgMc83ykJDqA4j5H+3LV6MEFFZdwi7L/
-MIME-Version: 1.0
-X-MS-PublicTrafficType: Email
-X-MS-Office365-Filtering-Correlation-Id: d3e901e9-096d-4104-a2f9-08d5f96a13ef
-X-Microsoft-Antispam: BCL:0; PCL:0;
- RULEID:(7020095)(4652040)(8989117)(4534165)(4627221)(201703031133081)(201702281549075)(8990107)(5600074)(711020)(4608076)(2017052603328)(7153060);
- SRVR:DM6PR02MB4458;
-X-Microso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:vRhrabWK/L3tvahM4UVZr3mtapwp+Zd29VQxw+VOXeGI2baTrv61j6nmARvijN1yJFv082sRJQtmIL9lhOQ7tOyKEMpxpX39Dk5UEIosAy4HXxaJoThc5a3p5xdyZLGj7gDMclOgHQFvRV9fmnSTjyZc2C+52sIyvXJj4h26kDNblSfXOoSIL/iaPlGggnnnpYpxlQlBv5awLE3ovK1n+Jp56LChSCnR9AbeKa5O1CzXOvXJmE/gMs80Hz6R3L7xEI+IV7jPKw5ObVDPkMOqvZzT3Vv41YnOVBn80xFy6D8FJ6nx4PRwhGSeHOMxZZU7KmSdAOxQkWCdxoJjPb2SszPXpQ4SwILqLz0X8oV8MTIMThqYbMSHxMamZ2DSyhUi3RTlPFRq1qVqUacj79V1MI0PGTL2HvbdgdX30qPbobtk4lL1GiNn6/pdOMBxDRw3fXIFeuds1+LkEtQiqjT7YXOY2I5hXgzFYfSY+QWvVQl1TpNOU/JRXqDwepwR5l4E
-X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply
-X-Microsoft-Antispam-PRVS:
- <DM6PR02MB445864027854CF1355F56F27B8230@DM6PR02MB4458.namprd02.prod.outlook.com>
-X-Exchange-Antispam-Report-Test: UriScan:(192813158149592);
-X-MS-Exchange-SenderADCheck: 1
-X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0;
- RULEID:(8211001083)(6040522)(2401047)(5005006)(8121501046)(3231311)(944501410)(52105095)(10201501046)(93006095)(93004095)(3002001)(6055026)(149027)(150027)(6041310)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(20161123562045)(20161123564045)(20161123560045)(20161123558120)(6072148)(201708071742011)(7699016);
- SRVR:DM6PR02MB4458; BCL:0; PCL:0; RULEID:; SRVR:DM6PR02MB4458;
-X-Microsoft-Exchange-Diagnostics: 1; DM6PR02MB4458;
- 4:/mexK16c4/CPTktwuWtd7fSd04+/Md4/7N6DHUYdIxBprYYDQA30zlVjXjBilUnmIhOid1hVE0s00qJs6DHpNEr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KM/T2tIeygnUKEH+jNljpVwFoOzSt4BCIcptzFVBA1iyLz/GSoCutHsmfir+weMJj6wHCMn94Q1OiyiOGr7x0lJhIGhFXuVn0e0eXu7CJUmbQEkIy45aQCVSk3xFnpIM1/Lnaao4X3GoyQzPhmOM8T7t9A2FfPobNWAgLIjXAlfEzyCJpzmLYvBWHP0RYiygQQSz7eh7sEzMpm7yL6FOspR7guQK15tRht7vfJuSvg+c3WqtmVF3n//Y8jMfCGZmMsbd3/cQkY22pwvdXlXEY0hiFFmGTKq7cdsA2lEF1F3H/Jm8LRF8Cl+41ZZQV9QFww==;
- 5:JsxYzcQUL1tVyB8Y2WFuzf5CU6PoCtoElkvTcJ2qN2LqjHQ/pCb/ZS7vqVrUQmrcn5rRgsa4ohloleKoOKN6hLLwzH2pjsEMdryZTPRM70Z1dyRu1rfBqKlZS+1YisFtYK8ikc0dEonnjosiGwfYkQfLV6E0jr3rBzJw+muBwpA=;
- 7:SWFVkAVa2OixXXyCLAb2sKQc+8x2cL97GXGkPGS/3oh9Bc4ZCYBB2EZsumpcSltzI2wTxXFq0+FmwJpP1PAIeV2TSc8nqIa1Pyn9hemb8TwbstcZeJKVSZqD23P17cm9x3NBdcjpwGEn27Al3xSSlmGwBIrrtZCscqA80PLwIlDzS8fSHLRRgPc2MrS0Eo1KqppT69Q43eLOR94i7eq9XdkEviwd3lcFzTMpwuGt109mYguNTnW9oBaBvdzsoS7E
-SpamDiagnosticOutput: 1:99
-SpamDiagnosticMetadata: NSPM
-X-OriginatorOrg: xilinx.com
-X-MS-Exchange-CrossTenant-OriginalArrivalTime: 03 Aug 2018 17:53:52.9427 (UTC)
-X-MS-Exchange-CrossTenant-Network-Message-Id:
- d3e901e9-096d-4104-a2f9-08d5f96a13ef
-X-MS-Exchange-CrossTenant-Id: 657af505-d5df-48d0-8300-c31994686c5c
-X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp:
- TenantId=657af505-d5df-48d0-8300-c31994686c5c; Ip=[149.199.60.83];
- Helo=[xsj-pvapsmtpgw01]
-X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem
-X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM6PR02MB4458
-X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3
-X-CRM114-CacheID: sfid-20180803_105408_826047_EDA513C2
-X-CRM114-Status: GOOD ( 12.62 )
-X-BeenThere: linux-arm-kernel@lists.infradead.org
-X-Mailman-Version: 2.1.21
-Precedence: list
-List-Id: <linux-arm-kernel.lists.infradead.org>
-List-Unsubscribe:
- <http://lists.infradead.org/mailman/options/linux-arm-kernel>,
- <mailto:linux-arm-kernel-request@lists.infradead.org?subject=unsubscribe>
-List-Archive: <http://lists.infradead.org/pipermail/linux-arm-kernel/>
-List-Post: <mailto:linux-arm-kernel@lists.infradead.org>
-List-Help: <mailto:linux-arm-kernel-request@lists.infradead.org?subject=help>
-List-Subscribe:
- <http://lists.infradead.org/mailman/listinfo/linux-arm-kernel>,
- <mailto:linux-arm-kernel-request@lists.infradead.org?subject=subscribe>
-Cc: devicetree@vger.kernel.org, rajanv@xilinx.com,
- linux-kernel@vger.kernel.org,
- linux-arm-kernel@lists.infradead.org, Jolly Shah <jollys@xilinx.com>
-Content-Type: text/plain; charset="us-ascii"
-Sender: "linux-arm-kernel" <linux-arm-kernel-bounces@lists.infradead.org>
-Errors-To:
- linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org
-X-Virus-Scanned: ClamAV using ClamSMTP
-
-From: Rajan Vaja <rajanv@xilinx.com>
-
-Add documentation to describe Xilinx ZynqMP clock driver
-bindings.
-
-Signed-off-by: Rajan Vaja <rajanv@xilinx.com>
-Signed-off-by: Jolly Shah <jollys@xilinx.com>
-Reviewed-by: Rob Herring <robh@kernel.org>
-Reviewed-by: Stephen Boyd <sboyd@kernel.org>
----
- .../firmware/xilinx/xlnx,zynqmp-firmware.txt | 53 ++++++++++
- include/dt-bindings/clock/xlnx,zynqmp-clk.h | 116 +++++++++++++++++++++
- 2 files changed, 169 insertions(+)
- create mode 100644 include/dt-bindings/clock/xlnx,zynqmp-clk.h
-
-diff --git a/Documentation/devicetree/bindings/firmware/xilinx/xlnx,zynqmp-firmware.txt b/Documentation/devicetree/bindings/firmware/xilinx/xlnx,zynqmp-firmware.txt
-index 1b431d9..d215d15 100644
---- a/Documentation/devicetree/bindings/firmware/xilinx/xlnx,zynqmp-firmware.txt
-+++ b/Documentation/devicetree/bindings/firmware/xilinx/xlnx,zynqmp-firmware.txt
-@@ -17,6 +17,53 @@ Required properties:
- - "smc" : SMC #0, following the SMCCC
- - "hvc" : HVC #0, following the SMCCC
-
-+--------------------------------------------------------------------------
-+Device Tree Clock bindings for the Zynq Ultrascale+ MPSoC controlled using
-+Zynq MPSoC firmware interface
-+--------------------------------------------------------------------------
-+The clock controller is a h/w block of Zynq Ultrascale+ MPSoC clock
-+tree. It reads required input clock frequencies from the devicetree and acts
-+as clock provider for all clock consumers of PS clocks.
-+
-+See clock_bindings.txt for more information on the generic clock bindings.
-+
-+Required properties:
-+ - #clock-cells: Must be 1
-+ - compatible: Must contain: "xlnx,zynqmp-clk"
-+ - clocks: List of clock specifiers which are external input
-+ clocks to the given clock controller. Please refer
-+ the next section to find the input clocks for a
-+ given controller.
-+ - clock-names: List of clock names which are exteral input clocks
-+ to the given clock controller. Please refer to the
-+ clock bindings for more details.
-+
-+Input clocks for zynqmp Ultrascale+ clock controller:
-+
-+The Zynq UltraScale+ MPSoC has one primary and four alternative reference clock
-+inputs. These required clock inputs are:
-+ - pss_ref_clk (PS reference clock)
-+ - video_clk (reference clock for video system )
-+ - pss_alt_ref_clk (alternative PS reference clock)
-+ - aux_ref_clk
-+ - gt_crx_ref_clk (transceiver reference clock)
-+
-+The following strings are optional parameters to the 'clock-names' property in
-+order to provide an optional (E)MIO clock source:
-+ - swdt0_ext_clk
-+ - swdt1_ext_clk
-+ - gem0_emio_clk
-+ - gem1_emio_clk
-+ - gem2_emio_clk
-+ - gem3_emio_clk
-+ - mio_clk_XX # with XX = 00..77
-+ - mio_clk_50_or_51 #for the mux clock to gem tsu from 50 or 51
-+
-+
-+Output clocks are registered based on clock information received
-+from firmware. Output clocks indexes are mentioned in
-+include/dt-bindings/clock/xlnx,zynqmp-clk.h.
-+
- -------
- Example
- -------
-@@ -25,5 +72,11 @@ firmware {
- zynqmp_firmware: zynqmp-firmware {
- compatible = "xlnx,zynqmp-firmware";
- method = "smc";
-+ zynqmp_clk : clock-controller {
-+ #clock-cells = <1>;
-+ compatible = "xlnx,zynqmp-clk";
-+ clocks = <&pss_ref_clk>, <&video_clk>, <&pss_alt_ref_clk>, <&aux_ref_clk>, <&gt_crx_ref_clk>;
-+ clock-names = "pss_ref_clk", "video_clk", "pss_alt_ref_clk","aux_ref_clk", "gt_crx_ref_clk";
-+ };
- };
- };
-diff --git a/include/dt-bindings/clock/xlnx,zynqmp-clk.h b/include/dt-bindings/clock/xlnx,zynqmp-clk.h
-new file mode 100644
-index 0000000..4aebe6e
---- /dev/null
-+++ b/include/dt-bindings/clock/xlnx,zynqmp-clk.h
-@@ -0,0 +1,116 @@
-+/* SPDX-License-Identifier: GPL-2.0 */
-+/*
-+ * Xilinx Zynq MPSoC Firmware layer
-+ *
-+ * Copyright (C) 2014-2018 Xilinx, Inc.
-+ *
-+ */
-+
-+#ifndef _DT_BINDINGS_CLK_ZYNQMP_H
-+#define _DT_BINDINGS_CLK_ZYNQMP_H
-+
-+#define IOPLL 0
-+#define RPLL 1
-+#define APLL 2
-+#define DPLL 3
-+#define VPLL 4
-+#define IOPLL_TO_FPD 5
-+#define RPLL_TO_FPD 6
-+#define APLL_TO_LPD 7
-+#define DPLL_TO_LPD 8
-+#define VPLL_TO_LPD 9
-+#define ACPU 10
-+#define ACPU_HALF 11
-+#define DBF_FPD 12
-+#define DBF_LPD 13
-+#define DBG_TRACE 14
-+#define DBG_TSTMP 15
-+#define DP_VIDEO_REF 16
-+#define DP_AUDIO_REF 17
-+#define DP_STC_REF 18
-+#define GDMA_REF 19
-+#define DPDMA_REF 20
-+#define DDR_REF 21
-+#define SATA_REF 22
-+#define PCIE_REF 23
-+#define GPU_REF 24
-+#define GPU_PP0_REF 25
-+#define GPU_PP1_REF 26
-+#define TOPSW_MAIN 27
-+#define TOPSW_LSBUS 28
-+#define GTGREF0_REF 29
-+#define LPD_SWITCH 30
-+#define LPD_LSBUS 31
-+#define USB0_BUS_REF 32
-+#define USB1_BUS_REF 33
-+#define USB3_DUAL_REF 34
-+#define USB0 35
-+#define USB1 36
-+#define CPU_R5 37
-+#define CPU_R5_CORE 38
-+#define CSU_SPB 39
-+#define CSU_PLL 40
-+#define PCAP 41
-+#define IOU_SWITCH 42
-+#define GEM_TSU_REF 43
-+#define GEM_TSU 44
-+#define GEM0_REF 45
-+#define GEM1_REF 46
-+#define GEM2_REF 47
-+#define GEM3_REF 48
-+#define GEM0_TX 49
-+#define GEM1_TX 50
-+#define GEM2_TX 51
-+#define GEM3_TX 52
-+#define QSPI_REF 53
-+#define SDIO0_REF 54
-+#define SDIO1_REF 55
-+#define UART0_REF 56
-+#define UART1_REF 57
-+#define SPI0_REF 58
-+#define SPI1_REF 59
-+#define NAND_REF 60
-+#define I2C0_REF 61
-+#define I2C1_REF 62
-+#define CAN0_REF 63
-+#define CAN1_REF 64
-+#define CAN0 65
-+#define CAN1 66
-+#define DLL_REF 67
-+#define ADMA_REF 68
-+#define TIMESTAMP_REF 69
-+#define AMS_REF 70
-+#define PL0_REF 71
-+#define PL1_REF 72
-+#define PL2_REF 73
-+#define PL3_REF 74
-+#define WDT 75
-+#define IOPLL_INT 76
-+#define IOPLL_PRE_SRC 77
-+#define IOPLL_HALF 78
-+#define IOPLL_INT_MUX 79
-+#define IOPLL_POST_SRC 80
-+#define RPLL_INT 81
-+#define RPLL_PRE_SRC 82
-+#define RPLL_HALF 83
-+#define RPLL_INT_MUX 84
-+#define RPLL_POST_SRC 85
-+#define APLL_INT 86
-+#define APLL_PRE_SRC 87
-+#define APLL_HALF 88
-+#define APLL_INT_MUX 89
-+#define APLL_POST_SRC 90
-+#define DPLL_INT 91
-+#define DPLL_PRE_SRC 92
-+#define DPLL_HALF 93
-+#define DPLL_INT_MUX 94
-+#define DPLL_POST_SRC 95
-+#define VPLL_INT 96
-+#define VPLL_PRE_SRC 97
-+#define VPLL_HALF 98
-+#define VPLL_INT_MUX 99
-+#define VPLL_POST_SRC 100
-+#define CAN0_MIO 101
-+#define CAN1_MIO 102
-+
-+#endif
-
-From patchwork Fri Aug 3 17:53:27 2018
-Content-Type: text/plain; charset="utf-8"
-MIME-Version: 1.0
-Content-Transfer-Encoding: 7bit
-X-Patchwork-Submitter: Jolly Shah <jolly.shah@xilinx.com>
-X-Patchwork-Id: 10555423
-Return-Path:
- <linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org>
-Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org
- [172.30.200.125])
- by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 4A23F15E9
- for <patchwork-linux-arm@patchwork.kernel.org>;
- Fri, 3 Aug 2018 18:06:45 +0000 (UTC)
-Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1])
- by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 305E12C1AF
- for <patchwork-linux-arm@patchwork.kernel.org>;
- Fri, 3 Aug 2018 18:06:45 +0000 (UTC)
-Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486)
- id 228642C984; Fri, 3 Aug 2018 18:06:45 +0000 (UTC)
-X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on
- pdx-wl-mail.web.codeaurora.org
-X-Spam-Level:
-X-Spam-Status: No, score=-2.9 required=2.0 tests=BAD_ENC_HEADER,BAYES_00,
- DKIM_SIGNED,DKIM_VALID,MAILING_LIST_MULTI autolearn=unavailable version=3.3.1
-Received: from bombadil.infradead.org (bombadil.infradead.org
- [198.137.202.133])
- (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits))
- (No client certificate requested)
- by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id E9FC62C1AF
- for <patchwork-linux-arm@patchwork.kernel.org>;
- Fri, 3 Aug 2018 18:06:42 +0000 (UTC)
-DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed;
- d=lists.infradead.org; s=bombadil.20170209; h=Sender:
- Content-Transfer-Encoding:Content-Type:Cc:List-Subscribe:List-Help:List-Post:
- List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To:
- Message-ID:Date:Subject:To:From:Reply-To:Content-ID:Content-Description:
- Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:
- List-Owner; bh=EHyZ0tIIXHyzRasyX+ZIIQRDjqWcdJsf1CDD9FGfe7c=; b=r08Jg48tDQK/cs
- m8LnDxCyC2g21fwAoLXYzcrwhnsW6acNKYsniDq677jXniva68BSd4ZzUp6rvo4MitppS5fgKlr9y
- z03fT7EIDbcz+kjU1fvaeApev8UC+bErlRh8Ty+KHTqsakLgczTzfTeniVJr8bMpH5HlolJ24u8cF
- QRq1kiwpUxOyuaNJbK0WgqsGnQFtzrEr6Tp8U7cg9sb4Tljg21s/L28dTm75H+NrXLm7t/VsvZiQ2
- xSbqkm9EZ4yLcyVdvLnfevBEaJ59YKGEXGIL6q3COz5YYgttTaWELvguDE19Nf5Zm3fCVOq1iuPTe
- EXzp0xAUB4hOd4pdg7nQ==;
-Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org)
- by bombadil.infradead.org with esmtp (Exim 4.90_1 #2 (Red Hat Linux))
- id 1fleTJ-0002rB-GN; Fri, 03 Aug 2018 18:06:41 +0000
-Received: from mail-co1nam03on0085.outbound.protection.outlook.com
- ([104.47.40.85] helo=NAM03-CO1-obe.outbound.protection.outlook.com)
- by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux))
- id 1fleHA-0002lL-Nj
- for linux-arm-kernel@lists.infradead.org; Fri, 03 Aug 2018 17:54:25 +0000
-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
- d=xilinx.onmicrosoft.com; s=selector1-xilinx-com;
- h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck;
- bh=li3FRubunPLaA+VNvRYfjRDgPvfpqEwxNaGspuvg4xE=;
- b=1mcvAkuXSEgJko04h2nQRxP+U/C6kQPTYgU6LLJflwA3n/ItGO+zw5eLtN2ZfQun0OT1FdC3tsfj/B3W7mf/T0MEEtJd0Bj4YTSF1xWHcidFqCuIw2nsSLKKT85PbV/gudj69Y40O6fTe/eGQGwz1wgHLtW+j9aq9h+fDbyIodg=
-Received: from BN6PR02CA0028.namprd02.prod.outlook.com (2603:10b6:404:5f::14)
- by SN6PR02MB4336.namprd02.prod.outlook.com (2603:10b6:805:a4::29)
- with Microsoft SMTP Server (version=TLS1_2,
- cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.1017.15; Fri, 3 Aug
- 2018 17:53:55 +0000
-Received: from SN1NAM02FT061.eop-nam02.prod.protection.outlook.com
- (2a01:111:f400:7e44::200) by BN6PR02CA0028.outlook.office365.com
- (2603:10b6:404:5f::14) with Microsoft SMTP Server (version=TLS1_2,
- cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384) id 15.20.1017.14 via Frontend
- Transport; Fri, 3 Aug 2018 17:53:54 +0000
-Authentication-Results: spf=pass (sender IP is 149.199.60.100)
- smtp.mailfrom=xilinx.com; linaro.org; dkim=none (message not signed)
- header.d=none;linaro.org; dmarc=bestguesspass action=none
- header.from=xilinx.com;
-Received-SPF: Pass (protection.outlook.com: domain of xilinx.com designates
- 149.199.60.100 as permitted sender) receiver=protection.outlook.com;
- client-ip=149.199.60.100; helo=xsj-pvapsmtpgw02;
-Received: from xsj-pvapsmtpgw02 (149.199.60.100) by
- SN1NAM02FT061.mail.protection.outlook.com (10.152.72.196) with Microsoft SMTP
- Server (version=TLS1_0, cipher=TLS_RSA_WITH_AES_256_CBC_SHA) id 15.20.1038.3
- via Frontend Transport; Fri, 3 Aug 2018 17:53:53 +0000
-Received: from unknown-38-66.xilinx.com ([149.199.38.66]:51041
- helo=xsj-pvapsmtp01) by xsj-pvapsmtpgw02 with esmtp (Exim 4.63)
- (envelope-from <jolly.shah@xilinx.com>)
- id 1fleGv-0003jz-26; Fri, 03 Aug 2018 10:53:53 -0700
-Received: from [127.0.0.1] (helo=localhost)
- by xsj-pvapsmtp01 with smtp (Exim 4.63)
- (envelope-from <jolly.shah@xilinx.com>)
- id 1fleGp-0007cn-W8; Fri, 03 Aug 2018 10:53:48 -0700
-Received: from [172.19.2.91] (helo=xsjjollys50.xilinx.com)
- by xsj-pvapsmtp01 with esmtp (Exim 4.63)
- (envelope-from <jollys@xilinx.com>)
- id 1fleGl-0007bh-QS; Fri, 03 Aug 2018 10:53:43 -0700
-From: Jolly Shah <jolly.shah@xilinx.com>
-To: <ard.biesheuvel@linaro.org>, <mingo@kernel.org>,
- <gregkh@linuxfoundation.org>, <matt@codeblueprint.co.uk>,
- <sudeep.holla@arm.com>, <hkallweit1@gmail.com>, <keescook@chromium.org>,
- <dmitry.torokhov@gmail.com>, <mturquette@baylibre.com>,
- <sboyd@codeaurora.org>, <michal.simek@xilinx.com>, <robh+dt@kernel.org>,
- <mark.rutland@arm.com>, <linux-clk@vger.kernel.org>
-Subject: [PATCH v11 10/11] drivers: clk: Add ZynqMP clock driver
-Date: Fri, 3 Aug 2018 10:53:27 -0700
-Message-ID: <1533318808-10781-11-git-send-email-jollys@xilinx.com>
-X-Mailer: git-send-email 2.7.4
-In-Reply-To: <1533318808-10781-1-git-send-email-jollys@xilinx.com>
-References: <1533318808-10781-1-git-send-email-jollys@xilinx.com>
-X-TM-AS-Product-Ver: IMSS-7.1.0.1224-8.2.0.1013-23620.005
-X-TM-AS-User-Approved-Sender: Yes;Yes
-X-EOPAttributedMessage: 0
-X-MS-Office365-Filtering-HT: Tenant
-X-Forefront-Antispam-Report: CIP:149.199.60.100; IPV:NLI; CTRY:US; EFV:NLI;
- SFV:NSPM;
- SFS:(10009020)(136003)(39860400002)(346002)(396003)(376002)(2980300002)(438002)(189003)(199004)(36756003)(110136005)(54906003)(5660300001)(316002)(4326008)(39060400002)(107886003)(14444005)(2201001)(2906002)(575784001)(478600001)(106002)(16586007)(63266004)(72206003)(305945005)(53946003)(77096007)(26005)(106466001)(47776003)(44832011)(186003)(51416003)(7696005)(76176011)(36386004)(9786002)(8676002)(48376002)(50466002)(50226002)(126002)(7416002)(81156014)(426003)(6666003)(476003)(81166006)(11346002)(8936002)(486006)(2616005)(446003)(356003)(336012)(107986001)(921003)(5001870100001)(1121003)(579004)(309714004);
- DIR:OUT; SFP:1101; SCL:1; SRVR:SN6PR02MB4336; H:xsj-pvapsmtpgw02; FPR:;
- SPF:Pass; LANG:en; PTR:unknown-60-100.xilinx.com,xapps1.xilinx.com; MX:1;
- A:1;
-X-Microsoft-Exchange-Diagnostics: 1; SN1NAM02FT061;
- 1:yFcUYWC4p7wLde1jYMZ2SqnERip37sYNeYVJP/Q/Ug4Dm2wOjhunw1VaHbXiNrwoPUQ5XIX6ExQcrLvBV9Xw46r0W/RkUEgRwLxzPnx88j0XXPRKTAZvTrnTLQujdpkR
-MIME-Version: 1.0
-X-MS-PublicTrafficType: Email
-X-MS-Office365-Filtering-Correlation-Id: 3c0e7bcd-20e4-40b9-0265-08d5f96a1453
-X-Microsoft-Antispam: BCL:0; PCL:0;
- RULEID:(7020095)(4652040)(8989117)(4534165)(4627221)(201703031133081)(201702281549075)(8990107)(5600074)(711020)(4608076)(2017052603328)(7153060);
- SRVR:SN6PR02MB4336;
-X-Microsoft-Exchange-Diagnostics: 1; SN6PR02MB4336;
- 3:8AAIVN4t4fuHGDyF/MhxgwHv9/actgz0qwVP37PuwNC9jdm4ynwn4qpfrJvysaRqT2R5mZOMaRziJ1XEi3A2KEiU7nhHivAkTB102CppKaJPmmyFGC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vH6XqgdDzInw1tb1rtXzjctKp0iI6PWxfWeB81JqAZFIb2PBEYAnEjvIF9Bi9JEqwnWaj6CFD80NYqCK0Y9QMcSaWffuYFpwddEHZXSPz989Se6x70nnz/gwTsBwkCqaM+rNd9THg86+6mzqcI81rT2nMQcK3NU7KAmeGZlxLNuLQR3aKcjhxQvqobaWFsaeSxaU2w1WWtYv5haiXdGTy4/p4IE3kuAgPbnMEgKhZ5eW9k4DTjHfKeodXZCy7mzQkaUGfIq5rZQ6JrhttKgwTCyQz7ZmiqOf67Vj3sAMls8MIGhNOyWTv8NR0bDj4pY8sC2ngN/ySEVqqsE5xWW84eO4Tl
-X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply
-X-Microsoft-Antispam-PRVS:
- <SN6PR02MB433629B3837948901AD9BF78B8230@SN6PR02MB4336.namprd02.prod.outlook.com>
-X-Exchange-Antispam-Report-Test: UriScan:(192813158149592);
-X-MS-Exchange-SenderADCheck: 1
-X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0;
- RULEID:(8211001083)(6040522)(2401047)(5005006)(8121501046)(10201501046)(3231311)(944501410)(52105095)(93006095)(93004095)(3002001)(6055026)(149027)(150027)(6041310)(20161123564045)(20161123562045)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(20161123558120)(20161123560045)(6072148)(201708071742011)(7699016);
- SRVR:SN6PR02MB4336; BCL:0; PCL:0; RULEID:; SRVR:SN6PR02MB4336;
-X-Microsoft-Exchange-Diagnostics: 1; SN6PR02MB4336;
- 4:2aLwQJpDB+cTmAg78r0cP+SUQUlcOdcfOL2zgLM8vYmbh1wW0UolroF0RfRxR6KLbjh9iUF5sxeXA7epHywtqvvBbA/HBLUFs5CqTJK+3OJeUiWgpPrSL3a/VSosdmH05i+a4QdDrLMezYAibcU3EfWXs/M8Bky70CpP8AUWNotU2b/1AAUM9mkW8E/hIeMs9Mx+itiaMjBmNq8OA0gUZAn4l0GmyCeqq99fUVVJJavnX7X/5XhS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TSjgI36gYqhvoFVW0u6J0JtU0ObZ61fyXNaWhbjIS9POTcoWzwL3mrtOMtVaO7y38C5poCV6pY7L25do3af8A730DizIMxFdfEPrJ4E/GoUss5rzR6+qwigkQOKywRvhNWrccx2Kdg87hr7tLeKbpfsfpKUqU23Eep00cGl0L53LmjyHbSIaw0eyUXiUEjeqMfZ57osAOimT3kmFueHA5PdaYD/vgkPg6y5TsaC+IuT4ND3oNHqz/X6tods1THckpt9l6qzl7BqtaHmiVN3LWkro+h4zqD6Ecs/y4N1zFBRihNm48sKqMHXoHB21HOZW/vZr+8zFB6jxvfeCCWZNgxqKpZQXKEfW747hoTSRgvDFn4BcCjvij8MjlRKDrXCVnr+9tSbsdf9l/5cj/0tLT6lgusRyUDvytRundHHoIVlhvoW19d8uyxd6B/LpgZJDBZs0ymUf7+g6tE097ws9h8=
-X-Microsoft-Antispam-Message-Info:
- kWVuUlkcwWjORVcqf8aWpgEa/C//K/qDToVy9eKyVLXbEG+gYviLN3jdk+RFKZZHdt9ccVCfs5J2MHxs3/Xrh16jToIImXbhTBPXH2JtorqVLEqlUxLYjseDhGHlLTYAb1Mhoc2udBoEK+pI9XIZ86ccPJipc9483Bdc3pnqrS8830Go+tCtvI5OHTb8RiC0U4bUbOqrBfNFMoPvlGnjpzQtIgszEj9UZbyUvhGHm8XJBgQJs9amFycWzsW5Tt+4aozsU93xEkrPbEGwwasJM/j38HYee8Lls8qMONqTBOMGzt/owpKCLw6gXTUv5J2duKD41uq4xu3VczKPsbTgts3koyt37RGsRrpelfWUAJs=
-X-Microsoft-Exchange-Diagnostics: 1; SN6PR02MB4336;
- 6:MZGV8MdBkOnxtfjk/VLatYtPDNX6+wiTHiJH5Dna25q+u/9q/A1x+cJsfNoDG+edJYqA7vNWoCC967QcojR7FFfRyzZt8mvAXtc92zKwsXDSpHOO9dvc2LdqzmK/Y6ywplrQpsHypqc651yu6hCxavV2hFWRSgREfLXGySyAoPxuVllkO4jHpiIlqRcffGIkyIJo1s6Nw8yhcHMK0l4nil2EENgPG1lkEH1tUWNMQMys1GeJ6ZbpXMNrCzQXTq3p1qow3hEARkqrM1FmDB2mBwyddmh+GyMZu0ytDGBmOUwwahzKZyCfQeIbqMbdTTM+YI6yyE9kIo2H5c4tNxltQAlFUo+ESZ9VNMVAzyyMyE6LXXZotXZPKy+asiOWx5dBiWcNYBsVFfhPgZb3Jf3hzSFfwE6fXkvKjLMjPhkagni+xlPrV9EPEy5QEpafgQaLQZKS8FFTjsQwubXM4M7Sag==;
- 5:+N5o80jlNqqgy573HI70LVhrad0QmNGc4XsN6y7seQeZfUn4TlM/W+rSxJFoHeyerLbwO0Gmv8MWypESJiUTQ6065ZowUVo3sWvdEBUK/S/9V+sMb1ph4QoEXUrJJO+YVMsJEaobJ4U4joXG+eTYHemQU90BxnZtz6JtujGreew=;
- 7:WMqeQpdpFiVmjgkZ9H6j6MpOx/YXWbyEPNF3Izy3TX8uGtC40G2m4qTeCfjN/ohmaXCcupo9++ELP6zNGGFe7PZtqcuQd6POt+BtmivRVdIIVRoyFGWPc1UhpIbaQeIk7oTpTlPud4qNCEzOojytR2a+E29DiupXWpXkqYhwNe6g+OKgDkxHSwl15olDQ5VRogGeyUtzHtgB8LGpoX2ZQu5WRy9+NWUehMlbSNuB4UAqNmuQnIASVI/YBchUVSR6
-SpamDiagnosticOutput: 1:99
-SpamDiagnosticMetadata: NSPM
-X-OriginatorOrg: xilinx.com
-X-MS-Exchange-CrossTenant-OriginalArrivalTime: 03 Aug 2018 17:53:53.5001 (UTC)
-X-MS-Exchange-CrossTenant-Network-Message-Id:
- 3c0e7bcd-20e4-40b9-0265-08d5f96a1453
-X-MS-Exchange-CrossTenant-Id: 657af505-d5df-48d0-8300-c31994686c5c
-X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp:
- TenantId=657af505-d5df-48d0-8300-c31994686c5c; Ip=[149.199.60.100];
- Helo=[xsj-pvapsmtpgw02]
-X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem
-X-MS-Exchange-Transport-CrossTenantHeadersStamped: SN6PR02MB4336
-X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3
-X-CRM114-CacheID: sfid-20180803_105409_086029_029096A0
-X-CRM114-Status: GOOD ( 13.30 )
-X-BeenThere: linux-arm-kernel@lists.infradead.org
-X-Mailman-Version: 2.1.21
-Precedence: list
-List-Id: <linux-arm-kernel.lists.infradead.org>
-List-Unsubscribe:
- <http://lists.infradead.org/mailman/options/linux-arm-kernel>,
- <mailto:linux-arm-kernel-request@lists.infradead.org?subject=unsubscribe>
-List-Archive: <http://lists.infradead.org/pipermail/linux-arm-kernel/>
-List-Post: <mailto:linux-arm-kernel@lists.infradead.org>
-List-Help: <mailto:linux-arm-kernel-request@lists.infradead.org?subject=help>
-List-Subscribe:
- <http://lists.infradead.org/mailman/listinfo/linux-arm-kernel>,
- <mailto:linux-arm-kernel-request@lists.infradead.org?subject=subscribe>
-Cc: devicetree@vger.kernel.org, Tejas Patel <tejasp@xilinx.com>,
- Shubhrajyoti Datta <shubhrajyoti.datta@xilinx.com>,
- linux-kernel@vger.kernel.org, Jolly Shah <jollys@xilinx.com>,
- rajanv@xilinx.com, Jolly Shah <jolly.shah@xilinx.com>,
- linux-arm-kernel@lists.infradead.org
-Content-Type: text/plain; charset="us-ascii"
-Sender: "linux-arm-kernel" <linux-arm-kernel-bounces@lists.infradead.org>
-Errors-To:
- linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org
-X-Virus-Scanned: ClamAV using ClamSMTP
-
-From: Jolly Shah <jolly.shah@xilinx.com>
-
-This patch adds CCF compliant clock driver for ZynqMP.
-Clock driver queries supported clock information from
-firmware and regiters pll and output clocks with CCF.
-
-Signed-off-by: Rajan Vaja <rajanv@xilinx.com>
-Signed-off-by: Tejas Patel <tejasp@xilinx.com>
-Signed-off-by: Shubhrajyoti Datta <shubhrajyoti.datta@xilinx.com>
-Signed-off-by: Jolly Shah <jollys@xilinx.com>
----
- drivers/clk/Kconfig | 1 +
- drivers/clk/Makefile | 1 +
- drivers/clk/zynqmp/Kconfig | 10 +
- drivers/clk/zynqmp/Makefile | 4 +
- drivers/clk/zynqmp/clk-gate-zynqmp.c | 144 +++++++
- drivers/clk/zynqmp/clk-mux-zynqmp.c | 141 +++++++
- drivers/clk/zynqmp/clk-zynqmp.h | 68 ++++
- drivers/clk/zynqmp/clkc.c | 716 +++++++++++++++++++++++++++++++++++
- drivers/clk/zynqmp/divider.c | 217 +++++++++++
- drivers/clk/zynqmp/pll.c | 335 ++++++++++++++++
- include/linux/firmware/xlnx-zynqmp.h | 1 +
- 11 files changed, 1638 insertions(+)
- create mode 100644 drivers/clk/zynqmp/Kconfig
- create mode 100644 drivers/clk/zynqmp/Makefile
- create mode 100644 drivers/clk/zynqmp/clk-gate-zynqmp.c
- create mode 100644 drivers/clk/zynqmp/clk-mux-zynqmp.c
- create mode 100644 drivers/clk/zynqmp/clk-zynqmp.h
- create mode 100644 drivers/clk/zynqmp/clkc.c
- create mode 100644 drivers/clk/zynqmp/divider.c
- create mode 100644 drivers/clk/zynqmp/pll.c
-
-diff --git a/drivers/clk/Kconfig b/drivers/clk/Kconfig
-index 98ce9fc..ab2ea76 100644
---- a/drivers/clk/Kconfig
-+++ b/drivers/clk/Kconfig
-@@ -253,5 +253,6 @@ source "drivers/clk/sunxi-ng/Kconfig"
- source "drivers/clk/tegra/Kconfig"
- source "drivers/clk/ti/Kconfig"
- source "drivers/clk/uniphier/Kconfig"
-+source "drivers/clk/zynqmp/Kconfig"
-
- endmenu
-diff --git a/drivers/clk/Makefile b/drivers/clk/Makefile
-index 71ec41e..b6ac0d2 100644
---- a/drivers/clk/Makefile
-+++ b/drivers/clk/Makefile
-@@ -100,3 +100,4 @@ obj-$(CONFIG_X86) += x86/
- endif
- obj-$(CONFIG_ARCH_ZX) += zte/
- obj-$(CONFIG_ARCH_ZYNQ) += zynq/
-+obj-$(CONFIG_COMMON_CLK_ZYNQMP) += zynqmp/
-diff --git a/drivers/clk/zynqmp/Kconfig b/drivers/clk/zynqmp/Kconfig
-new file mode 100644
-index 0000000..1708605
---- /dev/null
-+++ b/drivers/clk/zynqmp/Kconfig
-@@ -0,0 +1,10 @@
-+# SPDX-License-Identifier: GPL-2.0
-+
-+config COMMON_CLK_ZYNQMP
-+ bool "Support for Xilinx ZynqMP Ultrascale+ clock controllers"
-+ depends on ARCH_ZYNQMP || COMPILE_TEST
-+ depends on ZYNQMP_FIRMWARE
-+ help
-+ Support for the Zynqmp Ultrascale clock controller.
-+ It has a dependency on the PMU firmware.
-+ Say Y if you want to include clock support.
-diff --git a/drivers/clk/zynqmp/Makefile b/drivers/clk/zynqmp/Makefile
-new file mode 100644
-index 0000000..0ec24bf
---- /dev/null
-+++ b/drivers/clk/zynqmp/Makefile
-@@ -0,0 +1,4 @@
-+# SPDX-License-Identifier: GPL-2.0
-+# Zynq Ultrascale+ MPSoC clock specific Makefile
-+
-+obj-$(CONFIG_ARCH_ZYNQMP) += pll.o clk-gate-zynqmp.o divider.o clk-mux-zynqmp.o clkc.o
-diff --git a/drivers/clk/zynqmp/clk-gate-zynqmp.c b/drivers/clk/zynqmp/clk-gate-zynqmp.c
-new file mode 100644
-index 0000000..83b236f
---- /dev/null
-+++ b/drivers/clk/zynqmp/clk-gate-zynqmp.c
-@@ -0,0 +1,144 @@
-+// SPDX-License-Identifier: GPL-2.0
-+/*
-+ * Zynq UltraScale+ MPSoC clock controller
-+ *
-+ * Copyright (C) 2016-2018 Xilinx
-+ *
-+ * Gated clock implementation
-+ */
-+
-+#include <linux/clk-provider.h>
-+#include <linux/slab.h>
-+#include "clk-zynqmp.h"
-+
-+/**
-+ * struct clk_gate - gating clock
-+ * @hw: handle between common and hardware-specific interfaces
-+ * @flags: hardware-specific flags
-+ * @clk_id: Id of clock
-+ */
-+struct zynqmp_clk_gate {
-+ struct clk_hw hw;
-+ u8 flags;
-+ u32 clk_id;
-+};
-+
-+#define to_zynqmp_clk_gate(_hw) container_of(_hw, struct zynqmp_clk_gate, hw)
-+
-+/**
-+ * zynqmp_clk_gate_enable() - Enable clock
-+ * @hw: handle between common and hardware-specific interfaces
-+ *
-+ * Return: 0 on success else error code
-+ */
-+static int zynqmp_clk_gate_enable(struct clk_hw *hw)
-+{
-+ struct zynqmp_clk_gate *gate = to_zynqmp_clk_gate(hw);
-+ const char *clk_name = clk_hw_get_name(hw);
-+ u32 clk_id = gate->clk_id;
-+ int ret;
-+ const struct zynqmp_eemi_ops *eemi_ops = zynqmp_pm_get_eemi_ops();
-+
-+ ret = eemi_ops->clock_enable(clk_id);
-+
-+ if (ret)
-+ pr_warn_once("%s() clock enabled failed for %s, ret = %d\n",
-+ __func__, clk_name, ret);
-+
-+ return ret;
-+}
-+
-+/*
-+ * zynqmp_clk_gate_disable() - Disable clock
-+ * @hw: handle between common and hardware-specific interfaces
-+ */
-+static void zynqmp_clk_gate_disable(struct clk_hw *hw)
-+{
-+ struct zynqmp_clk_gate *gate = to_zynqmp_clk_gate(hw);
-+ const char *clk_name = clk_hw_get_name(hw);
-+ u32 clk_id = gate->clk_id;
-+ int ret;
-+ const struct zynqmp_eemi_ops *eemi_ops = zynqmp_pm_get_eemi_ops();
-+
-+ ret = eemi_ops->clock_disable(clk_id);
-+
-+ if (ret)
-+ pr_warn_once("%s() clock disable failed for %s, ret = %d\n",
-+ __func__, clk_name, ret);
-+}
-+
-+/**
-+ * zynqmp_clk_gate_is_enable() - Check clock state
-+ * @hw: handle between common and hardware-specific interfaces
-+ *
-+ * Return: 1 if enabled, 0 if disabled else error code
-+ */
-+static int zynqmp_clk_gate_is_enabled(struct clk_hw *hw)
-+{
-+ struct zynqmp_clk_gate *gate = to_zynqmp_clk_gate(hw);
-+ const char *clk_name = clk_hw_get_name(hw);
-+ u32 clk_id = gate->clk_id;
-+ int state, ret;
-+ const struct zynqmp_eemi_ops *eemi_ops = zynqmp_pm_get_eemi_ops();
-+
-+ ret = eemi_ops->clock_getstate(clk_id, &state);
-+ if (ret) {
-+ pr_warn_once("%s() clock get state failed for %s, ret = %d\n",
-+ __func__, clk_name, ret);
-+ return -EIO;
-+ }
-+
-+ return state ? 1 : 0;
-+}
-+
-+static const struct clk_ops zynqmp_clk_gate_ops = {
-+ .enable = zynqmp_clk_gate_enable,
-+ .disable = zynqmp_clk_gate_disable,
-+ .is_enabled = zynqmp_clk_gate_is_enabled,
-+};
-+
-+/**
-+ * zynqmp_clk_register_gate() - Register a gate clock with the clock framework
-+ * @name: Name of this clock
-+ * @clk_id: Id of this clock
-+ * @parents: Name of this clock's parents
-+ * @num_parents: Number of parents
-+ * @nodes: Clock topology node
-+ *
-+ * Return: clock hardware of the registered clock gate
-+ */
-+struct clk_hw *zynqmp_clk_register_gate(const char *name, u32 clk_id,
-+ const char * const *parents,
-+ u8 num_parents,
-+ const struct clock_topology *nodes)
-+{
-+ struct zynqmp_clk_gate *gate;
-+ struct clk_hw *hw;
-+ int ret;
-+ struct clk_init_data init;
-+
-+ /* allocate the gate */
-+ gate = kzalloc(sizeof(*gate), GFP_KERNEL);
-+ if (!gate)
-+ return ERR_PTR(-ENOMEM);
-+
-+ init.name = name;
-+ init.ops = &zynqmp_clk_gate_ops;
-+ init.flags = nodes->flag;
-+ init.parent_names = parents;
-+ init.num_parents = 1;
-+
-+ /* struct clk_gate assignments */
-+ gate->flags = nodes->type_flag;
-+ gate->hw.init = &init;
-+ gate->clk_id = clk_id;
-+
-+ hw = &gate->hw;
-+ ret = clk_hw_register(NULL, hw);
-+ if (ret) {
-+ kfree(gate);
-+ hw = ERR_PTR(ret);
-+ }
-+
-+ return hw;
-+}
-diff --git a/drivers/clk/zynqmp/clk-mux-zynqmp.c b/drivers/clk/zynqmp/clk-mux-zynqmp.c
-new file mode 100644
-index 0000000..4143f56
---- /dev/null
-+++ b/drivers/clk/zynqmp/clk-mux-zynqmp.c
-@@ -0,0 +1,141 @@
-+// SPDX-License-Identifier: GPL-2.0
-+/*
-+ * Zynq UltraScale+ MPSoC mux
-+ *
-+ * Copyright (C) 2016-2018 Xilinx
-+ */
-+
-+#include <linux/clk-provider.h>
-+#include <linux/slab.h>
-+#include "clk-zynqmp.h"
-+
-+/*
-+ * DOC: basic adjustable multiplexer clock that cannot gate
-+ *
-+ * Traits of this clock:
-+ * prepare - clk_prepare only ensures that parents are prepared
-+ * enable - clk_enable only ensures that parents are enabled
-+ * rate - rate is only affected by parent switching. No clk_set_rate support
-+ * parent - parent is adjustable through clk_set_parent
-+ */
-+
-+/**
-+ * struct zynqmp_clk_mux - multiplexer clock
-+ *
-+ * @hw: handle between common and hardware-specific interfaces
-+ * @flags: hardware-specific flags
-+ * @clk_id: Id of clock
-+ */
-+struct zynqmp_clk_mux {
-+ struct clk_hw hw;
-+ u8 flags;
-+ u32 clk_id;
-+};
-+
-+#define to_zynqmp_clk_mux(_hw) container_of(_hw, struct zynqmp_clk_mux, hw)
-+
-+/**
-+ * zynqmp_clk_mux_get_parent() - Get parent of clock
-+ * @hw: handle between common and hardware-specific interfaces
-+ *
-+ * Return: Parent index
-+ */
-+static u8 zynqmp_clk_mux_get_parent(struct clk_hw *hw)
-+{
-+ struct zynqmp_clk_mux *mux = to_zynqmp_clk_mux(hw);
-+ const char *clk_name = clk_hw_get_name(hw);
-+ u32 clk_id = mux->clk_id;
-+ u32 val;
-+ int ret;
-+ const struct zynqmp_eemi_ops *eemi_ops = zynqmp_pm_get_eemi_ops();
-+
-+ ret = eemi_ops->clock_getparent(clk_id, &val);
-+
-+ if (ret)
-+ pr_warn_once("%s() getparent failed for clock: %s, ret = %d\n",
-+ __func__, clk_name, ret);
-+
-+ return val;
-+}
-+
-+/**
-+ * zynqmp_clk_mux_set_parent() - Set parent of clock
-+ * @hw: handle between common and hardware-specific interfaces
-+ * @index: Parent index
-+ *
-+ * Return: 0 on success else error+reason
-+ */
-+static int zynqmp_clk_mux_set_parent(struct clk_hw *hw, u8 index)
-+{
-+ struct zynqmp_clk_mux *mux = to_zynqmp_clk_mux(hw);
-+ const char *clk_name = clk_hw_get_name(hw);
-+ u32 clk_id = mux->clk_id;
-+ int ret;
-+ const struct zynqmp_eemi_ops *eemi_ops = zynqmp_pm_get_eemi_ops();
-+
-+ ret = eemi_ops->clock_setparent(clk_id, index);
-+
-+ if (ret)
-+ pr_warn_once("%s() set parent failed for clock: %s, ret = %d\n",
-+ __func__, clk_name, ret);
-+
-+ return ret;
-+}
-+
-+static const struct clk_ops zynqmp_clk_mux_ops = {
-+ .get_parent = zynqmp_clk_mux_get_parent,
-+ .set_parent = zynqmp_clk_mux_set_parent,
-+ .determine_rate = __clk_mux_determine_rate,
-+};
-+
-+static const struct clk_ops zynqmp_clk_mux_ro_ops = {
-+ .get_parent = zynqmp_clk_mux_get_parent,
-+};
-+
-+/**
-+ * zynqmp_clk_register_mux() - Register a mux table with the clock
-+ * framework
-+ * @name: Name of this clock
-+ * @clk_id: Id of this clock
-+ * @parents: Name of this clock's parents
-+ * @num_parents: Number of parents
-+ * @nodes: Clock topology node
-+ *
-+ * Return: clock hardware of the registered clock mux
-+ */
-+struct clk_hw *zynqmp_clk_register_mux(const char *name, u32 clk_id,
-+ const char * const *parents,
-+ u8 num_parents,
-+ const struct clock_topology *nodes)
-+{
-+ struct zynqmp_clk_mux *mux;
-+ struct clk_hw *hw;
-+ struct clk_init_data init;
-+ int ret;
-+
-+ mux = kzalloc(sizeof(*mux), GFP_KERNEL);
-+ if (!mux)
-+ return ERR_PTR(-ENOMEM);
-+
-+ init.name = name;
-+ if (nodes->type_flag & CLK_MUX_READ_ONLY)
-+ init.ops = &zynqmp_clk_mux_ro_ops;
-+ else
-+ init.ops = &zynqmp_clk_mux_ops;
-+ init.flags = nodes->flag;
-+ init.parent_names = parents;
-+ init.num_parents = num_parents;
-+ mux->flags = nodes->type_flag;
-+ mux->hw.init = &init;
-+ mux->clk_id = clk_id;
-+
-+ hw = &mux->hw;
-+ ret = clk_hw_register(NULL, hw);
-+ if (ret) {
-+ kfree(hw);
-+ hw = ERR_PTR(ret);
-+ }
-+
-+ return hw;
-+}
-+EXPORT_SYMBOL_GPL(zynqmp_clk_register_mux);
-diff --git a/drivers/clk/zynqmp/clk-zynqmp.h b/drivers/clk/zynqmp/clk-zynqmp.h
-new file mode 100644
-index 0000000..7ab163b
---- /dev/null
-+++ b/drivers/clk/zynqmp/clk-zynqmp.h
-@@ -0,0 +1,68 @@
-+/* SPDX-License-Identifier: GPL-2.0 */
-+/*
-+ * Copyright (C) 2016-2018 Xilinx
-+ */
-+
-+#ifndef __LINUX_CLK_ZYNQMP_H_
-+#define __LINUX_CLK_ZYNQMP_H_
-+
-+#include <linux/spinlock.h>
-+
-+#include <linux/firmware/xlnx-zynqmp.h>
-+
-+/* Clock APIs payload parameters */
-+#define CLK_GET_NAME_RESP_LEN 16
-+#define CLK_GET_TOPOLOGY_RESP_WORDS 3
-+#define CLK_GET_PARENTS_RESP_WORDS 3
-+#define CLK_GET_ATTR_RESP_WORDS 1
-+
-+enum topology_type {
-+ TYPE_INVALID,
-+ TYPE_MUX,
-+ TYPE_PLL,
-+ TYPE_FIXEDFACTOR,
-+ TYPE_DIV1,
-+ TYPE_DIV2,
-+ TYPE_GATE,
-+};
-+
-+/**
-+ * struct clock_topology - Clock topology
-+ * @type: Type of topology
-+ * @flag: Topology flags
-+ * @type_flag: Topology type specific flag
-+ */
-+struct clock_topology {
-+ u32 type;
-+ u32 flag;
-+ u32 type_flag;
-+};
-+
-+struct clk_hw *zynqmp_clk_register_pll(const char *name, u32 clk_id,
-+ const char * const *parents,
-+ u8 num_parents,
-+ const struct clock_topology *nodes);
-+
-+struct clk_hw *zynqmp_clk_register_gate(const char *name, u32 clk_id,
-+ const char * const *parents,
-+ u8 num_parents,
-+ const struct clock_topology *nodes);
-+
-+struct clk_hw *zynqmp_clk_register_divider(const char *name,
-+ u32 clk_id,
-+ const char * const *parents,
-+ u8 num_parents,
-+ const struct clock_topology *nodes);
-+
-+struct clk_hw *zynqmp_clk_register_mux(const char *name, u32 clk_id,
-+ const char * const *parents,
-+ u8 num_parents,
-+ const struct clock_topology *nodes);
-+
-+struct clk_hw *zynqmp_clk_register_fixed_factor(const char *name,
-+ u32 clk_id,
-+ const char * const *parents,
-+ u8 num_parents,
-+ const struct clock_topology *nodes);
-+
-+#endif
-diff --git a/drivers/clk/zynqmp/clkc.c b/drivers/clk/zynqmp/clkc.c
-new file mode 100644
-index 0000000..1b07d77
---- /dev/null
-+++ b/drivers/clk/zynqmp/clkc.c
-@@ -0,0 +1,716 @@
-+// SPDX-License-Identifier: GPL-2.0
-+/*
-+ * Zynq UltraScale+ MPSoC clock controller
-+ *
-+ * Copyright (C) 2016-2018 Xilinx
-+ *
-+ * Based on drivers/clk/zynq/clkc.c
-+ */
-+
-+#include <linux/bitfield.h>
-+#include <linux/clk.h>
-+#include <linux/clk-provider.h>
-+#include <linux/module.h>
-+#include <linux/of_platform.h>
-+#include <linux/slab.h>
-+#include <linux/string.h>
-+
-+#include "clk-zynqmp.h"
-+
-+#define MAX_PARENT 100
-+#define MAX_NODES 6
-+#define MAX_NAME_LEN 50
-+
-+#define CLK_TYPE_SHIFT 2
-+
-+#define PM_API_PAYLOAD_LEN 3
-+
-+#define NA_PARENT 0xFFFFFFFF
-+#define DUMMY_PARENT 0xFFFFFFFE
-+
-+#define CLK_TYPE_FIELD_LEN 4
-+#define CLK_TOPOLOGY_NODE_OFFSET 16
-+#define NODES_PER_RESP 3
-+
-+#define CLK_TYPE_FIELD_MASK 0xF
-+#define CLK_FLAG_FIELD_MASK GENMASK(21, 8)
-+#define CLK_TYPE_FLAG_FIELD_MASK GENMASK(31, 24)
-+
-+#define CLK_PARENTS_ID_LEN 16
-+#define CLK_PARENTS_ID_MASK 0xFFFF
-+
-+/* Flags for parents */
-+#define PARENT_CLK_SELF 0
-+#define PARENT_CLK_NODE1 1
-+#define PARENT_CLK_NODE2 2
-+#define PARENT_CLK_NODE3 3
-+#define PARENT_CLK_NODE4 4
-+#define PARENT_CLK_EXTERNAL 5
-+
-+#define END_OF_CLK_NAME "END_OF_CLK"
-+#define END_OF_TOPOLOGY_NODE 1
-+#define END_OF_PARENTS 1
-+#define RESERVED_CLK_NAME ""
-+
-+#define CLK_VALID_MASK 0x1
-+
-+enum clk_type {
-+ CLK_TYPE_OUTPUT,
-+ CLK_TYPE_EXTERNAL,
-+};
-+
-+/**
-+ * struct clock_parent - Clock parent
-+ * @name: Parent name
-+ * @id: Parent clock ID
-+ * @flag: Parent flags
-+ */
-+struct clock_parent {
-+ char name[MAX_NAME_LEN];
-+ int id;
-+ u32 flag;
-+};
-+
-+/**
-+ * struct zynqmp_clock - Clock
-+ * @clk_name: Clock name
-+ * @valid: Validity flag of clock
-+ * @type: Clock type (Output/External)
-+ * @node: Clock topology nodes
-+ * @num_nodes: Number of nodes present in topology
-+ * @parent: Parent of clock
-+ * @num_parents: Number of parents of clock
-+ */
-+struct zynqmp_clock {
-+ char clk_name[MAX_NAME_LEN];
-+ u32 valid;
-+ enum clk_type type;
-+ struct clock_topology node[MAX_NODES];
-+ u32 num_nodes;
-+ struct clock_parent parent[MAX_PARENT];
-+ u32 num_parents;
-+};
-+
-+static const char clk_type_postfix[][10] = {
-+ [TYPE_INVALID] = "",
-+ [TYPE_MUX] = "_mux",
-+ [TYPE_GATE] = "",
-+ [TYPE_DIV1] = "_div1",
-+ [TYPE_DIV2] = "_div2",
-+ [TYPE_FIXEDFACTOR] = "_ff",
-+ [TYPE_PLL] = ""
-+};
-+
-+static struct clk_hw *(* const clk_topology[]) (const char *name, u32 clk_id,
-+ const char * const *parents,
-+ u8 num_parents,
-+ const struct clock_topology *nodes)
-+ = {
-+ [TYPE_INVALID] = NULL,
-+ [TYPE_MUX] = zynqmp_clk_register_mux,
-+ [TYPE_PLL] = zynqmp_clk_register_pll,
-+ [TYPE_FIXEDFACTOR] = zynqmp_clk_register_fixed_factor,
-+ [TYPE_DIV1] = zynqmp_clk_register_divider,
-+ [TYPE_DIV2] = zynqmp_clk_register_divider,
-+ [TYPE_GATE] = zynqmp_clk_register_gate
-+};
-+
-+static struct zynqmp_clock *clock;
-+static struct clk_hw_onecell_data *zynqmp_data;
-+static unsigned int clock_max_idx;
-+static const struct zynqmp_eemi_ops *eemi_ops;
-+
-+/**
-+ * zynqmp_is_valid_clock() - Check whether clock is valid or not
-+ * @clk_id: Clock index
-+ *
-+ * Return: 1 if clock is valid, 0 if clock is invalid else error code
-+ */
-+static inline int zynqmp_is_valid_clock(u32 clk_id)
-+{
-+ if (clk_id > clock_max_idx)
-+ return -ENODEV;
-+
-+ return clock[clk_id].valid;
-+}
-+
-+/**
-+ * zynqmp_get_clock_name() - Get name of clock from Clock index
-+ * @clk_id: Clock index
-+ * @clk_name: Name of clock
-+ *
-+ * Return: 0 on success else error code
-+ */
-+static int zynqmp_get_clock_name(u32 clk_id, char *clk_name)
-+{
-+ int ret;
-+
-+ ret = zynqmp_is_valid_clock(clk_id);
-+ if (ret == 1) {
-+ strncpy(clk_name, clock[clk_id].clk_name, MAX_NAME_LEN);
-+ return 0;
-+ }
-+
-+ return ret == 0 ? -EINVAL : ret;
-+}
-+
-+/**
-+ * zynqmp_get_clock_type() - Get type of clock
-+ * @clk_id: Clock index
-+ * @type: Clock type: CLK_TYPE_OUTPUT or CLK_TYPE_EXTERNAL
-+ *
-+ * Return: 0 on success else error code
-+ */
-+static int zynqmp_get_clock_type(u32 clk_id, u32 *type)
-+{
-+ int ret;
-+
-+ ret = zynqmp_is_valid_clock(clk_id);
-+ if (ret == 1) {
-+ *type = clock[clk_id].type;
-+ return 0;
-+ }
-+
-+ return ret == 0 ? -EINVAL : ret;
-+}
-+
-+/**
-+ * zynqmp_pm_clock_get_num_clocks() - Get number of clocks in system
-+ * @nclocks: Number of clocks in system/board.
-+ *
-+ * Call firmware API to get number of clocks.
-+ *
-+ * Return: 0 on success else error code.
-+ */
-+static int zynqmp_pm_clock_get_num_clocks(u32 *nclocks)
-+{
-+ struct zynqmp_pm_query_data qdata = {0};
-+ __le32 ret_payload[PAYLOAD_ARG_CNT];
-+ int ret;
-+
-+ qdata.qid = PM_QID_CLOCK_GET_NUM_CLOCKS;
-+
-+ ret = eemi_ops->query_data(qdata, ret_payload);
-+ *nclocks = ret_payload[1];
-+
-+ return ret;
-+}
-+
-+/**
-+ * zynqmp_pm_clock_get_name() - Get the name of clock for given id
-+ * @clock_id: ID of the clock to be queried
-+ * @name: Name of given clock
-+ *
-+ * This function is used to get name of clock specified by given
-+ * clock ID.
-+ *
-+ * Return: Returns 0, in case of error name would be 0
-+ */
-+static int zynqmp_pm_clock_get_name(u32 clock_id, char *name)
-+{
-+ struct zynqmp_pm_query_data qdata = {0};
-+ __le32 ret_payload[PAYLOAD_ARG_CNT];
-+
-+ qdata.qid = PM_QID_CLOCK_GET_NAME;
-+ qdata.arg1 = clock_id;
-+
-+ eemi_ops->query_data(qdata, ret_payload);
-+ memcpy(name, ret_payload, CLK_GET_NAME_RESP_LEN);
-+
-+ return 0;
-+}
-+
-+/**
-+ * zynqmp_pm_clock_get_topology() - Get the topology of clock for given id
-+ * @clock_id: ID of the clock to be queried
-+ * @index: Node index of clock topology
-+ * @topology: Buffer to store nodes in topology and flags
-+ *
-+ * This function is used to get topology information for the clock
-+ * specified by given clock ID.
-+ *
-+ * This API will return 3 node of topology with a single response. To get
-+ * other nodes, master should call same API in loop with new
-+ * index till error is returned. E.g First call should have
-+ * index 0 which will return nodes 0,1 and 2. Next call, index
-+ * should be 3 which will return nodes 3,4 and 5 and so on.
-+ *
-+ * Return: 0 on success else error+reason
-+ */
-+static int zynqmp_pm_clock_get_topology(u32 clock_id, u32 index, u32 *topology)
-+{
-+ struct zynqmp_pm_query_data qdata = {0};
-+ __le32 ret_payload[PAYLOAD_ARG_CNT];
-+ int ret;
-+
-+ qdata.qid = PM_QID_CLOCK_GET_TOPOLOGY;
-+ qdata.arg1 = clock_id;
-+ qdata.arg2 = index;
-+
-+ ret = eemi_ops->query_data(qdata, ret_payload);
-+ memcpy(topology, &ret_payload[1], CLK_GET_TOPOLOGY_RESP_WORDS * 4);
-+
-+ return ret;
-+}
-+
-+/**
-+ * zynqmp_clk_register_fixed_factor() - Register fixed factor with the
-+ * clock framework
-+ * @name: Name of this clock
-+ * @clk_id: Clock ID
-+ * @parents: Name of this clock's parents
-+ * @num_parents: Number of parents
-+ * @nodes: Clock topology node
-+ *
-+ * Return: clock hardware to the registered clock
-+ */
-+struct clk_hw *zynqmp_clk_register_fixed_factor(const char *name, u32 clk_id,
-+ const char * const *parents,
-+ u8 num_parents,
-+ const struct clock_topology *nodes)
-+{
-+ u32 mult, div;
-+ struct clk_hw *hw;
-+ struct zynqmp_pm_query_data qdata = {0};
-+ __le32 ret_payload[PAYLOAD_ARG_CNT];
-+ int ret;
-+
-+ qdata.qid = PM_QID_CLOCK_GET_FIXEDFACTOR_PARAMS;
-+ qdata.arg1 = clk_id;
-+
-+ ret = eemi_ops->query_data(qdata, ret_payload);
-+ mult = ret_payload[1];
-+ div = ret_payload[2];
-+
-+ hw = clk_hw_register_fixed_factor(NULL, name,
-+ parents[0],
-+ nodes->flag, mult,
-+ div);
-+
-+ return hw;
-+}
-+
-+/**
-+ * zynqmp_pm_clock_get_parents() - Get the first 3 parents of clock for given id
-+ * @clock_id: Clock ID
-+ * @index: Parent index
-+ * @parents: 3 parents of the given clock
-+ *
-+ * This function is used to get 3 parents for the clock specified by
-+ * given clock ID.
-+ *
-+ * This API will return 3 parents with a single response. To get
-+ * other parents, master should call same API in loop with new
-+ * parent index till error is returned. E.g First call should have
-+ * index 0 which will return parents 0,1 and 2. Next call, index
-+ * should be 3 which will return parent 3,4 and 5 and so on.
-+ *
-+ * Return: 0 on success else error+reason
-+ */
-+static int zynqmp_pm_clock_get_parents(u32 clock_id, u32 index, u32 *parents)
-+{
-+ struct zynqmp_pm_query_data qdata = {0};
-+ __le32 ret_payload[PAYLOAD_ARG_CNT];
-+ int ret;
-+
-+ qdata.qid = PM_QID_CLOCK_GET_PARENTS;
-+ qdata.arg1 = clock_id;
-+ qdata.arg2 = index;
-+
-+ ret = eemi_ops->query_data(qdata, ret_payload);
-+ memcpy(parents, &ret_payload[1], CLK_GET_PARENTS_RESP_WORDS * 4);
-+
-+ return ret;
-+}
-+
-+/**
-+ * zynqmp_pm_clock_get_attributes() - Get the attributes of clock for given id
-+ * @clock_id: Clock ID
-+ * @attr: Clock attributes
-+ *
-+ * This function is used to get clock's attributes(e.g. valid, clock type, etc).
-+ *
-+ * Return: 0 on success else error+reason
-+ */
-+static int zynqmp_pm_clock_get_attributes(u32 clock_id, u32 *attr)
-+{
-+ struct zynqmp_pm_query_data qdata = {0};
-+ __le32 ret_payload[PAYLOAD_ARG_CNT];
-+ int ret;
-+
-+ qdata.qid = PM_QID_CLOCK_GET_ATTRIBUTES;
-+ qdata.arg1 = clock_id;
-+
-+ ret = eemi_ops->query_data(qdata, ret_payload);
-+ memcpy(attr, &ret_payload[1], CLK_GET_ATTR_RESP_WORDS * 4);
-+
-+ return ret;
-+}
-+
-+/**
-+ * __zynqmp_clock_get_topology() - Get topology data of clock from firmware
-+ * response data
-+ * @topology: Clock topology
-+ * @data: Clock topology data received from firmware
-+ * @nnodes: Number of nodes
-+ *
-+ * Return: 0 on success else error+reason
-+ */
-+static int __zynqmp_clock_get_topology(struct clock_topology *topology,
-+ u32 *data, u32 *nnodes)
-+{
-+ int i;
-+
-+ for (i = 0; i < PM_API_PAYLOAD_LEN; i++) {
-+ if (!(data[i] & CLK_TYPE_FIELD_MASK))
-+ return END_OF_TOPOLOGY_NODE;
-+ topology[*nnodes].type = data[i] & CLK_TYPE_FIELD_MASK;
-+ topology[*nnodes].flag = FIELD_GET(CLK_FLAG_FIELD_MASK,
-+ data[i]);
-+ topology[*nnodes].type_flag =
-+ FIELD_GET(CLK_TYPE_FLAG_FIELD_MASK, data[i]);
-+ (*nnodes)++;
-+ }
-+
-+ return 0;
-+}
-+
-+/**
-+ * zynqmp_clock_get_topology() - Get topology of clock from firmware using
-+ * PM_API
-+ * @clk_id: Clock index
-+ * @topology: Clock topology
-+ * @num_nodes: Number of nodes
-+ *
-+ * Return: 0 on success else error+reason
-+ */
-+static int zynqmp_clock_get_topology(u32 clk_id,
-+ struct clock_topology *topology,
-+ u32 *num_nodes)
-+{
-+ int j, ret;
-+ u32 pm_resp[PM_API_PAYLOAD_LEN] = {0};
-+
-+ *num_nodes = 0;
-+ for (j = 0; j <= MAX_NODES; j += 3) {
-+ ret = zynqmp_pm_clock_get_topology(clk_id, j, pm_resp);
-+ if (ret)
-+ return ret;
-+ ret = __zynqmp_clock_get_topology(topology, pm_resp, num_nodes);
-+ if (ret == END_OF_TOPOLOGY_NODE)
-+ return 0;
-+ }
-+
-+ return 0;
-+}
-+
-+/**
-+ * __zynqmp_clock_get_topology() - Get parents info of clock from firmware
-+ * response data
-+ * @parents: Clock parents
-+ * @data: Clock parents data received from firmware
-+ * @nparent: Number of parent
-+ *
-+ * Return: 0 on success else error+reason
-+ */
-+static int __zynqmp_clock_get_parents(struct clock_parent *parents, u32 *data,
-+ u32 *nparent)
-+{
-+ int i;
-+ struct clock_parent *parent;
-+
-+ for (i = 0; i < PM_API_PAYLOAD_LEN; i++) {
-+ if (data[i] == NA_PARENT)
-+ return END_OF_PARENTS;
-+
-+ parent = &parents[i];
-+ parent->id = data[i] & CLK_PARENTS_ID_MASK;
-+ if (data[i] == DUMMY_PARENT) {
-+ strcpy(parent->name, "dummy_name");
-+ parent->flag = 0;
-+ } else {
-+ parent->flag = data[i] >> CLK_PARENTS_ID_LEN;
-+ if (zynqmp_get_clock_name(parent->id, parent->name))
-+ continue;
-+ }
-+ *nparent += 1;
-+ }
-+
-+ return 0;
-+}
-+
-+/**
-+ * zynqmp_clock_get_parents() - Get parents info from firmware using PM_API
-+ * @clk_id: Clock index
-+ * @parents: Clock parents
-+ * @num_parents: Total number of parents
-+ *
-+ * Return: 0 on success else error+reason
-+ */
-+static int zynqmp_clock_get_parents(u32 clk_id, struct clock_parent *parents,
-+ u32 *num_parents)
-+{
-+ int j = 0, ret;
-+ u32 pm_resp[PM_API_PAYLOAD_LEN] = {0};
-+
-+ *num_parents = 0;
-+ do {
-+ /* Get parents from firmware */
-+ ret = zynqmp_pm_clock_get_parents(clk_id, j, pm_resp);
-+ if (ret)
-+ return ret;
-+
-+ ret = __zynqmp_clock_get_parents(&parents[j], pm_resp,
-+ num_parents);
-+ if (ret == END_OF_PARENTS)
-+ return 0;
-+ j += PM_API_PAYLOAD_LEN;
-+ } while (*num_parents <= MAX_PARENT);
-+
-+ return 0;
-+}
-+
-+/**
-+ * zynqmp_get_parent_list() - Create list of parents name
-+ * @np: Device node
-+ * @clk_id: Clock index
-+ * @parent_list: List of parent's name
-+ * @num_parents: Total number of parents
-+ *
-+ * Return: 0 on success else error+reason
-+ */
-+static int zynqmp_get_parent_list(struct device_node *np, u32 clk_id,
-+ const char **parent_list, u32 *num_parents)
-+{
-+ int i = 0, ret;
-+ u32 total_parents = clock[clk_id].num_parents;
-+ struct clock_topology *clk_nodes;
-+ struct clock_parent *parents;
-+
-+ clk_nodes = clock[clk_id].node;
-+ parents = clock[clk_id].parent;
-+
-+ for (i = 0; i < total_parents; i++) {
-+ if (!parents[i].flag) {
-+ parent_list[i] = parents[i].name;
-+ } else if (parents[i].flag == PARENT_CLK_EXTERNAL) {
-+ ret = of_property_match_string(np, "clock-names",
-+ parents[i].name);
-+ if (ret < 0)
-+ strcpy(parents[i].name, "dummy_name");
-+ parent_list[i] = parents[i].name;
-+ } else {
-+ strcat(parents[i].name,
-+ clk_type_postfix[clk_nodes[parents[i].flag - 1].
-+ type]);
-+ parent_list[i] = parents[i].name;
-+ }
-+ }
-+
-+ *num_parents = total_parents;
-+ return 0;
-+}
-+
-+/**
-+ * zynqmp_register_clk_topology() - Register clock topology
-+ * @clk_id: Clock index
-+ * @clk_name: Clock Name
-+ * @num_parents: Total number of parents
-+ * @parent_names: List of parents name
-+ *
-+ * Return: Returns either clock hardware or error+reason
-+ */
-+static struct clk_hw *zynqmp_register_clk_topology(int clk_id, char *clk_name,
-+ int num_parents,
-+ const char **parent_names)
-+{
-+ int j;
-+ u32 num_nodes;
-+ char *clk_out = NULL;
-+ struct clock_topology *nodes;
-+ struct clk_hw *hw = NULL;
-+
-+ nodes = clock[clk_id].node;
-+ num_nodes = clock[clk_id].num_nodes;
-+
-+ for (j = 0; j < num_nodes; j++) {
-+ /*
-+ * Clock name received from firmware is output clock name.
-+ * Intermediate clock names are postfixed with type of clock.
-+ */
-+ if (j != (num_nodes - 1)) {
-+ clk_out = kasprintf(GFP_KERNEL, "%s%s", clk_name,
-+ clk_type_postfix[nodes[j].type]);
-+ } else {
-+ clk_out = kasprintf(GFP_KERNEL, "%s", clk_name);
-+ }
-+
-+ if (!clk_topology[nodes[j].type])
-+ continue;
-+
-+ hw = (*clk_topology[nodes[j].type])(clk_out, clk_id,
-+ parent_names,
-+ num_parents,
-+ &nodes[j]);
-+ if (IS_ERR(hw))
-+ pr_warn_once("%s() %s register fail with %ld\n",
-+ __func__, clk_name, PTR_ERR(hw));
-+
-+ parent_names[0] = clk_out;
-+ }
-+ kfree(clk_out);
-+ return hw;
-+}
-+
-+/**
-+ * zynqmp_register_clocks() - Register clocks
-+ * @np: Device node
-+ *
-+ * Return: 0 on success else error code
-+ */
-+static int zynqmp_register_clocks(struct device_node *np)
-+{
-+ int ret;
-+ u32 i, total_parents = 0, type = 0;
-+ const char *parent_names[MAX_PARENT];
-+
-+ for (i = 0; i < clock_max_idx; i++) {
-+ char clk_name[MAX_NAME_LEN];
-+
-+ /* get clock name, continue to next clock if name not found */
-+ if (zynqmp_get_clock_name(i, clk_name))
-+ continue;
-+
-+ /* Check if clock is valid and output clock.
-+ * Do not register invalid or external clock.
-+ */
-+ ret = zynqmp_get_clock_type(i, &type);
-+ if (ret || type != CLK_TYPE_OUTPUT)
-+ continue;
-+
-+ /* Get parents of clock*/
-+ if (zynqmp_get_parent_list(np, i, parent_names,
-+ &total_parents)) {
-+ WARN_ONCE(1, "No parents found for %s\n",
-+ clock[i].clk_name);
-+ continue;
-+ }
-+
-+ zynqmp_data->hws[i] =
-+ zynqmp_register_clk_topology(i, clk_name,
-+ total_parents,
-+ parent_names);
-+ }
-+
-+ for (i = 0; i < clock_max_idx; i++) {
-+ if (IS_ERR(zynqmp_data->hws[i])) {
-+ pr_err("Zynq Ultrascale+ MPSoC clk %s: register failed with %ld\n",
-+ clock[i].clk_name, PTR_ERR(zynqmp_data->hws[i]));
-+ WARN_ON(1);
-+ }
-+ }
-+ return 0;
-+}
-+
-+/**
-+ * zynqmp_get_clock_info() - Get clock information from firmware using PM_API
-+ */
-+static void zynqmp_get_clock_info(void)
-+{
-+ int i, ret;
-+ u32 attr, type = 0;
-+
-+ for (i = 0; i < clock_max_idx; i++) {
-+ zynqmp_pm_clock_get_name(i, clock[i].clk_name);
-+ if (!strcmp(clock[i].clk_name, RESERVED_CLK_NAME))
-+ continue;
-+
-+ ret = zynqmp_pm_clock_get_attributes(i, &attr);
-+ if (ret)
-+ continue;
-+
-+ clock[i].valid = attr & CLK_VALID_MASK;
-+ clock[i].type = attr >> CLK_TYPE_SHIFT ? CLK_TYPE_EXTERNAL :
-+ CLK_TYPE_OUTPUT;
-+ }
-+
-+ /* Get topology of all clock */
-+ for (i = 0; i < clock_max_idx; i++) {
-+ ret = zynqmp_get_clock_type(i, &type);
-+ if (ret || type != CLK_TYPE_OUTPUT)
-+ continue;
-+
-+ ret = zynqmp_clock_get_topology(i, clock[i].node,
-+ &clock[i].num_nodes);
-+ if (ret)
-+ continue;
-+
-+ ret = zynqmp_clock_get_parents(i, clock[i].parent,
-+ &clock[i].num_parents);
-+ if (ret)
-+ continue;
-+ }
-+}
-+
-+/**
-+ * zynqmp_clk_setup() - Setup the clock framework and register clocks
-+ * @np: Device node
-+ *
-+ * Return: 0 on success else error code
-+ */
-+static int zynqmp_clk_setup(struct device_node *np)
-+{
-+ int ret;
-+
-+ ret = zynqmp_pm_clock_get_num_clocks(&clock_max_idx);
-+ if (ret)
-+ return ret;
-+
-+ zynqmp_data = kzalloc(sizeof(*zynqmp_data) + sizeof(*zynqmp_data) *
-+ clock_max_idx, GFP_KERNEL);
-+ if (!zynqmp_data)
-+ return -ENOMEM;
-+
-+ clock = kcalloc(clock_max_idx, sizeof(*clock), GFP_KERNEL);
-+ if (!clock) {
-+ kfree(zynqmp_data);
-+ return -ENOMEM;
-+ }
-+
-+ zynqmp_get_clock_info();
-+ zynqmp_register_clocks(np);
-+
-+ zynqmp_data->num = clock_max_idx;
-+ of_clk_add_hw_provider(np, of_clk_hw_onecell_get, zynqmp_data);
-+
-+ return 0;
-+}
-+
-+static int zynqmp_clock_probe(struct platform_device *pdev)
-+{
-+ int ret;
-+ struct device *dev = &pdev->dev;
-+
-+ eemi_ops = zynqmp_pm_get_eemi_ops();
-+ if (!eemi_ops)
-+ return -ENXIO;
-+
-+ ret = zynqmp_clk_setup(dev->of_node);
-+
-+ return ret;
-+}
-+
-+static const struct of_device_id zynqmp_clock_of_match[] = {
-+ {.compatible = "xlnx,zynqmp-clk"},
-+ {},
-+};
-+MODULE_DEVICE_TABLE(of, zynqmp_clock_of_match);
-+
-+static struct platform_driver zynqmp_clock_driver = {
-+ .driver = {
-+ .name = "zynqmp_clock",
-+ .of_match_table = zynqmp_clock_of_match,
-+ },
-+ .probe = zynqmp_clock_probe,
-+};
-+module_platform_driver(zynqmp_clock_driver);
-diff --git a/drivers/clk/zynqmp/divider.c b/drivers/clk/zynqmp/divider.c
-new file mode 100644
-index 0000000..a371c66
---- /dev/null
-+++ b/drivers/clk/zynqmp/divider.c
-@@ -0,0 +1,217 @@
-+// SPDX-License-Identifier: GPL-2.0
-+/*
-+ * Zynq UltraScale+ MPSoC Divider support
-+ *
-+ * Copyright (C) 2016-2018 Xilinx
-+ *
-+ * Adjustable divider clock implementation
-+ */
-+
-+#include <linux/clk.h>
-+#include <linux/clk-provider.h>
-+#include <linux/slab.h>
-+#include "clk-zynqmp.h"
-+
-+/*
-+ * DOC: basic adjustable divider clock that cannot gate
-+ *
-+ * Traits of this clock:
-+ * prepare - clk_prepare only ensures that parents are prepared
-+ * enable - clk_enable only ensures that parents are enabled
-+ * rate - rate is adjustable. clk->rate = ceiling(parent->rate / divisor)
-+ * parent - fixed parent. No clk_set_parent support
-+ */
-+
-+#define to_zynqmp_clk_divider(_hw) \
-+ container_of(_hw, struct zynqmp_clk_divider, hw)
-+
-+#define CLK_FRAC BIT(13) /* has a fractional parent */
-+
-+/**
-+ * struct zynqmp_clk_divider - adjustable divider clock
-+ * @hw: handle between common and hardware-specific interfaces
-+ * @flags: Hardware specific flags
-+ * @clk_id: Id of clock
-+ * @div_type: divisor type (TYPE_DIV1 or TYPE_DIV2)
-+ */
-+struct zynqmp_clk_divider {
-+ struct clk_hw hw;
-+ u8 flags;
-+ u32 clk_id;
-+ u32 div_type;
-+};
-+
-+static inline int zynqmp_divider_get_val(unsigned long parent_rate,
-+ unsigned long rate)
-+{
-+ return DIV_ROUND_CLOSEST(parent_rate, rate);
-+}
-+
-+/**
-+ * zynqmp_clk_divider_recalc_rate() - Recalc rate of divider clock
-+ * @hw: handle between common and hardware-specific interfaces
-+ * @parent_rate: rate of parent clock
-+ *
-+ * Return: 0 on success else error+reason
-+ */
-+static unsigned long zynqmp_clk_divider_recalc_rate(struct clk_hw *hw,
-+ unsigned long parent_rate)
-+{
-+ struct zynqmp_clk_divider *divider = to_zynqmp_clk_divider(hw);
-+ const char *clk_name = clk_hw_get_name(hw);
-+ u32 clk_id = divider->clk_id;
-+ u32 div_type = divider->div_type;
-+ u32 div, value;
-+ int ret;
-+ const struct zynqmp_eemi_ops *eemi_ops = zynqmp_pm_get_eemi_ops();
-+
-+ ret = eemi_ops->clock_getdivider(clk_id, &div);
-+
-+ if (ret)
-+ pr_warn_once("%s() get divider failed for %s, ret = %d\n",
-+ __func__, clk_name, ret);
-+
-+ if (div_type == TYPE_DIV1)
-+ value = div & 0xFFFF;
-+ else
-+ value = div >> 16;
-+
-+ return DIV_ROUND_UP_ULL(parent_rate, value);
-+}
-+
-+/**
-+ * zynqmp_clk_divider_round_rate() - Round rate of divider clock
-+ * @hw: handle between common and hardware-specific interfaces
-+ * @rate: rate of clock to be set
-+ * @prate: rate of parent clock
-+ *
-+ * Return: 0 on success else error+reason
-+ */
-+static long zynqmp_clk_divider_round_rate(struct clk_hw *hw,
-+ unsigned long rate,
-+ unsigned long *prate)
-+{
-+ struct zynqmp_clk_divider *divider = to_zynqmp_clk_divider(hw);
-+ const char *clk_name = clk_hw_get_name(hw);
-+ u32 clk_id = divider->clk_id;
-+ u32 div_type = divider->div_type;
-+ u32 bestdiv;
-+ int ret;
-+ const struct zynqmp_eemi_ops *eemi_ops = zynqmp_pm_get_eemi_ops();
-+
-+ /* if read only, just return current value */
-+ if (divider->flags & CLK_DIVIDER_READ_ONLY) {
-+ ret = eemi_ops->clock_getdivider(clk_id, &bestdiv);
-+
-+ if (ret)
-+ pr_warn_once("%s() get divider failed for %s, ret = %d\n",
-+ __func__, clk_name, ret);
-+ if (div_type == TYPE_DIV1)
-+ bestdiv = bestdiv & 0xFFFF;
-+ else
-+ bestdiv = bestdiv >> 16;
-+
-+ return DIV_ROUND_UP_ULL((u64)*prate, bestdiv);
-+ }
-+
-+ bestdiv = zynqmp_divider_get_val(*prate, rate);
-+
-+ if ((clk_hw_get_flags(hw) & CLK_SET_RATE_PARENT) &&
-+ (divider->flags & CLK_FRAC))
-+ bestdiv = rate % *prate ? 1 : bestdiv;
-+ *prate = rate * bestdiv;
-+
-+ return rate;
-+}
-+
-+/**
-+ * zynqmp_clk_divider_set_rate() - Set rate of divider clock
-+ * @hw: handle between common and hardware-specific interfaces
-+ * @rate: rate of clock to be set
-+ * @parent_rate: rate of parent clock
-+ *
-+ * Return: 0 on success else error+reason
-+ */
-+static int zynqmp_clk_divider_set_rate(struct clk_hw *hw, unsigned long rate,
-+ unsigned long parent_rate)
-+{
-+ struct zynqmp_clk_divider *divider = to_zynqmp_clk_divider(hw);
-+ const char *clk_name = clk_hw_get_name(hw);
-+ u32 clk_id = divider->clk_id;
-+ u32 div_type = divider->div_type;
-+ u32 value, div;
-+ int ret;
-+ const struct zynqmp_eemi_ops *eemi_ops = zynqmp_pm_get_eemi_ops();
-+
-+ value = zynqmp_divider_get_val(parent_rate, rate);
-+ if (div_type == TYPE_DIV1) {
-+ div = value & 0xFFFF;
-+ div |= 0xffff << 16;
-+ } else {
-+ div = 0xffff;
-+ div |= value << 16;
-+ }
-+
-+ ret = eemi_ops->clock_setdivider(clk_id, div);
-+
-+ if (ret)
-+ pr_warn_once("%s() set divider failed for %s, ret = %d\n",
-+ __func__, clk_name, ret);
-+
-+ return ret;
-+}
-+
-+static const struct clk_ops zynqmp_clk_divider_ops = {
-+ .recalc_rate = zynqmp_clk_divider_recalc_rate,
-+ .round_rate = zynqmp_clk_divider_round_rate,
-+ .set_rate = zynqmp_clk_divider_set_rate,
-+};
-+
-+/**
-+ * zynqmp_clk_register_divider() - Register a divider clock
-+ * @name: Name of this clock
-+ * @clk_id: Id of clock
-+ * @parents: Name of this clock's parents
-+ * @num_parents: Number of parents
-+ * @nodes: Clock topology node
-+ *
-+ * Return: clock hardware to registered clock divider
-+ */
-+struct clk_hw *zynqmp_clk_register_divider(const char *name,
-+ u32 clk_id,
-+ const char * const *parents,
-+ u8 num_parents,
-+ const struct clock_topology *nodes)
-+{
-+ struct zynqmp_clk_divider *div;
-+ struct clk_hw *hw;
-+ struct clk_init_data init;
-+ int ret;
-+
-+ /* allocate the divider */
-+ div = kzalloc(sizeof(*div), GFP_KERNEL);
-+ if (!div)
-+ return ERR_PTR(-ENOMEM);
-+
-+ init.name = name;
-+ init.ops = &zynqmp_clk_divider_ops;
-+ init.flags = nodes->flag;
-+ init.parent_names = parents;
-+ init.num_parents = 1;
-+
-+ /* struct clk_divider assignments */
-+ div->flags = nodes->type_flag;
-+ div->hw.init = &init;
-+ div->clk_id = clk_id;
-+ div->div_type = nodes->type;
-+
-+ hw = &div->hw;
-+ ret = clk_hw_register(NULL, hw);
-+ if (ret) {
-+ kfree(div);
-+ hw = ERR_PTR(ret);
-+ }
-+
-+ return hw;
-+}
-+EXPORT_SYMBOL_GPL(zynqmp_clk_register_divider);
-diff --git a/drivers/clk/zynqmp/pll.c b/drivers/clk/zynqmp/pll.c
-new file mode 100644
-index 0000000..626bb5f
---- /dev/null
-+++ b/drivers/clk/zynqmp/pll.c
-@@ -0,0 +1,335 @@
-+// SPDX-License-Identifier: GPL-2.0
-+/*
-+ * Zynq UltraScale+ MPSoC PLL driver
-+ *
-+ * Copyright (C) 2016-2018 Xilinx
-+ */
-+
-+#include <linux/clk.h>
-+#include <linux/clk-provider.h>
-+#include <linux/slab.h>
-+#include "clk-zynqmp.h"
-+
-+/**
-+ * struct zynqmp_pll - PLL clock
-+ * @hw: Handle between common and hardware-specific interfaces
-+ * @clk_id: PLL clock ID
-+ */
-+struct zynqmp_pll {
-+ struct clk_hw hw;
-+ u32 clk_id;
-+};
-+
-+#define to_zynqmp_pll(_hw) container_of(_hw, struct zynqmp_pll, hw)
-+
-+#define PLL_FBDIV_MIN 25
-+#define PLL_FBDIV_MAX 125
-+
-+#define PS_PLL_VCO_MIN 1500000000
-+#define PS_PLL_VCO_MAX 3000000000UL
-+
-+enum pll_mode {
-+ PLL_MODE_INT,
-+ PLL_MODE_FRAC,
-+};
-+
-+#define FRAC_OFFSET 0x8
-+#define PLLFCFG_FRAC_EN BIT(31)
-+#define FRAC_DIV BIT(16) /* 2^16 */
-+
-+/**
-+ * zynqmp_pll_get_mode() - Get mode of PLL
-+ * @hw: Handle between common and hardware-specific interfaces
-+ *
-+ * Return: Mode of PLL
-+ */
-+static inline enum pll_mode zynqmp_pll_get_mode(struct clk_hw *hw)
-+{
-+ struct zynqmp_pll *clk = to_zynqmp_pll(hw);
-+ u32 clk_id = clk->clk_id;
-+ const char *clk_name = clk_hw_get_name(hw);
-+ __le32 ret_payload[PAYLOAD_ARG_CNT];
-+ int ret;
-+ const struct zynqmp_eemi_ops *eemi_ops = zynqmp_pm_get_eemi_ops();
-+
-+ ret = eemi_ops->ioctl(0, IOCTL_GET_PLL_FRAC_MODE, clk_id, 0,
-+ ret_payload);
-+ if (ret)
-+ pr_warn_once("%s() PLL get frac mode failed for %s, ret = %d\n",
-+ __func__, clk_name, ret);
-+
-+ return ret_payload[1];
-+}
-+
-+/**
-+ * zynqmp_pll_set_mode() - Set the PLL mode
-+ * @hw: Handle between common and hardware-specific interfaces
-+ * @on: Flag to determine the mode
-+ */
-+static inline void zynqmp_pll_set_mode(struct clk_hw *hw, bool on)
-+{
-+ struct zynqmp_pll *clk = to_zynqmp_pll(hw);
-+ u32 clk_id = clk->clk_id;
-+ const char *clk_name = clk_hw_get_name(hw);
-+ int ret;
-+ u32 mode;
-+ const struct zynqmp_eemi_ops *eemi_ops = zynqmp_pm_get_eemi_ops();
-+
-+ if (on)
-+ mode = PLL_MODE_FRAC;
-+ else
-+ mode = PLL_MODE_INT;
-+
-+ ret = eemi_ops->ioctl(0, IOCTL_SET_PLL_FRAC_MODE, clk_id, mode, NULL);
-+ if (ret)
-+ pr_warn_once("%s() PLL set frac mode failed for %s, ret = %d\n",
-+ __func__, clk_name, ret);
-+}
-+
-+/**
-+ * zynqmp_pll_round_rate() - Round a clock frequency
-+ * @hw: Handle between common and hardware-specific interfaces
-+ * @rate: Desired clock frequency
-+ * @prate: Clock frequency of parent clock
-+ *
-+ * Return: Frequency closest to @rate the hardware can generate
-+ */
-+static long zynqmp_pll_round_rate(struct clk_hw *hw, unsigned long rate,
-+ unsigned long *prate)
-+{
-+ u32 fbdiv;
-+ long rate_div, f;
-+
-+ /* Enable the fractional mode if needed */
-+ rate_div = (rate * FRAC_DIV) / *prate;
-+ f = rate_div % FRAC_DIV;
-+ zynqmp_pll_set_mode(hw, !!f);
-+
-+ if (zynqmp_pll_get_mode(hw) == PLL_MODE_FRAC) {
-+ if (rate > PS_PLL_VCO_MAX) {
-+ fbdiv = rate / PS_PLL_VCO_MAX;
-+ rate = rate / (fbdiv + 1);
-+ }
-+ if (rate < PS_PLL_VCO_MIN) {
-+ fbdiv = DIV_ROUND_UP(PS_PLL_VCO_MIN, rate);
-+ rate = rate * fbdiv;
-+ }
-+ return rate;
-+ }
-+
-+ fbdiv = DIV_ROUND_CLOSEST(rate, *prate);
-+ fbdiv = clamp_t(u32, fbdiv, PLL_FBDIV_MIN, PLL_FBDIV_MAX);
-+ return *prate * fbdiv;
-+}
-+
-+/**
-+ * zynqmp_pll_recalc_rate() - Recalculate clock frequency
-+ * @hw: Handle between common and hardware-specific interfaces
-+ * @parent_rate: Clock frequency of parent clock
-+ *
-+ * Return: Current clock frequency
-+ */
-+static unsigned long zynqmp_pll_recalc_rate(struct clk_hw *hw,
-+ unsigned long parent_rate)
-+{
-+ struct zynqmp_pll *clk = to_zynqmp_pll(hw);
-+ u32 clk_id = clk->clk_id;
-+ const char *clk_name = clk_hw_get_name(hw);
-+ u32 fbdiv, data;
-+ unsigned long rate, frac;
-+ __le32 ret_payload[PAYLOAD_ARG_CNT];
-+ int ret;
-+ const struct zynqmp_eemi_ops *eemi_ops = zynqmp_pm_get_eemi_ops();
-+
-+ ret = eemi_ops->clock_getdivider(clk_id, &fbdiv);
-+ if (ret)
-+ pr_warn_once("%s() get divider failed for %s, ret = %d\n",
-+ __func__, clk_name, ret);
-+
-+ rate = parent_rate * fbdiv;
-+ if (zynqmp_pll_get_mode(hw) == PLL_MODE_FRAC) {
-+ eemi_ops->ioctl(0, IOCTL_GET_PLL_FRAC_DATA, clk_id, 0,
-+ ret_payload);
-+ data = ret_payload[1];
-+ frac = (parent_rate * data) / FRAC_DIV;
-+ rate = rate + frac;
-+ }
-+
-+ return rate;
-+}
-+
-+/**
-+ * zynqmp_pll_set_rate() - Set rate of PLL
-+ * @hw: Handle between common and hardware-specific interfaces
-+ * @rate: Frequency of clock to be set
-+ * @parent_rate: Clock frequency of parent clock
-+ *
-+ * Set PLL divider to set desired rate.
-+ *
-+ * Returns: rate which is set on success else error code
-+ */
-+static int zynqmp_pll_set_rate(struct clk_hw *hw, unsigned long rate,
-+ unsigned long parent_rate)
-+{
-+ struct zynqmp_pll *clk = to_zynqmp_pll(hw);
-+ u32 clk_id = clk->clk_id;
-+ const char *clk_name = clk_hw_get_name(hw);
-+ u32 fbdiv;
-+ long rate_div, frac, m, f;
-+ int ret;
-+ const struct zynqmp_eemi_ops *eemi_ops = zynqmp_pm_get_eemi_ops();
-+
-+ if (zynqmp_pll_get_mode(hw) == PLL_MODE_FRAC) {
-+ rate_div = (rate * FRAC_DIV) / parent_rate;
-+ m = rate_div / FRAC_DIV;
-+ f = rate_div % FRAC_DIV;
-+ m = clamp_t(u32, m, (PLL_FBDIV_MIN), (PLL_FBDIV_MAX));
-+ rate = parent_rate * m;
-+ frac = (parent_rate * f) / FRAC_DIV;
-+
-+ ret = eemi_ops->clock_setdivider(clk_id, m);
-+ if (ret)
-+ pr_warn_once("%s() set divider failed for %s, ret = %d\n",
-+ __func__, clk_name, ret);
-+
-+ eemi_ops->ioctl(0, IOCTL_SET_PLL_FRAC_DATA, clk_id, f, NULL);
-+
-+ return rate + frac;
-+ }
-+
-+ fbdiv = DIV_ROUND_CLOSEST(rate, parent_rate);
-+ fbdiv = clamp_t(u32, fbdiv, PLL_FBDIV_MIN, PLL_FBDIV_MAX);
-+ ret = eemi_ops->clock_setdivider(clk_id, fbdiv);
-+ if (ret)
-+ pr_warn_once("%s() set divider failed for %s, ret = %d\n",
-+ __func__, clk_name, ret);
-+
-+ return parent_rate * fbdiv;
-+}
-+
-+/**
-+ * zynqmp_pll_is_enabled() - Check if a clock is enabled
-+ * @hw: Handle between common and hardware-specific interfaces
-+ *
-+ * Return: 1 if the clock is enabled, 0 otherwise
-+ */
-+static int zynqmp_pll_is_enabled(struct clk_hw *hw)
-+{
-+ struct zynqmp_pll *clk = to_zynqmp_pll(hw);
-+ const char *clk_name = clk_hw_get_name(hw);
-+ u32 clk_id = clk->clk_id;
-+ unsigned int state;
-+ int ret;
-+ const struct zynqmp_eemi_ops *eemi_ops = zynqmp_pm_get_eemi_ops();
-+
-+ ret = eemi_ops->clock_getstate(clk_id, &state);
-+ if (ret) {
-+ pr_warn_once("%s() clock get state failed for %s, ret = %d\n",
-+ __func__, clk_name, ret);
-+ return -EIO;
-+ }
-+
-+ return state ? 1 : 0;
-+}
-+
-+/**
-+ * zynqmp_pll_enable() - Enable clock
-+ * @hw: Handle between common and hardware-specific interfaces
-+ *
-+ * Return: 0 on success else error code
-+ */
-+static int zynqmp_pll_enable(struct clk_hw *hw)
-+{
-+ struct zynqmp_pll *clk = to_zynqmp_pll(hw);
-+ const char *clk_name = clk_hw_get_name(hw);
-+ u32 clk_id = clk->clk_id;
-+ int ret;
-+ const struct zynqmp_eemi_ops *eemi_ops = zynqmp_pm_get_eemi_ops();
-+
-+ if (zynqmp_pll_is_enabled(hw))
-+ return 0;
-+
-+ ret = eemi_ops->clock_enable(clk_id);
-+ if (ret)
-+ pr_warn_once("%s() clock enable failed for %s, ret = %d\n",
-+ __func__, clk_name, ret);
-+
-+ return ret;
-+}
-+
-+/**
-+ * zynqmp_pll_disable() - Disable clock
-+ * @hw: Handle between common and hardware-specific interfaces
-+ */
-+static void zynqmp_pll_disable(struct clk_hw *hw)
-+{
-+ struct zynqmp_pll *clk = to_zynqmp_pll(hw);
-+ const char *clk_name = clk_hw_get_name(hw);
-+ u32 clk_id = clk->clk_id;
-+ int ret;
-+ const struct zynqmp_eemi_ops *eemi_ops = zynqmp_pm_get_eemi_ops();
-+
-+ if (!zynqmp_pll_is_enabled(hw))
-+ return;
-+
-+ ret = eemi_ops->clock_disable(clk_id);
-+ if (ret)
-+ pr_warn_once("%s() clock disable failed for %s, ret = %d\n",
-+ __func__, clk_name, ret);
-+}
-+
-+static const struct clk_ops zynqmp_pll_ops = {
-+ .enable = zynqmp_pll_enable,
-+ .disable = zynqmp_pll_disable,
-+ .is_enabled = zynqmp_pll_is_enabled,
-+ .round_rate = zynqmp_pll_round_rate,
-+ .recalc_rate = zynqmp_pll_recalc_rate,
-+ .set_rate = zynqmp_pll_set_rate,
-+};
-+
-+/**
-+ * zynqmp_clk_register_pll() - Register PLL with the clock framework
-+ * @name: PLL name
-+ * @clk_id: Clock ID
-+ * @parents: Name of this clock's parents
-+ * @num_parents: Number of parents
-+ * @nodes: Clock topology node
-+ *
-+ * Return: clock hardware to the registered clock
-+ */
-+struct clk_hw *zynqmp_clk_register_pll(const char *name, u32 clk_id,
-+ const char * const *parents,
-+ u8 num_parents,
-+ const struct clock_topology *nodes)
-+{
-+ struct zynqmp_pll *pll;
-+ struct clk_hw *hw;
-+ struct clk_init_data init;
-+ int ret;
-+
-+ init.name = name;
-+ init.ops = &zynqmp_pll_ops;
-+ init.flags = nodes->flag;
-+ init.parent_names = parents;
-+ init.num_parents = 1;
-+
-+ pll = kzalloc(sizeof(*pll), GFP_KERNEL);
-+ if (!pll)
-+ return ERR_PTR(-ENOMEM);
-+
-+ pll->hw.init = &init;
-+ pll->clk_id = clk_id;
-+
-+ hw = &pll->hw;
-+ ret = clk_hw_register(NULL, hw);
-+ if (ret) {
-+ kfree(pll);
-+ return ERR_PTR(ret);
-+ }
-+
-+ clk_hw_set_rate_range(hw, PS_PLL_VCO_MIN, PS_PLL_VCO_MAX);
-+ if (ret < 0)
-+ pr_err("%s:ERROR clk_set_rate_range failed %d\n", name, ret);
-+
-+ return hw;
-+}
-diff --git a/include/linux/firmware/xlnx-zynqmp.h b/include/linux/firmware/xlnx-zynqmp.h
-index 58a7478..a3ef7d6 100644
---- a/include/linux/firmware/xlnx-zynqmp.h
-+++ b/include/linux/firmware/xlnx-zynqmp.h
-@@ -72,6 +72,7 @@ enum pm_query_id {
- PM_QID_CLOCK_GET_FIXEDFACTOR_PARAMS,
- PM_QID_CLOCK_GET_PARENTS,
- PM_QID_CLOCK_GET_ATTRIBUTES,
-+ PM_QID_CLOCK_GET_NUM_CLOCKS = 12,
- };
-
- /**
-
-From patchwork Fri Aug 3 17:53:28 2018
-Content-Type: text/plain; charset="utf-8"
-MIME-Version: 1.0
-Content-Transfer-Encoding: 7bit
-X-Patchwork-Submitter: Jolly Shah <jolly.shah@xilinx.com>
-X-Patchwork-Id: 10555419
-Return-Path:
- <linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org>
-Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org
- [172.30.200.125])
- by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 7272614E2
- for <patchwork-linux-arm@patchwork.kernel.org>;
- Fri, 3 Aug 2018 18:06:24 +0000 (UTC)
-Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1])
- by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 5FB462C1AF
- for <patchwork-linux-arm@patchwork.kernel.org>;
- Fri, 3 Aug 2018 18:06:24 +0000 (UTC)
-Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486)
- id 5343D2C984; Fri, 3 Aug 2018 18:06:24 +0000 (UTC)
-X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on
- pdx-wl-mail.web.codeaurora.org
-X-Spam-Level:
-X-Spam-Status: No, score=-2.9 required=2.0 tests=BAD_ENC_HEADER,BAYES_00,
- DKIM_SIGNED,DKIM_VALID,MAILING_LIST_MULTI autolearn=unavailable version=3.3.1
-Received: from bombadil.infradead.org (bombadil.infradead.org
- [198.137.202.133])
- (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits))
- (No client certificate requested)
- by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id E68552C1AF
- for <patchwork-linux-arm@patchwork.kernel.org>;
- Fri, 3 Aug 2018 18:06:23 +0000 (UTC)
-DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed;
- d=lists.infradead.org; s=bombadil.20170209; h=Sender:
- Content-Transfer-Encoding:Content-Type:Cc:List-Subscribe:List-Help:List-Post:
- List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To:
- Message-ID:Date:Subject:To:From:Reply-To:Content-ID:Content-Description:
- Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:
- List-Owner; bh=xBfAFqp/1JxfkxFiJoHW7UYhX0tK+Per5yoNCATaQtA=; b=J2isLgGjSuvqsX
- uge98kSY5X+9hEz5UYJtWrmPbJfeyJ+T9PGaLsaGTZdbDwGpooesaOzDsctJW9BMSYnYUIQjNqJ1d
- hpK/qUsGTY5yDITFNu0Vd0PRbnSLySJim+56rxFPoRe8U+PiiQrOKm9o65k1DERWKlNLZ/5RcRS0i
- uZG66/6x8LXoektXoXg4rG2lrYlUHlAxmf2vXMN7U9zLCEcrMezCoUW2mvEYuIRGs+bGbT9doKU2y
- 0QGhgpBr1uHZCAkaE7q9bkVwQ6e1thPgcxmVFoYMduPwMWjKvARH8H6rtbzkofOTpn/nh6/jk2abF
- K/+eygvV0q16J+n6MP8A==;
-Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org)
- by bombadil.infradead.org with esmtp (Exim 4.90_1 #2 (Red Hat Linux))
- id 1fleSu-0002Ls-PC; Fri, 03 Aug 2018 18:06:16 +0000
-Received: from mail-by2nam03on0052.outbound.protection.outlook.com
- ([104.47.42.52] helo=NAM03-BY2-obe.outbound.protection.outlook.com)
- by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux))
- id 1fleHG-0002lU-An
- for linux-arm-kernel@lists.infradead.org; Fri, 03 Aug 2018 17:54:18 +0000
-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
- d=xilinx.onmicrosoft.com; s=selector1-xilinx-com;
- h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck;
- bh=HocsRqPj2eQGjE2XVpEC9FN28XayA3mpJe4M6gte33A=;
- b=DVbqTpiA2yXpnQWWPpVJftOa3sDdxP2UsgIvh36sh/022OZPb/2EBvsnOiNqrkkzTEIizFi0jwUEOhnjZTn1QBRwplEsD2CJ8uXcok/IVmB41NKj7jm8hVYKn4MPSUVwh9E8E8QqFObEm4DtZTOnie0kisAvjy+z5odvapQNCuA=
-Received: from DM6PR02CA0009.namprd02.prod.outlook.com (2603:10b6:5:1c::22) by
- DM5PR0201MB3512.namprd02.prod.outlook.com (2603:10b6:4:77::12) with
- Microsoft
- SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id
- 15.20.1017.15; Fri, 3 Aug 2018 17:53:53 +0000
-Received: from CY1NAM02FT049.eop-nam02.prod.protection.outlook.com
- (2a01:111:f400:7e45::200) by DM6PR02CA0009.outlook.office365.com
- (2603:10b6:5:1c::22) with Microsoft SMTP Server (version=TLS1_2,
- cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384) id 15.20.1017.14 via Frontend
- Transport; Fri, 3 Aug 2018 17:53:53 +0000
-Authentication-Results: spf=pass (sender IP is 149.199.60.83)
- smtp.mailfrom=xilinx.com; linaro.org; dkim=none (message not signed)
- header.d=none;linaro.org; dmarc=bestguesspass action=none
- header.from=xilinx.com;
-Received-SPF: Pass (protection.outlook.com: domain of xilinx.com designates
- 149.199.60.83 as permitted sender) receiver=protection.outlook.com;
- client-ip=149.199.60.83; helo=xsj-pvapsmtpgw01;
-Received: from xsj-pvapsmtpgw01 (149.199.60.83) by
- CY1NAM02FT049.mail.protection.outlook.com (10.152.75.83) with Microsoft SMTP
- Server (version=TLS1_0, cipher=TLS_RSA_WITH_AES_256_CBC_SHA) id 15.20.1038.3
- via Frontend Transport; Fri, 3 Aug 2018 17:53:52 +0000
-Received: from unknown-38-66.xilinx.com ([149.199.38.66] helo=xsj-pvapsmtp01)
- by xsj-pvapsmtpgw01 with esmtp (Exim 4.63)
- (envelope-from <jolly.shah@xilinx.com>)
- id 1fleGu-0004fe-0k; Fri, 03 Aug 2018 10:53:52 -0700
-Received: from [127.0.0.1] (helo=localhost)
- by xsj-pvapsmtp01 with smtp (Exim 4.63)
- (envelope-from <jolly.shah@xilinx.com>)
- id 1fleGo-0007cn-Tn; Fri, 03 Aug 2018 10:53:46 -0700
-Received: from [172.19.2.91] (helo=xsjjollys50.xilinx.com)
- by xsj-pvapsmtp01 with esmtp (Exim 4.63)
- (envelope-from <jollys@xilinx.com>)
- id 1fleGl-0007bh-UD; Fri, 03 Aug 2018 10:53:43 -0700
-From: Jolly Shah <jolly.shah@xilinx.com>
-To: <ard.biesheuvel@linaro.org>, <mingo@kernel.org>,
- <gregkh@linuxfoundation.org>, <matt@codeblueprint.co.uk>,
- <sudeep.holla@arm.com>, <hkallweit1@gmail.com>, <keescook@chromium.org>,
- <dmitry.torokhov@gmail.com>, <mturquette@baylibre.com>,
- <sboyd@codeaurora.org>, <michal.simek@xilinx.com>, <robh+dt@kernel.org>,
- <mark.rutland@arm.com>, <linux-clk@vger.kernel.org>
-Subject: [PATCH v11 11/11] firmware: xilinx: Replace init call with probe
- method
-Date: Fri, 3 Aug 2018 10:53:28 -0700
-Message-ID: <1533318808-10781-12-git-send-email-jollys@xilinx.com>
-X-Mailer: git-send-email 2.7.4
-In-Reply-To: <1533318808-10781-1-git-send-email-jollys@xilinx.com>
-References: <1533318808-10781-1-git-send-email-jollys@xilinx.com>
-X-TM-AS-Product-Ver: IMSS-7.1.0.1224-8.2.0.1013-23620.005
-X-TM-AS-User-Approved-Sender: Yes;Yes
-X-EOPAttributedMessage: 0
-X-MS-Office365-Filtering-HT: Tenant
-X-Forefront-Antispam-Report: CIP:149.199.60.83; IPV:NLI; CTRY:US; EFV:NLI;
- SFV:NSPM;
- SFS:(10009020)(39860400002)(376002)(346002)(136003)(396003)(2980300002)(438002)(189003)(199004)(81156014)(48376002)(9786002)(5660300001)(107886003)(81166006)(50226002)(106002)(77096007)(16586007)(8676002)(186003)(110136005)(2906002)(6666003)(50466002)(316002)(44832011)(426003)(39060400002)(47776003)(8936002)(478600001)(4326008)(54906003)(486006)(7696005)(336012)(36386004)(11346002)(26005)(126002)(51416003)(476003)(63266004)(106466001)(356003)(76176011)(36756003)(72206003)(446003)(2201001)(305945005)(7416002)(2616005)(107986001)(921003)(1121003);
- DIR:OUT; SFP:1101; SCL:1; SRVR:DM5PR0201MB3512; H:xsj-pvapsmtpgw01; FPR:;
- SPF:Pass; LANG:en; PTR:unknown-60-83.xilinx.com; MX:1; A:1;
-X-Microsoft-Exchange-Diagnostics: 1; CY1NAM02FT049;
- 1:Q3IxXRPxJrM39CbL4CERPcH1cxfk1IJkfmcqlkuiAYmyqmzmWXxBSOugUpiPScw3yqROTSsHMBCCLPu2aYih9HcwIVnE9dbiwZv5YTDUkJYU8+bzHCl3ZtAXvefIVJGw
-MIME-Version: 1.0
-X-MS-PublicTrafficType: Email
-X-MS-Office365-Filtering-Correlation-Id: 0045d393-b7d0-410b-a885-08d5f96a13aa
-X-Microsoft-Antispam: BCL:0; PCL:0;
- RULEID:(7020095)(4652040)(8989117)(4534165)(4627221)(201703031133081)(201702281549075)(8990107)(5600074)(711020)(4608076)(2017052603328)(7153060);
- SRVR:DM5PR0201MB3512;
-X-Microsoft-Exchange-Diagnostics: 1; DM5PR0201MB3512;
- 3:XuI9a6OU+Wix++X/W4xHpGLHgfrayqtIftW9xwgVabOIZThZL3AJjSrhF8y3EzUe7yPqJVAVf5/1ibvprgN39lOTsOjRab4GJyn/7Z97ZzOjlYMfXcrSu251wFqIhZNFxprkY6nohxGbCqh7PKUq0Hs/1C00Z8XhLT9e03DJC3lYJt8yZV7xJQWsMrheCinyD7wwwswauzy7+DUdIOI6XVrJ0pavF4U9lr3EViPi9G0zq6rcJRLbS1WOOsMafeRsKx5ZFOk4KJxVyoIT+llGcCxEEmzaMAzsFcemh4O0A5HSUSsIefplelPhqq2z1YaRVoGSRr6/aB7SNfKS73qVtMr+DopKEOPgU5qsRlgb1sQ=;
- 25:gysTljDxV5yUd4qWs+8GiPCacf+WxzTD0KkPv8TTXIkE7ENdj7dJZjZJBhUTj8AYYdnBNb+5WbViDUJZeY8ilJ3v5RpNNYmmHqhY3inMp405adRuhVLXPfwkRKzf7jhyagbj7rz7TZ1XXL5bV0epyg/rDKlHOtLXVni5tfzCu/WWdxNsp72B6BBbs/qRTTBA7aA5ucho/Pd0wFKxWO6wJ0OFlugwlcEvI3zHKL7a1/utFp+9UA0H7Ei0smzMOP3jocu6NfwOzWV34VNN7NOfP3xCMbIdv492RcYZXuRzYYNpUZn82+xVIhbj2y6FeyyxSfEpUEzg2/OBHTMREU226w==
-X-MS-TrafficTypeDiagnostic: DM5PR0201MB3512:
-X-Microsoft-Exchange-Diagnostics: 1; DM5PR0201MB3512;
- 31:m+GVFACqJrapL5HOpRPocBLFk4ZbV5+J7il/XZiG+65XMR/Rtw3MZEM+SbgFRX484g5X5xpqQHIQIWEPye4HWKWN9hGB8Wq1J2Mgo27fBSMCLg/jns3IOQs29Ey1MyrBbEH84gv4FDRrYxY2gRrrWmlJyp2sGGGeNFY5bvW1IF6Xq//ZXgCV/D+EjKhIu+EJa17PSlyuKufhhGr9XJJ9jSU+/EG4CkcRVlEbPZOp/sM=;
- 20:cL3VcjGdsjeFPiv/AalGXMQBhvGzW7f7pePV/oAYht9i2zTvTVGUMehKQUojvGmXd3c3IhRlaIVMwVWu669YzdEfaQbY0/VlNo4LEhZC2sDV3R4zXCCkPI5DnY+Okxf8xbrtvVsdmbf28ekzWC71QXKC5tMgecldR2biwrPxpkB9/MvWolJLcgep6v2waxW5E4XfsZCRZANWW9HjaScIBT/MGJqMzg4mUxuqmrRTlsv7xaMEAebxDDKT1thUAVR0WIfuhOOApMlZsNTKDgm5870gC8dS8swG4Fr9VYzApkYL6a50LxMhVVZkBXXJpmKwzYPYzV/ay7HAn6Em9uL7We7EQW/dEJHubnh4+j5zQYMlyNBU7ZI3gHPvV3SKBbSRlzeAOJosWvzQWVhhivYbGTWaHoTHP+JbVCGArx4d68zIG5DOBtPPIE4BZsKeaJ8U2xhohSCtyaZSMgh+OqQpD4WLzceDlvJW9A2LXUxQolDkem7TQC8p0I4DgEGMR0R6
-X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply
-X-Microsoft-Antispam-PRVS:
- <DM5PR0201MB3512F241C094A9CBED8F2272B8230@DM5PR0201MB3512.namprd02.prod.outlook.com>
-X-Exchange-Antispam-Report-Test: UriScan:(788757137089)(192813158149592);
-X-MS-Exchange-SenderADCheck: 1
-X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0;
- RULEID:(8211001083)(6040522)(2401047)(5005006)(8121501046)(93006095)(93004095)(10201501046)(3231311)(944501410)(52105095)(3002001)(6055026)(149027)(150027)(6041310)(20161123560045)(20161123558120)(20161123562045)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(20161123564045)(6072148)(201708071742011)(7699016);
- SRVR:DM5PR0201MB3512; BCL:0; PCL:0; RULEID:; SRVR:DM5PR0201MB3512;
-X-Microsoft-Exchange-Diagnostics: 1; DM5PR0201MB3512;
- 4:0l/Jv9e1lvDhvWIGk/ia9KFrX1twnlhZ76AohX/jm3f6Xh9XFgZ2S7wMJt+nvRd/Ib5wPCNU/Qzz3nbyWCEUi/8bw3uJWshcREy2YMtOZNnN36vgS671yuWxEg1ACQnNfVlyJ+Qe4NXX+rXbEwOGiTsWdEKW+DND2tEvmsPYppLg+BS1j+2PmKZr9UAM2Dknm9gMq45UsN2bW9Tg1ARkd0sE0josKC+LmsRUwjkLuMf34CIshUL7/IV+xRrAEXBXgOgIh/+CVFCCqu4HGnZZPT0itExttJGvC9kUvXoMtjJTX9PoLd+IvrotXSa8glKK5YnIZ2RHLtVc2cz+tFNr3w==
-X-Forefront-PRVS: 0753EA505A
-X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; DM5PR0201MB3512;
- 23:omq/hhH3pNMVCBhAnCz9tF3e7JVKzbi18jEm/z8?=
- jIlLu6OT02UXNvQtzoR9LV7LHHvsEOjGFylznycJXeBY1UI7JqCJhWyR/s5yrVPPfHiNTEGq3El2JgFhnwy23zXyPabYWUQ6cQhu9bwc3rxGYpdF/PSbfIDLgxb1yce/Kt4G1GWIhPo5ag/87tDYzJBQz5FllJEm3aqIB87riGEjWMxR+5Uq2YXz8wBfb4R/6Ieu4JGmmB68MMYYUWkbLbcT8ntvMRaH/GJoJjvEnARt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jzP/ayDDZdetAQPqbb2DiHNAkFI+fm/5xu/lL5KiAVAY4N1EGCHwcDfh2nDcdX2BlZJ0HW6cyHbEKCeaEPwxm4p4lN6EFrDVIDcQLIanqJnMC79O+dPlAQlwQwpo8m6zq8fZuO3IppSFtaDd7E36BxkwQlFPz/mZbfwcjm2m4U2HROhb44cloqPMsKI
-SpamDiagnosticOutput: 1:99
-SpamDiagnosticMetadata: NSPM
-X-OriginatorOrg: xilinx.com
-X-MS-Exchange-CrossTenant-OriginalArrivalTime: 03 Aug 2018 17:53:52.5062 (UTC)
-X-MS-Exchange-CrossTenant-Network-Message-Id:
- 0045d393-b7d0-410b-a885-08d5f96a13aa
-X-MS-Exchange-CrossTenant-Id: 657af505-d5df-48d0-8300-c31994686c5c
-X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp:
- TenantId=657af505-d5df-48d0-8300-c31994686c5c; Ip=[149.199.60.83];
- Helo=[xsj-pvapsmtpgw01]
-X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem
-X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM5PR0201MB3512
-X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3
-X-CRM114-CacheID: sfid-20180803_105414_775993_0E20A85F
-X-CRM114-Status: GOOD ( 12.18 )
-X-BeenThere: linux-arm-kernel@lists.infradead.org
-X-Mailman-Version: 2.1.21
-Precedence: list
-List-Id: <linux-arm-kernel.lists.infradead.org>
-List-Unsubscribe:
- <http://lists.infradead.org/mailman/options/linux-arm-kernel>,
- <mailto:linux-arm-kernel-request@lists.infradead.org?subject=unsubscribe>
-List-Archive: <http://lists.infradead.org/pipermail/linux-arm-kernel/>
-List-Post: <mailto:linux-arm-kernel@lists.infradead.org>
-List-Help: <mailto:linux-arm-kernel-request@lists.infradead.org?subject=help>
-List-Subscribe:
- <http://lists.infradead.org/mailman/listinfo/linux-arm-kernel>,
- <mailto:linux-arm-kernel-request@lists.infradead.org?subject=subscribe>
-Cc: devicetree@vger.kernel.org, Rajan Vaja <rajan.vaja@xilinx.com>,
- linux-kernel@vger.kernel.org, Jolly Shah <jollys@xilinx.com>,
- rajanv@xilinx.com, linux-arm-kernel@lists.infradead.org
-Content-Type: text/plain; charset="us-ascii"
-Sender: "linux-arm-kernel" <linux-arm-kernel-bounces@lists.infradead.org>
-Errors-To:
- linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org
-X-Virus-Scanned: ClamAV using ClamSMTP
-
-From: Rajan Vaja <rajan.vaja@xilinx.com>
-
-As of all of child of ZynqMP firmware are platform
-driver, there is no need of init call in firmware
-driver. Earlier clock driver was init method so
-firmware driver had to use init call to make sure
-firmware init is done in early stage.
-
-Signed-off-by: Rajan Vaja <rajan.vaja@xilinx.com>
-Signed-off-by: Jolly Shah <jollys@xilinx.com>
----
- drivers/firmware/xilinx/zynqmp.c | 63 ++++++++++++----------------------------
- 1 file changed, 18 insertions(+), 45 deletions(-)
-
-diff --git a/drivers/firmware/xilinx/zynqmp.c b/drivers/firmware/xilinx/zynqmp.c
-index 7ccedf0..ce6c746 100644
---- a/drivers/firmware/xilinx/zynqmp.c
-+++ b/drivers/firmware/xilinx/zynqmp.c
-@@ -476,50 +476,17 @@ EXPORT_SYMBOL_GPL(zynqmp_pm_get_eemi_ops);
- static int zynqmp_firmware_probe(struct platform_device *pdev)
- {
- struct device *dev = &pdev->dev;
--
-- return of_platform_populate(dev->of_node, NULL, NULL, dev);
--}
--
--static const struct of_device_id zynqmp_firmware_of_match[] = {
-- {.compatible = "xlnx,zynqmp-firmware"},
-- {},
--};
--MODULE_DEVICE_TABLE(of, zynqmp_firmware_of_match);
--
--static struct platform_driver zynqmp_firmware_driver = {
-- .driver = {
-- .name = "zynqmp_firmware",
-- .of_match_table = zynqmp_firmware_of_match,
-- },
-- .probe = zynqmp_firmware_probe,
--};
--module_platform_driver(zynqmp_firmware_driver);
--
--static int __init zynqmp_plat_init(void)
--{
-- int ret;
- struct device_node *np;
-+ int ret;
-
- np = of_find_compatible_node(NULL, NULL, "xlnx,zynqmp");
- if (!np)
- return 0;
- of_node_put(np);
-
-- /*
-- * We're running on a ZynqMP machine,
-- * the zynqmp-firmware node is mandatory.
-- */
-- np = of_find_compatible_node(NULL, NULL, "xlnx,zynqmp-firmware");
-- if (!np) {
-- pr_warn("%s: zynqmp-firmware node not found\n", __func__);
-- return -ENXIO;
-- }
--
-- ret = get_set_conduit_method(np);
-- if (ret) {
-- of_node_put(np);
-+ ret = get_set_conduit_method(dev->of_node);
-+ if (ret)
- return ret;
-- }
-
- /* Check PM API version number */
- zynqmp_pm_get_api_version(&pm_api_version);
-@@ -547,16 +514,22 @@ static int __init zynqmp_plat_init(void)
- pr_info("%s Trustzone version v%d.%d\n", __func__,
- pm_tz_version >> 16, pm_tz_version & 0xFFFF);
-
-- of_node_put(np);
-+ zynqmp_pm_api_debugfs_init();
-
-- return ret;
-+ return of_platform_populate(dev->of_node, NULL, NULL, dev);
- }
--early_initcall(zynqmp_plat_init);
-
--static int zynqmp_firmware_init(void)
--{
-- zynqmp_pm_api_debugfs_init();
-+static const struct of_device_id zynqmp_firmware_of_match[] = {
-+ {.compatible = "xlnx,zynqmp-firmware"},
-+ {},
-+};
-+MODULE_DEVICE_TABLE(of, zynqmp_firmware_of_match);
-
-- return 0;
--}
--device_initcall(zynqmp_firmware_init);
-+static struct platform_driver zynqmp_firmware_driver = {
-+ .driver = {
-+ .name = "zynqmp_firmware",
-+ .of_match_table = zynqmp_firmware_of_match,
-+ },
-+ .probe = zynqmp_firmware_probe,
-+};
-+module_platform_driver(zynqmp_firmware_driver);
diff --git a/arm64-rockchip-add-initial-Rockpro64.patch b/arm64-rockchip-add-initial-Rockpro64.patch
deleted file mode 100644
index 5ccb2e955..000000000
--- a/arm64-rockchip-add-initial-Rockpro64.patch
+++ /dev/null
@@ -1,862 +0,0 @@
-From patchwork Wed Sep 26 06:24:57 2018
-Content-Type: text/plain; charset="utf-8"
-MIME-Version: 1.0
-Content-Transfer-Encoding: 7bit
-X-Patchwork-Submitter: Akash Gajjar <Akash_Gajjar@mentor.com>
-X-Patchwork-Id: 10615319
-Return-Path:
- <linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org>
-Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org
- [172.30.200.125])
- by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 472D715A6
- for <patchwork-linux-arm@patchwork.kernel.org>;
- Wed, 26 Sep 2018 06:28:11 +0000 (UTC)
-Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1])
- by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 32E3C29509
- for <patchwork-linux-arm@patchwork.kernel.org>;
- Wed, 26 Sep 2018 06:28:11 +0000 (UTC)
-Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486)
- id 22E0729725; Wed, 26 Sep 2018 06:28:11 +0000 (UTC)
-X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on
- pdx-wl-mail.web.codeaurora.org
-X-Spam-Level:
-X-Spam-Status: No, score=-2.9 required=2.0 tests=BAYES_00,DKIM_SIGNED,
- DKIM_VALID,MAILING_LIST_MULTI,RCVD_IN_DNSWL_NONE autolearn=unavailable
- version=3.3.1
-Received: from bombadil.infradead.org (bombadil.infradead.org
- [198.137.202.133])
- (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits))
- (No client certificate requested)
- by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 6DA2029509
- for <patchwork-linux-arm@patchwork.kernel.org>;
- Wed, 26 Sep 2018 06:28:07 +0000 (UTC)
-DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed;
- d=lists.infradead.org; s=bombadil.20170209; h=Sender:
- Content-Transfer-Encoding:Content-Type:Cc:List-Subscribe:List-Help:List-Post:
- List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To:
- Message-ID:Date:Subject:To:From:Reply-To:Content-ID:Content-Description:
- Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:
- List-Owner; bh=ddeyiUGvmwlUUw+9+6b4C/EKK7hZfyuXiqxwUJxsL9c=; b=W5ngixHWjBQvJa
- A+8sOKC/eNNvzP9hWMMd1XjlYIlxbqdjCEHokv7m2UTFbuqcHnvGWaf3dF3tCv5rKPYRu+oI5TUmi
- yzvQbYRAOxJ9F1GTL8KRlR2wKDwk9ytfVlxNms7Hgfl7CYfSX7f6Ln72YNbBw/BbwV/VZBt72Fr0G
- 4kJMqoZxeKjTcxj0NaVoEAYpXfJLCpX5AdXUrLIdRsbeN84NALKpd1RgllsdUk3dymUtIhc9rhX1y
- tjMoSWDdcEf0dTxjGtFOXL+vIA8/mF6J/fJx12VSPsT/CrbMM54M/AqBvfmOVgYP8rPk/SZgHGTZV
- uouz21HtNs50aqxpQk5g==;
-Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org)
- by bombadil.infradead.org with esmtp (Exim 4.90_1 #2 (Red Hat Linux))
- id 1g53Iq-0000AF-2i; Wed, 26 Sep 2018 06:28:04 +0000
-Received: from relay1.mentorg.com ([192.94.38.131])
- by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux))
- id 1g53I7-00007i-6r; Wed, 26 Sep 2018 06:27:21 +0000
-Received: from nat-ies.mentorg.com ([192.94.31.2]
- helo=SVR-IES-MBX-04.mgc.mentorg.com)
- by relay1.mentorg.com with esmtps (TLSv1.2:ECDHE-RSA-AES256-SHA384:256)
- id 1g53HN-0006hO-OV from Akash_Gajjar@mentor.com ;
- Tue, 25 Sep 2018 23:26:34 -0700
-Received: from eyas.local (137.202.0.90) by SVR-IES-MBX-04.mgc.mentorg.com
- (139.181.222.4) with Microsoft SMTP Server (TLS) id 15.0.1320.4; Wed, 26 Sep
- 2018 07:26:26 +0100
-From: Akash Gajjar <Akash_Gajjar@mentor.com>
-To: <heiko@sntech.de>
-Subject: [PATCH v3] arm64: dts: rockchip: add initial dts support for
- Rockpro64
-Date: Wed, 26 Sep 2018 11:54:57 +0530
-Message-ID: <1537943105-21247-1-git-send-email-Akash_Gajjar@mentor.com>
-X-Mailer: git-send-email 1.9.1
-In-Reply-To: <Akash_Gajjar@mentor.com>
-References: <Akash_Gajjar@mentor.com>
-MIME-Version: 1.0
-X-Originating-IP: [137.202.0.90]
-X-ClientProxiedBy: SVR-IES-MBX-07.mgc.mentorg.com (139.181.222.7) To
- SVR-IES-MBX-04.mgc.mentorg.com (139.181.222.4)
-X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3
-X-CRM114-CacheID: sfid-20180925_232719_296426_D3C01020
-X-CRM114-Status: GOOD ( 21.87 )
-X-BeenThere: linux-arm-kernel@lists.infradead.org
-X-Mailman-Version: 2.1.21
-Precedence: list
-List-Id: <linux-arm-kernel.lists.infradead.org>
-List-Unsubscribe:
- <http://lists.infradead.org/mailman/options/linux-arm-kernel>,
- <mailto:linux-arm-kernel-request@lists.infradead.org?subject=unsubscribe>
-List-Archive: <http://lists.infradead.org/pipermail/linux-arm-kernel/>
-List-Post: <mailto:linux-arm-kernel@lists.infradead.org>
-List-Help: <mailto:linux-arm-kernel-request@lists.infradead.org?subject=help>
-List-Subscribe:
- <http://lists.infradead.org/mailman/listinfo/linux-arm-kernel>,
- <mailto:linux-arm-kernel-request@lists.infradead.org?subject=subscribe>
-Cc: Mark Rutland <mark.rutland@arm.com>,
- Shohei Maruyama <cheat.sc.linux@outlook.com>, Arnd Bergmann <arnd@arndb.de>,
- devicetree@vger.kernel.org, Greg Kroah-Hartman <gregkh@linuxfoundation.org>,
- Shawn Lin <shawn.lin@rock-chips.com>, linux-kernel@vger.kernel.org,
- Masahiro Yamada <yamada.masahiro@socionext.com>,
- linux-rockchip@lists.infradead.org, Rob Herring <robh+dt@kernel.org>,
- Klaus Goger <klaus.goger@theobroma-systems.com>,
- Philippe Ombredanne <pombredanne@nexb.com>,
- Enric Balletbo i Serra <enric.balletbo@collabora.com>,
- Pragnesh_patel@mentor.com, Deepak_das@mentor.com,
- Levin Du <djw@t-chip.com.cn>,
- Ezequiel Garcia <ezequiel@collabora.com>, Pierre-Hugues Husson <phh@phh.me>,
- linux-arm-kernel@lists.infradead.org
-Content-Type: text/plain; charset="us-ascii"
-Sender: "linux-arm-kernel" <linux-arm-kernel-bounces@lists.infradead.org>
-Errors-To:
- linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org
-X-Virus-Scanned: ClamAV using ClamSMTP
-
-Rockpro64 is a rockchip RK3399 based board from pine64.org.
-This patch adds basic device node support for Rockpro64 board and make it able
-to bring up.
-
-Peripheral Works
-- Sdcard
-- USB 2.0, 3.0
-- Leds
-- Ethernet
-- Debug console
-
-Not working:
-- USB Type-C
-
-Signed-off-by: Akash Gajjar <Akash_Gajjar@mentor.com>
-Acked-by: Deepak Das <Deepak_Das@mentor.com>
----
-changes for v2
-- Added support for usb 2.0, 3.0
-- Added fusb302 node and its regulator support
-- Cleanup pinctrl node
-- Remove backlight, pcie, sound codec node inherited from firefly-rk3399 dts
-changes for v3
-- Added copyright properly
-- Typo correction in commit message
-
- Documentation/devicetree/bindings/arm/rockchip.txt | 4 +
- arch/arm64/boot/dts/rockchip/Makefile | 1 +
- arch/arm64/boot/dts/rockchip/rk3399-rockpro64.dts | 692 +++++++++++++++++++++
- 3 files changed, 697 insertions(+)
- create mode 100644 arch/arm64/boot/dts/rockchip/rk3399-rockpro64.dts
-
-diff --git a/Documentation/devicetree/bindings/arm/rockchip.txt b/Documentation/devicetree/bindings/arm/rockchip.txt
-index acfd3c7..ac95183 100644
---- a/Documentation/devicetree/bindings/arm/rockchip.txt
-+++ b/Documentation/devicetree/bindings/arm/rockchip.txt
-@@ -160,6 +160,10 @@ Rockchip platforms device tree bindings
- Required root node properties:
- - compatible = "pine64,rock64", "rockchip,rk3328";
-
-+- Pine64 RockPro64 board:
-+ Required root node properties:
-+ - compatible = "pine64,rockpro64", "rockchip,rk3399";
-+
- - Rockchip PX3 Evaluation board:
- Required root node properties:
- - compatible = "rockchip,px3-evb", "rockchip,px3", "rockchip,rk3188";
-diff --git a/arch/arm64/boot/dts/rockchip/Makefile b/arch/arm64/boot/dts/rockchip/Makefile
-index b0092d9..03d523a 100644
---- a/arch/arm64/boot/dts/rockchip/Makefile
-+++ b/arch/arm64/boot/dts/rockchip/Makefile
-@@ -15,5 +15,6 @@
- dtb-$(CONFIG_ARCH_ROCKCHIP) += rk3399-gru-kevin.dtb
- dtb-$(CONFIG_ARCH_ROCKCHIP) += rk3399-puma-haikou.dtb
- dtb-$(CONFIG_ARCH_ROCKCHIP) += rk3399-rock960.dtb
-+dtb-$(CONFIG_ARCH_ROCKCHIP) += rk3399-rockpro64.dtb
- dtb-$(CONFIG_ARCH_ROCKCHIP) += rk3399-sapphire.dtb
- dtb-$(CONFIG_ARCH_ROCKCHIP) += rk3399-sapphire-excavator.dtb
-diff --git a/arch/arm64/boot/dts/rockchip/rk3399-rockpro64.dts b/arch/arm64/boot/dts/rockchip/rk3399-rockpro64.dts
-new file mode 100644
-index 0000000..1d35f54
---- /dev/null
-+++ b/arch/arm64/boot/dts/rockchip/rk3399-rockpro64.dts
-@@ -0,0 +1,692 @@
-+// SPDX-License-Identifier: (GPL-2.0+ OR MIT)
-+/*
-+ * Copyright (c) 2017 Fuzhou Rockchip Electronics Co., Ltd.
-+ * Copyright (c) 2018 Akash Gajjar <Akash_Gajjar@mentor.com>
-+ */
-+
-+/dts-v1/;
-+#include <dt-bindings/input/linux-event-codes.h>
-+#include <dt-bindings/pwm/pwm.h>
-+#include "rk3399.dtsi"
-+#include "rk3399-opp.dtsi"
-+
-+/ {
-+ model = "Pine64 RockPro64";
-+ compatible = "pine64,rockpro64", "rockchip,rk3399";
-+
-+ chosen {
-+ stdout-path = "serial2:1500000n8";
-+ };
-+
-+ clkin_gmac: external-gmac-clock {
-+ compatible = "fixed-clock";
-+ clock-frequency = <125000000>;
-+ clock-output-names = "clkin_gmac";
-+ #clock-cells = <0>;
-+ };
-+
-+ dc_12v: dc-12v {
-+ compatible = "regulator-fixed";
-+ regulator-name = "dc_12v";
-+ regulator-always-on;
-+ regulator-boot-on;
-+ regulator-min-microvolt = <12000000>;
-+ regulator-max-microvolt = <12000000>;
-+ };
-+
-+ gpio-keys {
-+ compatible = "gpio-keys";
-+ autorepeat;
-+ pinctrl-names = "default";
-+ pinctrl-0 = <&pwrbtn>;
-+
-+ power {
-+ debounce-interval = <100>;
-+ gpios = <&gpio0 RK_PA5 GPIO_ACTIVE_LOW>;
-+ label = "GPIO Key Power";
-+ linux,code = <KEY_POWER>;
-+ wakeup-source;
-+ };
-+ };
-+
-+ leds {
-+ compatible = "gpio-leds";
-+ pinctrl-names = "default";
-+ pinctrl-0 = <&work_led_gpio>, <&diy_led_gpio>;
-+
-+ work-led {
-+ label = "work";
-+ default-state = "on";
-+ gpios = <&gpio0 RK_PB3 GPIO_ACTIVE_HIGH>;
-+ };
-+
-+ diy-led {
-+ label = "diy";
-+ default-state = "off";
-+ gpios = <&gpio0 RK_PA2 GPIO_ACTIVE_HIGH>;
-+ };
-+ };
-+
-+ sdio_pwrseq: sdio-pwrseq {
-+ compatible = "mmc-pwrseq-simple";
-+ clocks = <&rk808 1>;
-+ clock-names = "ext_clock";
-+ pinctrl-names = "default";
-+ pinctrl-0 = <&wifi_enable_h>;
-+
-+ /*
-+ * On the module itself this is one of these (depending
-+ * on the actual card populated):
-+ * - SDIO_RESET_L_WL_REG_ON
-+ * - PDN (power down when low)
-+ */
-+ reset-gpios = <&gpio0 RK_PB2 GPIO_ACTIVE_LOW>;
-+ };
-+
-+ /* switched by pmic_sleep */
-+ vcc1v8_s3: vcca1v8_s3: vcc1v8-s3 {
-+ compatible = "regulator-fixed";
-+ regulator-name = "vcc1v8_s3";
-+ regulator-always-on;
-+ regulator-boot-on;
-+ regulator-min-microvolt = <1800000>;
-+ regulator-max-microvolt = <1800000>;
-+ vin-supply = <&vcc_1v8>;
-+ };
-+
-+ vcc3v3_pcie: vcc3v3-pcie-regulator {
-+ compatible = "regulator-fixed";
-+ enable-active-high;
-+ gpio = <&gpio1 RK_PC1 GPIO_ACTIVE_HIGH>;
-+ pinctrl-names = "default";
-+ pinctrl-0 = <&pcie_pwr_en>;
-+ regulator-name = "vcc3v3_pcie";
-+ regulator-always-on;
-+ regulator-boot-on;
-+ vin-supply = <&dc_12v>;
-+ };
-+
-+ vcc3v3_sys: vcc3v3-sys {
-+ compatible = "regulator-fixed";
-+ regulator-name = "vcc3v3_sys";
-+ regulator-always-on;
-+ regulator-boot-on;
-+ regulator-min-microvolt = <3300000>;
-+ regulator-max-microvolt = <3300000>;
-+ vin-supply = <&vcc_sys>;
-+ };
-+
-+ /* Actually 3 regulators (host0, 1, 2) controlled by the same gpio */
-+ vcc5v0_host: vcc5v0-host-regulator {
-+ compatible = "regulator-fixed";
-+ enable-active-high;
-+ gpio = <&gpio4 RK_PD2 GPIO_ACTIVE_HIGH>;
-+ pinctrl-names = "default";
-+ pinctrl-0 = <&vcc5v0_host_en>;
-+ regulator-name = "vcc5v0_host";
-+ regulator-always-on;
-+ vin-supply = <&vcc_sys>;
-+ };
-+
-+ vcc5v0_typec: vcc5v0-typec-regulator {
-+ compatible = "regulator-fixed";
-+ enable-active-high;
-+ gpio = <&gpio1 RK_PA3 GPIO_ACTIVE_HIGH>;
-+ pinctrl-names = "default";
-+ pinctrl-0 = <&vcc5v0_typec_en>;
-+ regulator-name = "vcc5v0_typec";
-+ regulator-always-on;
-+ vin-supply = <&vcc_sys>;
-+ };
-+
-+ vcc_sys: vcc-sys {
-+ compatible = "regulator-fixed";
-+ regulator-name = "vcc_sys";
-+ regulator-always-on;
-+ regulator-boot-on;
-+ regulator-min-microvolt = <5000000>;
-+ regulator-max-microvolt = <5000000>;
-+ vin-supply = <&dc_12v>;
-+ };
-+
-+ vdd_log: vdd-log {
-+ compatible = "pwm-regulator";
-+ pwms = <&pwm2 0 25000 1>;
-+ regulator-name = "vdd_log";
-+ regulator-always-on;
-+ regulator-boot-on;
-+ regulator-min-microvolt = <800000>;
-+ regulator-max-microvolt = <1400000>;
-+ vin-supply = <&vcc_sys>;
-+ };
-+};
-+
-+&cpu_l0 {
-+ cpu-supply = <&vdd_cpu_l>;
-+};
-+
-+&cpu_l1 {
-+ cpu-supply = <&vdd_cpu_l>;
-+};
-+
-+&cpu_l2 {
-+ cpu-supply = <&vdd_cpu_l>;
-+};
-+
-+&cpu_l3 {
-+ cpu-supply = <&vdd_cpu_l>;
-+};
-+
-+&cpu_b0 {
-+ cpu-supply = <&vdd_cpu_b>;
-+};
-+
-+&cpu_b1 {
-+ cpu-supply = <&vdd_cpu_b>;
-+};
-+
-+&emmc_phy {
-+ status = "okay";
-+};
-+
-+&gmac {
-+ assigned-clocks = <&cru SCLK_RMII_SRC>;
-+ assigned-clock-parents = <&clkin_gmac>;
-+ clock_in_out = "input";
-+ phy-supply = <&vcc_lan>;
-+ phy-mode = "rgmii";
-+ pinctrl-names = "default";
-+ pinctrl-0 = <&rgmii_pins>;
-+ snps,reset-gpio = <&gpio3 RK_PB7 GPIO_ACTIVE_LOW>;
-+ snps,reset-active-low;
-+ snps,reset-delays-us = <0 10000 50000>;
-+ tx_delay = <0x28>;
-+ rx_delay = <0x11>;
-+ status = "okay";
-+};
-+
-+&i2c0 {
-+ clock-frequency = <400000>;
-+ i2c-scl-rising-time-ns = <168>;
-+ i2c-scl-falling-time-ns = <4>;
-+ status = "okay";
-+
-+ rk808: pmic@1b {
-+ compatible = "rockchip,rk808";
-+ reg = <0x1b>;
-+ interrupt-parent = <&gpio1>;
-+ interrupts = <21 IRQ_TYPE_LEVEL_LOW>;
-+ #clock-cells = <1>;
-+ clock-output-names = "xin32k", "rk808-clkout2";
-+ pinctrl-names = "default";
-+ pinctrl-0 = <&pmic_int_l>;
-+ rockchip,system-power-controller;
-+ wakeup-source;
-+
-+ vcc1-supply = <&vcc_sys>;
-+ vcc2-supply = <&vcc_sys>;
-+ vcc3-supply = <&vcc_sys>;
-+ vcc4-supply = <&vcc_sys>;
-+ vcc6-supply = <&vcc_sys>;
-+ vcc7-supply = <&vcc_sys>;
-+ vcc8-supply = <&vcc3v3_sys>;
-+ vcc9-supply = <&vcc_sys>;
-+ vcc10-supply = <&vcc_sys>;
-+ vcc11-supply = <&vcc_sys>;
-+ vcc12-supply = <&vcc3v3_sys>;
-+ vddio-supply = <&vcc1v8_pmu>;
-+
-+ regulators {
-+ vdd_center: DCDC_REG1 {
-+ regulator-name = "vdd_center";
-+ regulator-always-on;
-+ regulator-boot-on;
-+ regulator-min-microvolt = <750000>;
-+ regulator-max-microvolt = <1350000>;
-+ regulator-ramp-delay = <6001>;
-+ regulator-state-mem {
-+ regulator-off-in-suspend;
-+ };
-+ };
-+
-+ vdd_cpu_l: DCDC_REG2 {
-+ regulator-name = "vdd_cpu_l";
-+ regulator-always-on;
-+ regulator-boot-on;
-+ regulator-min-microvolt = <750000>;
-+ regulator-max-microvolt = <1350000>;
-+ regulator-ramp-delay = <6001>;
-+ regulator-state-mem {
-+ regulator-off-in-suspend;
-+ };
-+ };
-+
-+ vcc_ddr: DCDC_REG3 {
-+ regulator-name = "vcc_ddr";
-+ regulator-always-on;
-+ regulator-boot-on;
-+ regulator-state-mem {
-+ regulator-on-in-suspend;
-+ };
-+ };
-+
-+ vcc_1v8: DCDC_REG4 {
-+ regulator-name = "vcc_1v8";
-+ regulator-always-on;
-+ regulator-boot-on;
-+ regulator-min-microvolt = <1800000>;
-+ regulator-max-microvolt = <1800000>;
-+ regulator-state-mem {
-+ regulator-on-in-suspend;
-+ regulator-suspend-microvolt = <1800000>;
-+ };
-+ };
-+
-+ vcc1v8_dvp: LDO_REG1 {
-+ regulator-name = "vcc1v8_dvp";
-+ regulator-always-on;
-+ regulator-boot-on;
-+ regulator-min-microvolt = <1800000>;
-+ regulator-max-microvolt = <1800000>;
-+ regulator-state-mem {
-+ regulator-off-in-suspend;
-+ };
-+ };
-+
-+ vcc2v8_dvp: LDO_REG2 {
-+ regulator-name = "vcc2v8_dvp";
-+ regulator-always-on;
-+ regulator-boot-on;
-+ regulator-min-microvolt = <2800000>;
-+ regulator-max-microvolt = <2800000>;
-+ regulator-state-mem {
-+ regulator-off-in-suspend;
-+ };
-+ };
-+
-+ vcc1v8_pmu: LDO_REG3 {
-+ regulator-name = "vcc1v8_pmu";
-+ regulator-always-on;
-+ regulator-boot-on;
-+ regulator-min-microvolt = <1800000>;
-+ regulator-max-microvolt = <1800000>;
-+ regulator-state-mem {
-+ regulator-on-in-suspend;
-+ regulator-suspend-microvolt = <1800000>;
-+ };
-+ };
-+
-+ vcc_sdio: LDO_REG4 {
-+ regulator-name = "vcc_sdio";
-+ regulator-always-on;
-+ regulator-boot-on;
-+ regulator-min-microvolt = <1800000>;
-+ regulator-max-microvolt = <3000000>;
-+ regulator-state-mem {
-+ regulator-on-in-suspend;
-+ regulator-suspend-microvolt = <3000000>;
-+ };
-+ };
-+
-+ vcca3v0_codec: LDO_REG5 {
-+ regulator-name = "vcca3v0_codec";
-+ regulator-always-on;
-+ regulator-boot-on;
-+ regulator-min-microvolt = <3000000>;
-+ regulator-max-microvolt = <3000000>;
-+ regulator-state-mem {
-+ regulator-off-in-suspend;
-+ };
-+ };
-+
-+ vcc_1v5: LDO_REG6 {
-+ regulator-name = "vcc_1v5";
-+ regulator-always-on;
-+ regulator-boot-on;
-+ regulator-min-microvolt = <1500000>;
-+ regulator-max-microvolt = <1500000>;
-+ regulator-state-mem {
-+ regulator-on-in-suspend;
-+ regulator-suspend-microvolt = <1500000>;
-+ };
-+ };
-+
-+ vcca1v8_codec: LDO_REG7 {
-+ regulator-name = "vcca1v8_codec";
-+ regulator-always-on;
-+ regulator-boot-on;
-+ regulator-min-microvolt = <1800000>;
-+ regulator-max-microvolt = <1800000>;
-+ regulator-state-mem {
-+ regulator-off-in-suspend;
-+ };
-+ };
-+
-+ vcc_3v0: LDO_REG8 {
-+ regulator-name = "vcc_3v0";
-+ regulator-always-on;
-+ regulator-boot-on;
-+ regulator-min-microvolt = <3000000>;
-+ regulator-max-microvolt = <3000000>;
-+ regulator-state-mem {
-+ regulator-on-in-suspend;
-+ regulator-suspend-microvolt = <3000000>;
-+ };
-+ };
-+
-+ vcc3v3_s3: vcc_lan: SWITCH_REG1 {
-+ regulator-name = "vcc3v3_s3";
-+ regulator-always-on;
-+ regulator-boot-on;
-+ regulator-state-mem {
-+ regulator-off-in-suspend;
-+ };
-+ };
-+
-+ vcc3v3_s0: SWITCH_REG2 {
-+ regulator-name = "vcc3v3_s0";
-+ regulator-always-on;
-+ regulator-boot-on;
-+ regulator-state-mem {
-+ regulator-off-in-suspend;
-+ };
-+ };
-+ };
-+ };
-+
-+ vdd_cpu_b: regulator@40 {
-+ compatible = "silergy,syr827";
-+ reg = <0x40>;
-+ fcs,suspend-voltage-selector = <0>;
-+ regulator-name = "vdd_cpu_b";
-+ regulator-min-microvolt = <712500>;
-+ regulator-max-microvolt = <1500000>;
-+ regulator-ramp-delay = <1000>;
-+ regulator-always-on;
-+ regulator-boot-on;
-+ vin-supply = <&vcc_sys>;
-+
-+ regulator-state-mem {
-+ regulator-off-in-suspend;
-+ };
-+ };
-+
-+ vdd_gpu: regulator@41 {
-+ compatible = "silergy,syr828";
-+ reg = <0x41>;
-+ fcs,suspend-voltage-selector = <1>;
-+ regulator-name = "vdd_gpu";
-+ regulator-min-microvolt = <712500>;
-+ regulator-max-microvolt = <1500000>;
-+ regulator-ramp-delay = <1000>;
-+ regulator-always-on;
-+ regulator-boot-on;
-+ vin-supply = <&vcc_sys>;
-+
-+ regulator-state-mem {
-+ regulator-off-in-suspend;
-+ };
-+ };
-+};
-+
-+&i2c1 {
-+ i2c-scl-rising-time-ns = <300>;
-+ i2c-scl-falling-time-ns = <15>;
-+ status = "okay";
-+};
-+
-+&i2c3 {
-+ i2c-scl-rising-time-ns = <450>;
-+ i2c-scl-falling-time-ns = <15>;
-+ status = "okay";
-+};
-+
-+&i2c4 {
-+ i2c-scl-rising-time-ns = <600>;
-+ i2c-scl-falling-time-ns = <20>;
-+ status = "okay";
-+
-+ fusb0: typec-portc@22 {
-+ compatible = "fcs,fusb302";
-+ reg = <0x22>;
-+ interrupt-parent = <&gpio1>;
-+ interrupts = <RK_PA2 IRQ_TYPE_LEVEL_LOW>;
-+ pinctrl-names = "default";
-+ pinctrl-0 = <&fusb0_int>;
-+ vbus-supply = <&vcc5v0_typec>;
-+ status = "okay";
-+ };
-+};
-+
-+&i2s0 {
-+ rockchip,playback-channels = <8>;
-+ rockchip,capture-channels = <8>;
-+ status = "okay";
-+};
-+
-+&i2s1 {
-+ rockchip,playback-channels = <2>;
-+ rockchip,capture-channels = <2>;
-+ status = "okay";
-+};
-+
-+&i2s2 {
-+ status = "okay";
-+};
-+
-+&io_domains {
-+ status = "okay";
-+
-+ bt656-supply = <&vcc1v8_dvp>;
-+ audio-supply = <&vcca1v8_codec>;
-+ sdmmc-supply = <&vcc_sdio>;
-+ gpio1830-supply = <&vcc_3v0>;
-+};
-+
-+&pmu_io_domains {
-+ pmu1830-supply = <&vcc_3v0>;
-+ status = "okay";
-+};
-+
-+&pinctrl {
-+ buttons {
-+ pwrbtn: pwrbtn {
-+ rockchip,pins = <0 RK_PA5 RK_FUNC_GPIO &pcfg_pull_up>;
-+ };
-+ };
-+
-+ fusb302x {
-+ fusb0_int: fusb0-int {
-+ rockchip,pins = <1 RK_PA2 RK_FUNC_GPIO &pcfg_pull_up>;
-+ };
-+ };
-+
-+ leds {
-+ work_led_gpio: work_led-gpio {
-+ rockchip,pins = <0 RK_PB3 RK_FUNC_GPIO &pcfg_pull_none>;
-+ };
-+
-+ diy_led_gpio: diy_led-gpio {
-+ rockchip,pins = <0 RK_PA2 RK_FUNC_GPIO &pcfg_pull_none>;
-+ };
-+ };
-+
-+ lcd-panel {
-+ lcd_panel_reset: lcd-panel-reset {
-+ rockchip,pins = <4 RK_PD6 RK_FUNC_GPIO &pcfg_pull_up>;
-+ };
-+ };
-+
-+ pcie {
-+ pcie_pwr_en: pcie-pwr-en {
-+ rockchip,pins = <1 RK_PC1 RK_FUNC_GPIO &pcfg_pull_none>;
-+ };
-+ };
-+
-+ pmic {
-+ pmic_int_l: pmic-int-l {
-+ rockchip,pins = <1 RK_PC5 RK_FUNC_GPIO &pcfg_pull_up>;
-+ };
-+
-+ vsel1_gpio: vsel1-gpio {
-+ rockchip,pins = <1 RK_PC2 RK_FUNC_GPIO &pcfg_pull_down>;
-+ };
-+
-+ vsel2_gpio: vsel2-gpio {
-+ rockchip,pins = <1 RK_PB6 RK_FUNC_GPIO &pcfg_pull_down>;
-+ };
-+ };
-+
-+ sdio-pwrseq {
-+ wifi_enable_h: wifi-enable-h {
-+ rockchip,pins = <0 RK_PB2 RK_FUNC_GPIO &pcfg_pull_none>;
-+ };
-+ };
-+
-+ usb-typec {
-+ vcc5v0_typec_en: vcc5v0_typec_en {
-+ rockchip,pins = <1 RK_PA3 RK_FUNC_GPIO &pcfg_pull_up>;
-+ };
-+ };
-+
-+ usb2 {
-+ vcc5v0_host_en: vcc5v0-host-en {
-+ rockchip,pins = <4 RK_PD2 RK_FUNC_GPIO &pcfg_pull_none>;
-+ };
-+ };
-+};
-+
-+&pwm0 {
-+ status = "okay";
-+};
-+
-+&pwm2 {
-+ status = "okay";
-+};
-+
-+&saradc {
-+ vref-supply = <&vcca1v8_s3>;
-+ status = "okay";
-+};
-+
-+&sdmmc {
-+ bus-width = <4>;
-+ cap-mmc-highspeed;
-+ cap-sd-highspeed;
-+ cd-gpios = <&gpio0 7 GPIO_ACTIVE_LOW>;
-+ disable-wp;
-+ max-frequency = <150000000>;
-+ pinctrl-names = "default";
-+ pinctrl-0 = <&sdmmc_clk &sdmmc_cmd &sdmmc_bus4>;
-+ status = "okay";
-+};
-+
-+&sdhci {
-+ bus-width = <8>;
-+ mmc-hs400-1_8v;
-+ mmc-hs400-enhanced-strobe;
-+ non-removable;
-+ status = "okay";
-+};
-+
-+&tcphy0 {
-+ status = "okay";
-+};
-+
-+&tcphy1 {
-+ status = "okay";
-+};
-+
-+&tsadc {
-+ /* tshut mode 0:CRU 1:GPIO */
-+ rockchip,hw-tshut-mode = <1>;
-+ /* tshut polarity 0:LOW 1:HIGH */
-+ rockchip,hw-tshut-polarity = <1>;
-+ status = "okay";
-+};
-+
-+&u2phy0 {
-+ status = "okay";
-+
-+ u2phy0_otg: otg-port {
-+ status = "okay";
-+ };
-+
-+ u2phy0_host: host-port {
-+ phy-supply = <&vcc5v0_host>;
-+ status = "okay";
-+ };
-+};
-+
-+&u2phy1 {
-+ status = "okay";
-+
-+ u2phy1_otg: otg-port {
-+ status = "okay";
-+ };
-+
-+ u2phy1_host: host-port {
-+ phy-supply = <&vcc5v0_host>;
-+ status = "okay";
-+ };
-+};
-+
-+&uart0 {
-+ pinctrl-names = "default";
-+ pinctrl-0 = <&uart0_xfer &uart0_cts>;
-+ status = "okay";
-+};
-+
-+&uart2 {
-+ status = "okay";
-+};
-+
-+&usb_host0_ehci {
-+ status = "okay";
-+};
-+
-+&usb_host0_ohci {
-+ status = "okay";
-+};
-+
-+&usb_host1_ehci {
-+ status = "okay";
-+};
-+
-+&usb_host1_ohci {
-+ status = "okay";
-+};
-+
-+&usbdrd3_0 {
-+ status = "okay";
-+};
-+
-+&usbdrd_dwc3_0 {
-+ status = "okay";
-+ dr_mode = "otg";
-+};
-+
-+&usbdrd3_1 {
-+ status = "okay";
-+};
-+
-+&usbdrd_dwc3_1 {
-+ status = "okay";
-+ dr_mode = "host";
-+};
-+
-+&vopb {
-+ status = "okay";
-+};
-+
-+&vopb_mmu {
-+ status = "okay";
-+};
-+
-+&vopl {
-+ status = "okay";
-+};
-+
-+&vopl_mmu {
-+ status = "okay";
-+};
diff --git a/configs/fedora/generic/CONFIG_ADXL372_I2C b/configs/fedora/generic/CONFIG_ADXL372_I2C
new file mode 100644
index 000000000..0944246ac
--- /dev/null
+++ b/configs/fedora/generic/CONFIG_ADXL372_I2C
@@ -0,0 +1 @@
+CONFIG_ADXL372_I2C=m
diff --git a/configs/fedora/generic/CONFIG_ADXL372_SPI b/configs/fedora/generic/CONFIG_ADXL372_SPI
new file mode 100644
index 000000000..f38da0660
--- /dev/null
+++ b/configs/fedora/generic/CONFIG_ADXL372_SPI
@@ -0,0 +1 @@
+CONFIG_ADXL372_SPI=m
diff --git a/configs/fedora/generic/CONFIG_LTC1660 b/configs/fedora/generic/CONFIG_LTC1660
new file mode 100644
index 000000000..e9ca00da8
--- /dev/null
+++ b/configs/fedora/generic/CONFIG_LTC1660
@@ -0,0 +1 @@
+CONFIG_LTC1660=m
diff --git a/configs/fedora/generic/CONFIG_MCP3911 b/configs/fedora/generic/CONFIG_MCP3911
new file mode 100644
index 000000000..fd3466b20
--- /dev/null
+++ b/configs/fedora/generic/CONFIG_MCP3911
@@ -0,0 +1 @@
+CONFIG_MCP3911=m
diff --git a/configs/fedora/generic/CONFIG_VL53L0X_I2C b/configs/fedora/generic/CONFIG_VL53L0X_I2C
new file mode 100644
index 000000000..2ee7f58bb
--- /dev/null
+++ b/configs/fedora/generic/CONFIG_VL53L0X_I2C
@@ -0,0 +1 @@
+# CONFIG_VL53L0X_I2C is not set
diff --git a/configs/fedora/generic/arm/CONFIG_MESON_CANVAS b/configs/fedora/generic/arm/CONFIG_MESON_CANVAS
new file mode 100644
index 000000000..72094e634
--- /dev/null
+++ b/configs/fedora/generic/arm/CONFIG_MESON_CANVAS
@@ -0,0 +1 @@
+CONFIG_MESON_CANVAS=m
diff --git a/configs/fedora/generic/arm/CONFIG_QCOM_Q6V5_ADSP b/configs/fedora/generic/arm/CONFIG_QCOM_Q6V5_ADSP
new file mode 100644
index 000000000..733875850
--- /dev/null
+++ b/configs/fedora/generic/arm/CONFIG_QCOM_Q6V5_ADSP
@@ -0,0 +1 @@
+CONFIG_QCOM_Q6V5_ADSP=m
diff --git a/configs/fedora/generic/arm/CONFIG_QCOM_Q6V5_MSS b/configs/fedora/generic/arm/CONFIG_QCOM_Q6V5_MSS
new file mode 100644
index 000000000..6074483d8
--- /dev/null
+++ b/configs/fedora/generic/arm/CONFIG_QCOM_Q6V5_MSS
@@ -0,0 +1 @@
+CONFIG_QCOM_Q6V5_MSS=m
diff --git a/configs/fedora/generic/arm/CONFIG_QCOM_Q6V5_PAS b/configs/fedora/generic/arm/CONFIG_QCOM_Q6V5_PAS
new file mode 100644
index 000000000..8a33aa23f
--- /dev/null
+++ b/configs/fedora/generic/arm/CONFIG_QCOM_Q6V5_PAS
@@ -0,0 +1 @@
+CONFIG_QCOM_Q6V5_PAS=m
diff --git a/configs/fedora/generic/arm/CONFIG_QCOM_SPMI_ADC5 b/configs/fedora/generic/arm/CONFIG_QCOM_SPMI_ADC5
new file mode 100644
index 000000000..48a201cde
--- /dev/null
+++ b/configs/fedora/generic/arm/CONFIG_QCOM_SPMI_ADC5
@@ -0,0 +1 @@
+CONFIG_QCOM_SPMI_ADC5=m
diff --git a/configs/fedora/generic/arm/CONFIG_RESET_QCOM_PDC b/configs/fedora/generic/arm/CONFIG_RESET_QCOM_PDC
new file mode 100644
index 000000000..b995137a0
--- /dev/null
+++ b/configs/fedora/generic/arm/CONFIG_RESET_QCOM_PDC
@@ -0,0 +1 @@
+CONFIG_RESET_QCOM_PDC=m
diff --git a/configs/fedora/generic/arm/CONFIG_VIDEO_IMX_PXP b/configs/fedora/generic/arm/CONFIG_VIDEO_IMX_PXP
new file mode 100644
index 000000000..6b98c7c3f
--- /dev/null
+++ b/configs/fedora/generic/arm/CONFIG_VIDEO_IMX_PXP
@@ -0,0 +1 @@
+CONFIG_VIDEO_IMX_PXP=m
diff --git a/configs/fedora/generic/arm/armv7/CONFIG_IMX_SCU b/configs/fedora/generic/arm/armv7/CONFIG_IMX_SCU
new file mode 100644
index 000000000..f044bdbb0
--- /dev/null
+++ b/configs/fedora/generic/arm/armv7/CONFIG_IMX_SCU
@@ -0,0 +1 @@
+CONFIG_IMX_SCU=y
diff --git a/gitrev b/gitrev
index 7e28936b4..9e89def85 100644
--- a/gitrev
+++ b/gitrev
@@ -1 +1 @@
-673c790e72822ee433931ea701e4fceef75a0eac
+11743c56785c751c087eecdb98713eef796609e0
diff --git a/kernel-aarch64-debug.config b/kernel-aarch64-debug.config
index 23f34cdb8..a11057863 100644
--- a/kernel-aarch64-debug.config
+++ b/kernel-aarch64-debug.config
@@ -147,6 +147,8 @@ CONFIG_ADAPTEC_STARFIRE=m
# CONFIG_ADVANTECH_WDT is not set
# CONFIG_ADXL345_I2C is not set
# CONFIG_ADXL345_SPI is not set
+CONFIG_ADXL372_I2C=m
+CONFIG_ADXL372_SPI=m
# CONFIG_ADXRS450 is not set
# CONFIG_AFE4403 is not set
# CONFIG_AFE4404 is not set
@@ -3118,6 +3120,7 @@ CONFIG_LPFC_NVME_INITIATOR=y
CONFIG_LPFC_NVME_TARGET=y
CONFIG_LSI_ET1011C_PHY=m
CONFIG_LSM_MMAP_MIN_ADDR=65536
+CONFIG_LTC1660=m
# CONFIG_LTC2471 is not set
# CONFIG_LTC2485 is not set
# CONFIG_LTC2497 is not set
@@ -3192,6 +3195,7 @@ CONFIG_MAXSMP=y
# CONFIG_MCORE2 is not set
# CONFIG_MCP320X is not set
# CONFIG_MCP3422 is not set
+CONFIG_MCP3911=m
CONFIG_MCP4018=m
# CONFIG_MCP4131 is not set
# CONFIG_MCP4531 is not set
@@ -3264,6 +3268,7 @@ CONFIG_MEMSTICK_TIFM_MS=m
# CONFIG_MEMSTICK_UNSAFE_RESUME is not set
# CONFIG_MEMTEST is not set
# CONFIG_MEN_A21_WDT is not set
+CONFIG_MESON_CANVAS=m
CONFIG_MESON_EFUSE=m
CONFIG_MESON_GXBB_WATCHDOG=m
CONFIG_MESON_GXL_PHY=m
@@ -4689,6 +4694,9 @@ CONFIG_QCOM_L2_PMU=y
CONFIG_QCOM_L3_PMU=y
# CONFIG_QCOM_LLCC is not set
CONFIG_QCOM_PDC=y
+CONFIG_QCOM_Q6V5_ADSP=m
+CONFIG_QCOM_Q6V5_MSS=m
+CONFIG_QCOM_Q6V5_PAS=m
CONFIG_QCOM_Q6V5_PIL=m
# CONFIG_QCOM_Q6V5_WCSS is not set
CONFIG_QCOM_QDF2400_ERRATUM_0065=y
@@ -4700,6 +4708,7 @@ CONFIG_QCOM_SMD_RPM=m
CONFIG_QCOM_SMEM=m
CONFIG_QCOM_SMP2P=m
CONFIG_QCOM_SMSM=m
+CONFIG_QCOM_SPMI_ADC5=m
CONFIG_QCOM_SPMI_IADC=m
CONFIG_QCOM_SPMI_TEMP_ALARM=m
CONFIG_QCOM_SPMI_VADC=m
@@ -4885,6 +4894,7 @@ CONFIG_RESET_HISI=y
# CONFIG_RESET_HSDK_V1 is not set
# CONFIG_RESET_MESON_AUDIO_ARB is not set
# CONFIG_RESET_QCOM_AOSS is not set
+CONFIG_RESET_QCOM_PDC=m
CONFIG_RESET_SIMPLE=y
# CONFIG_RESET_TI_SCI is not set
# CONFIG_RESET_TI_SYSCON is not set
@@ -6952,6 +6962,7 @@ CONFIG_VIDEO_GO7007_USB_S2250_BOARD=m
CONFIG_VIDEO_HDPVR=m
CONFIG_VIDEO_HEXIUM_GEMINI=m
CONFIG_VIDEO_HEXIUM_ORION=m
+CONFIG_VIDEO_IMX_PXP=m
# CONFIG_VIDEO_IVTV_ALSA is not set
# CONFIG_VIDEO_IVTV_DEPRECATED_IOCTLS is not set
CONFIG_VIDEO_IVTV=m
@@ -7023,6 +7034,7 @@ CONFIG_VIRTIO_VSOCKETS=m
CONFIG_VIRTIO=y
CONFIG_VIRTUALIZATION=y
CONFIG_VITESSE_PHY=m
+# CONFIG_VL53L0X_I2C is not set
CONFIG_VL6180=m
CONFIG_VLAN_8021Q_GVRP=y
CONFIG_VLAN_8021Q=m
diff --git a/kernel-aarch64.config b/kernel-aarch64.config
index 902f3c892..019e4ca01 100644
--- a/kernel-aarch64.config
+++ b/kernel-aarch64.config
@@ -147,6 +147,8 @@ CONFIG_ADAPTEC_STARFIRE=m
# CONFIG_ADVANTECH_WDT is not set
# CONFIG_ADXL345_I2C is not set
# CONFIG_ADXL345_SPI is not set
+CONFIG_ADXL372_I2C=m
+CONFIG_ADXL372_SPI=m
# CONFIG_ADXRS450 is not set
# CONFIG_AFE4403 is not set
# CONFIG_AFE4404 is not set
@@ -3098,6 +3100,7 @@ CONFIG_LPFC_NVME_INITIATOR=y
CONFIG_LPFC_NVME_TARGET=y
CONFIG_LSI_ET1011C_PHY=m
CONFIG_LSM_MMAP_MIN_ADDR=65536
+CONFIG_LTC1660=m
# CONFIG_LTC2471 is not set
# CONFIG_LTC2485 is not set
# CONFIG_LTC2497 is not set
@@ -3171,6 +3174,7 @@ CONFIG_MAX_RAW_DEVS=8192
# CONFIG_MCORE2 is not set
# CONFIG_MCP320X is not set
# CONFIG_MCP3422 is not set
+CONFIG_MCP3911=m
CONFIG_MCP4018=m
# CONFIG_MCP4131 is not set
# CONFIG_MCP4531 is not set
@@ -3243,6 +3247,7 @@ CONFIG_MEMSTICK_TIFM_MS=m
# CONFIG_MEMSTICK_UNSAFE_RESUME is not set
# CONFIG_MEMTEST is not set
# CONFIG_MEN_A21_WDT is not set
+CONFIG_MESON_CANVAS=m
CONFIG_MESON_EFUSE=m
CONFIG_MESON_GXBB_WATCHDOG=m
CONFIG_MESON_GXL_PHY=m
@@ -4666,6 +4671,9 @@ CONFIG_QCOM_L2_PMU=y
CONFIG_QCOM_L3_PMU=y
# CONFIG_QCOM_LLCC is not set
CONFIG_QCOM_PDC=y
+CONFIG_QCOM_Q6V5_ADSP=m
+CONFIG_QCOM_Q6V5_MSS=m
+CONFIG_QCOM_Q6V5_PAS=m
CONFIG_QCOM_Q6V5_PIL=m
# CONFIG_QCOM_Q6V5_WCSS is not set
CONFIG_QCOM_QDF2400_ERRATUM_0065=y
@@ -4677,6 +4685,7 @@ CONFIG_QCOM_SMD_RPM=m
CONFIG_QCOM_SMEM=m
CONFIG_QCOM_SMP2P=m
CONFIG_QCOM_SMSM=m
+CONFIG_QCOM_SPMI_ADC5=m
CONFIG_QCOM_SPMI_IADC=m
CONFIG_QCOM_SPMI_TEMP_ALARM=m
CONFIG_QCOM_SPMI_VADC=m
@@ -4862,6 +4871,7 @@ CONFIG_RESET_HISI=y
# CONFIG_RESET_HSDK_V1 is not set
# CONFIG_RESET_MESON_AUDIO_ARB is not set
# CONFIG_RESET_QCOM_AOSS is not set
+CONFIG_RESET_QCOM_PDC=m
CONFIG_RESET_SIMPLE=y
# CONFIG_RESET_TI_SCI is not set
# CONFIG_RESET_TI_SYSCON is not set
@@ -6928,6 +6938,7 @@ CONFIG_VIDEO_GO7007_USB_S2250_BOARD=m
CONFIG_VIDEO_HDPVR=m
CONFIG_VIDEO_HEXIUM_GEMINI=m
CONFIG_VIDEO_HEXIUM_ORION=m
+CONFIG_VIDEO_IMX_PXP=m
# CONFIG_VIDEO_IVTV_ALSA is not set
# CONFIG_VIDEO_IVTV_DEPRECATED_IOCTLS is not set
CONFIG_VIDEO_IVTV=m
@@ -6999,6 +7010,7 @@ CONFIG_VIRTIO_VSOCKETS=m
CONFIG_VIRTIO=y
CONFIG_VIRTUALIZATION=y
CONFIG_VITESSE_PHY=m
+# CONFIG_VL53L0X_I2C is not set
CONFIG_VL6180=m
CONFIG_VLAN_8021Q_GVRP=y
CONFIG_VLAN_8021Q=m
diff --git a/kernel-armv7hl-debug.config b/kernel-armv7hl-debug.config
index d140e0a8f..bad80c197 100644
--- a/kernel-armv7hl-debug.config
+++ b/kernel-armv7hl-debug.config
@@ -120,6 +120,8 @@ CONFIG_ADAPTEC_STARFIRE=m
# CONFIG_ADVANTECH_WDT is not set
# CONFIG_ADXL345_I2C is not set
# CONFIG_ADXL345_SPI is not set
+CONFIG_ADXL372_I2C=m
+CONFIG_ADXL372_SPI=m
# CONFIG_ADXRS450 is not set
CONFIG_AEABI=y
# CONFIG_AFE4403 is not set
@@ -2541,6 +2543,7 @@ CONFIG_IMX_GPCV2=y
CONFIG_IMX_IPUV3_CORE=m
CONFIG_IMX_MBOX=m
CONFIG_IMX_REMOTEPROC=m
+CONFIG_IMX_SCU=y
CONFIG_IMX_SDMA=m
CONFIG_IMX_THERMAL=m
CONFIG_IMX_WEIM=y
@@ -3263,6 +3266,7 @@ CONFIG_LPFC_NVME_INITIATOR=y
CONFIG_LPFC_NVME_TARGET=y
CONFIG_LSI_ET1011C_PHY=m
CONFIG_LSM_MMAP_MIN_ADDR=32768
+CONFIG_LTC1660=m
# CONFIG_LTC2471 is not set
# CONFIG_LTC2485 is not set
# CONFIG_LTC2497 is not set
@@ -3356,6 +3360,7 @@ CONFIG_MAXSMP=y
# CONFIG_MCORE2 is not set
# CONFIG_MCP320X is not set
# CONFIG_MCP3422 is not set
+CONFIG_MCP3911=m
CONFIG_MCP4018=m
# CONFIG_MCP4131 is not set
# CONFIG_MCP4531 is not set
@@ -3428,6 +3433,7 @@ CONFIG_MEMSTICK_TIFM_MS=m
# CONFIG_MEMSTICK_UNSAFE_RESUME is not set
# CONFIG_MEMTEST is not set
# CONFIG_MEN_A21_WDT is not set
+CONFIG_MESON_CANVAS=m
CONFIG_MESON_EFUSE=m
# CONFIG_MESON_GXBB_WATCHDOG is not set
# CONFIG_MESON_GXL_PHY is not set
@@ -4959,6 +4965,9 @@ CONFIG_QCOM_IOMMU=y
CONFIG_QCOM_PDC=y
CONFIG_QCOM_PM8XXX_XOADC=m
CONFIG_QCOM_PM=y
+CONFIG_QCOM_Q6V5_ADSP=m
+CONFIG_QCOM_Q6V5_MSS=m
+CONFIG_QCOM_Q6V5_PAS=m
CONFIG_QCOM_Q6V5_PIL=m
# CONFIG_QCOM_Q6V5_WCSS is not set
CONFIG_QCOM_QFPROM=m
@@ -4969,6 +4978,7 @@ CONFIG_QCOM_SMD_RPM=m
CONFIG_QCOM_SMEM=m
CONFIG_QCOM_SMP2P=m
CONFIG_QCOM_SMSM=m
+CONFIG_QCOM_SPMI_ADC5=m
CONFIG_QCOM_SPMI_IADC=m
CONFIG_QCOM_SPMI_TEMP_ALARM=m
CONFIG_QCOM_SPMI_VADC=m
@@ -5174,6 +5184,7 @@ CONFIG_RESET_GPIO=y
# CONFIG_RESET_HSDK_V1 is not set
# CONFIG_RESET_MESON_AUDIO_ARB is not set
# CONFIG_RESET_QCOM_AOSS is not set
+CONFIG_RESET_QCOM_PDC=m
CONFIG_RESET_SIMPLE=y
# CONFIG_RESET_TI_SCI is not set
# CONFIG_RESET_TI_SYSCON is not set
@@ -7426,6 +7437,7 @@ CONFIG_VIDEO_HDPVR=m
CONFIG_VIDEO_HEXIUM_GEMINI=m
CONFIG_VIDEO_HEXIUM_ORION=m
# CONFIG_VIDEO_IMX_MEDIA is not set
+CONFIG_VIDEO_IMX_PXP=m
CONFIG_VIDEO_IMX_VDOA=m
# CONFIG_VIDEO_IVTV_ALSA is not set
# CONFIG_VIDEO_IVTV_DEPRECATED_IOCTLS is not set
@@ -7519,6 +7531,7 @@ CONFIG_VIRTIO_VSOCKETS=m
CONFIG_VIRTIO=y
CONFIG_VIRTUALIZATION=y
CONFIG_VITESSE_PHY=m
+# CONFIG_VL53L0X_I2C is not set
CONFIG_VL6180=m
CONFIG_VLAN_8021Q_GVRP=y
CONFIG_VLAN_8021Q=m
diff --git a/kernel-armv7hl-lpae-debug.config b/kernel-armv7hl-lpae-debug.config
index 5a6a1a2f3..1e3b884df 100644
--- a/kernel-armv7hl-lpae-debug.config
+++ b/kernel-armv7hl-lpae-debug.config
@@ -120,6 +120,8 @@ CONFIG_ADAPTEC_STARFIRE=m
# CONFIG_ADVANTECH_WDT is not set
# CONFIG_ADXL345_I2C is not set
# CONFIG_ADXL345_SPI is not set
+CONFIG_ADXL372_I2C=m
+CONFIG_ADXL372_SPI=m
# CONFIG_ADXRS450 is not set
CONFIG_AEABI=y
# CONFIG_AFE4403 is not set
@@ -2420,6 +2422,7 @@ CONFIG_IMA=y
# CONFIG_IMG_ASCII_LCD is not set
# CONFIG_IMX_IPUV3_CORE is not set
CONFIG_IMX_MBOX=m
+CONFIG_IMX_SCU=y
# CONFIG_INA2XX_ADC is not set
CONFIG_INET6_AH=m
CONFIG_INET6_ESP=m
@@ -3123,6 +3126,7 @@ CONFIG_LPFC_NVME_INITIATOR=y
CONFIG_LPFC_NVME_TARGET=y
CONFIG_LSI_ET1011C_PHY=m
CONFIG_LSM_MMAP_MIN_ADDR=32768
+CONFIG_LTC1660=m
# CONFIG_LTC2471 is not set
# CONFIG_LTC2485 is not set
# CONFIG_LTC2497 is not set
@@ -3210,6 +3214,7 @@ CONFIG_MAXSMP=y
# CONFIG_MCORE2 is not set
# CONFIG_MCP320X is not set
# CONFIG_MCP3422 is not set
+CONFIG_MCP3911=m
CONFIG_MCP4018=m
# CONFIG_MCP4131 is not set
# CONFIG_MCP4531 is not set
@@ -3280,6 +3285,7 @@ CONFIG_MEMSTICK_TIFM_MS=m
# CONFIG_MEMSTICK_UNSAFE_RESUME is not set
# CONFIG_MEMTEST is not set
# CONFIG_MEN_A21_WDT is not set
+CONFIG_MESON_CANVAS=m
CONFIG_MESON_EFUSE=m
# CONFIG_MESON_GXBB_WATCHDOG is not set
# CONFIG_MESON_GXL_PHY is not set
@@ -4698,10 +4704,14 @@ CONFIG_QCOM_CLK_APCS_MSM8916=m
# CONFIG_QCOM_LLCC is not set
CONFIG_QCOM_PDC=y
CONFIG_QCOM_PM8XXX_XOADC=m
+CONFIG_QCOM_Q6V5_ADSP=m
+CONFIG_QCOM_Q6V5_MSS=m
+CONFIG_QCOM_Q6V5_PAS=m
# CONFIG_QCOM_Q6V5_WCSS is not set
CONFIG_QCOM_RMTFS_MEM=m
# CONFIG_QCOM_RPMH is not set
# CONFIG_QCOM_SCM_DOWNLOAD_MODE_DEFAULT is not set
+CONFIG_QCOM_SPMI_ADC5=m
CONFIG_QCOM_SYSMON=m
CONFIG_QEDE=m
CONFIG_QEDF=m
@@ -4883,6 +4893,7 @@ CONFIG_RESET_GPIO=y
# CONFIG_RESET_HSDK_V1 is not set
# CONFIG_RESET_MESON_AUDIO_ARB is not set
# CONFIG_RESET_QCOM_AOSS is not set
+CONFIG_RESET_QCOM_PDC=m
CONFIG_RESET_SIMPLE=y
# CONFIG_RESET_TI_SCI is not set
# CONFIG_RESET_TI_SYSCON is not set
@@ -6990,6 +7001,7 @@ CONFIG_VIDEO_HDPVR=m
CONFIG_VIDEO_HEXIUM_GEMINI=m
CONFIG_VIDEO_HEXIUM_ORION=m
# CONFIG_VIDEO_IMX_MEDIA is not set
+CONFIG_VIDEO_IMX_PXP=m
# CONFIG_VIDEO_IVTV_ALSA is not set
# CONFIG_VIDEO_IVTV_DEPRECATED_IOCTLS is not set
CONFIG_VIDEO_IVTV=m
@@ -7069,6 +7081,7 @@ CONFIG_VIRTIO_VSOCKETS=m
CONFIG_VIRTIO=y
CONFIG_VIRTUALIZATION=y
CONFIG_VITESSE_PHY=m
+# CONFIG_VL53L0X_I2C is not set
CONFIG_VL6180=m
CONFIG_VLAN_8021Q_GVRP=y
CONFIG_VLAN_8021Q=m
diff --git a/kernel-armv7hl-lpae.config b/kernel-armv7hl-lpae.config
index fdeec2385..4633f7595 100644
--- a/kernel-armv7hl-lpae.config
+++ b/kernel-armv7hl-lpae.config
@@ -120,6 +120,8 @@ CONFIG_ADAPTEC_STARFIRE=m
# CONFIG_ADVANTECH_WDT is not set
# CONFIG_ADXL345_I2C is not set
# CONFIG_ADXL345_SPI is not set
+CONFIG_ADXL372_I2C=m
+CONFIG_ADXL372_SPI=m
# CONFIG_ADXRS450 is not set
CONFIG_AEABI=y
# CONFIG_AFE4403 is not set
@@ -2402,6 +2404,7 @@ CONFIG_IMA=y
# CONFIG_IMG_ASCII_LCD is not set
# CONFIG_IMX_IPUV3_CORE is not set
CONFIG_IMX_MBOX=m
+CONFIG_IMX_SCU=y
# CONFIG_INA2XX_ADC is not set
CONFIG_INET6_AH=m
CONFIG_INET6_ESP=m
@@ -3103,6 +3106,7 @@ CONFIG_LPFC_NVME_INITIATOR=y
CONFIG_LPFC_NVME_TARGET=y
CONFIG_LSI_ET1011C_PHY=m
CONFIG_LSM_MMAP_MIN_ADDR=32768
+CONFIG_LTC1660=m
# CONFIG_LTC2471 is not set
# CONFIG_LTC2485 is not set
# CONFIG_LTC2497 is not set
@@ -3189,6 +3193,7 @@ CONFIG_MAX_RAW_DEVS=8192
# CONFIG_MCORE2 is not set
# CONFIG_MCP320X is not set
# CONFIG_MCP3422 is not set
+CONFIG_MCP3911=m
CONFIG_MCP4018=m
# CONFIG_MCP4131 is not set
# CONFIG_MCP4531 is not set
@@ -3259,6 +3264,7 @@ CONFIG_MEMSTICK_TIFM_MS=m
# CONFIG_MEMSTICK_UNSAFE_RESUME is not set
# CONFIG_MEMTEST is not set
# CONFIG_MEN_A21_WDT is not set
+CONFIG_MESON_CANVAS=m
CONFIG_MESON_EFUSE=m
# CONFIG_MESON_GXBB_WATCHDOG is not set
# CONFIG_MESON_GXL_PHY is not set
@@ -4675,10 +4681,14 @@ CONFIG_QCOM_CLK_APCS_MSM8916=m
# CONFIG_QCOM_LLCC is not set
CONFIG_QCOM_PDC=y
CONFIG_QCOM_PM8XXX_XOADC=m
+CONFIG_QCOM_Q6V5_ADSP=m
+CONFIG_QCOM_Q6V5_MSS=m
+CONFIG_QCOM_Q6V5_PAS=m
# CONFIG_QCOM_Q6V5_WCSS is not set
CONFIG_QCOM_RMTFS_MEM=m
# CONFIG_QCOM_RPMH is not set
# CONFIG_QCOM_SCM_DOWNLOAD_MODE_DEFAULT is not set
+CONFIG_QCOM_SPMI_ADC5=m
CONFIG_QCOM_SYSMON=m
CONFIG_QEDE=m
CONFIG_QEDF=m
@@ -4860,6 +4870,7 @@ CONFIG_RESET_GPIO=y
# CONFIG_RESET_HSDK_V1 is not set
# CONFIG_RESET_MESON_AUDIO_ARB is not set
# CONFIG_RESET_QCOM_AOSS is not set
+CONFIG_RESET_QCOM_PDC=m
CONFIG_RESET_SIMPLE=y
# CONFIG_RESET_TI_SCI is not set
# CONFIG_RESET_TI_SYSCON is not set
@@ -6966,6 +6977,7 @@ CONFIG_VIDEO_HDPVR=m
CONFIG_VIDEO_HEXIUM_GEMINI=m
CONFIG_VIDEO_HEXIUM_ORION=m
# CONFIG_VIDEO_IMX_MEDIA is not set
+CONFIG_VIDEO_IMX_PXP=m
# CONFIG_VIDEO_IVTV_ALSA is not set
# CONFIG_VIDEO_IVTV_DEPRECATED_IOCTLS is not set
CONFIG_VIDEO_IVTV=m
@@ -7045,6 +7057,7 @@ CONFIG_VIRTIO_VSOCKETS=m
CONFIG_VIRTIO=y
CONFIG_VIRTUALIZATION=y
CONFIG_VITESSE_PHY=m
+# CONFIG_VL53L0X_I2C is not set
CONFIG_VL6180=m
CONFIG_VLAN_8021Q_GVRP=y
CONFIG_VLAN_8021Q=m
diff --git a/kernel-armv7hl.config b/kernel-armv7hl.config
index 61b0a9d2b..0ccd1991f 100644
--- a/kernel-armv7hl.config
+++ b/kernel-armv7hl.config
@@ -120,6 +120,8 @@ CONFIG_ADAPTEC_STARFIRE=m
# CONFIG_ADVANTECH_WDT is not set
# CONFIG_ADXL345_I2C is not set
# CONFIG_ADXL345_SPI is not set
+CONFIG_ADXL372_I2C=m
+CONFIG_ADXL372_SPI=m
# CONFIG_ADXRS450 is not set
CONFIG_AEABI=y
# CONFIG_AFE4403 is not set
@@ -2523,6 +2525,7 @@ CONFIG_IMX_GPCV2=y
CONFIG_IMX_IPUV3_CORE=m
CONFIG_IMX_MBOX=m
CONFIG_IMX_REMOTEPROC=m
+CONFIG_IMX_SCU=y
CONFIG_IMX_SDMA=m
CONFIG_IMX_THERMAL=m
CONFIG_IMX_WEIM=y
@@ -3243,6 +3246,7 @@ CONFIG_LPFC_NVME_INITIATOR=y
CONFIG_LPFC_NVME_TARGET=y
CONFIG_LSI_ET1011C_PHY=m
CONFIG_LSM_MMAP_MIN_ADDR=32768
+CONFIG_LTC1660=m
# CONFIG_LTC2471 is not set
# CONFIG_LTC2485 is not set
# CONFIG_LTC2497 is not set
@@ -3335,6 +3339,7 @@ CONFIG_MAX_RAW_DEVS=8192
# CONFIG_MCORE2 is not set
# CONFIG_MCP320X is not set
# CONFIG_MCP3422 is not set
+CONFIG_MCP3911=m
CONFIG_MCP4018=m
# CONFIG_MCP4131 is not set
# CONFIG_MCP4531 is not set
@@ -3407,6 +3412,7 @@ CONFIG_MEMSTICK_TIFM_MS=m
# CONFIG_MEMSTICK_UNSAFE_RESUME is not set
# CONFIG_MEMTEST is not set
# CONFIG_MEN_A21_WDT is not set
+CONFIG_MESON_CANVAS=m
CONFIG_MESON_EFUSE=m
# CONFIG_MESON_GXBB_WATCHDOG is not set
# CONFIG_MESON_GXL_PHY is not set
@@ -4936,6 +4942,9 @@ CONFIG_QCOM_IOMMU=y
CONFIG_QCOM_PDC=y
CONFIG_QCOM_PM8XXX_XOADC=m
CONFIG_QCOM_PM=y
+CONFIG_QCOM_Q6V5_ADSP=m
+CONFIG_QCOM_Q6V5_MSS=m
+CONFIG_QCOM_Q6V5_PAS=m
CONFIG_QCOM_Q6V5_PIL=m
# CONFIG_QCOM_Q6V5_WCSS is not set
CONFIG_QCOM_QFPROM=m
@@ -4946,6 +4955,7 @@ CONFIG_QCOM_SMD_RPM=m
CONFIG_QCOM_SMEM=m
CONFIG_QCOM_SMP2P=m
CONFIG_QCOM_SMSM=m
+CONFIG_QCOM_SPMI_ADC5=m
CONFIG_QCOM_SPMI_IADC=m
CONFIG_QCOM_SPMI_TEMP_ALARM=m
CONFIG_QCOM_SPMI_VADC=m
@@ -5151,6 +5161,7 @@ CONFIG_RESET_GPIO=y
# CONFIG_RESET_HSDK_V1 is not set
# CONFIG_RESET_MESON_AUDIO_ARB is not set
# CONFIG_RESET_QCOM_AOSS is not set
+CONFIG_RESET_QCOM_PDC=m
CONFIG_RESET_SIMPLE=y
# CONFIG_RESET_TI_SCI is not set
# CONFIG_RESET_TI_SYSCON is not set
@@ -7402,6 +7413,7 @@ CONFIG_VIDEO_HDPVR=m
CONFIG_VIDEO_HEXIUM_GEMINI=m
CONFIG_VIDEO_HEXIUM_ORION=m
# CONFIG_VIDEO_IMX_MEDIA is not set
+CONFIG_VIDEO_IMX_PXP=m
CONFIG_VIDEO_IMX_VDOA=m
# CONFIG_VIDEO_IVTV_ALSA is not set
# CONFIG_VIDEO_IVTV_DEPRECATED_IOCTLS is not set
@@ -7495,6 +7507,7 @@ CONFIG_VIRTIO_VSOCKETS=m
CONFIG_VIRTIO=y
CONFIG_VIRTUALIZATION=y
CONFIG_VITESSE_PHY=m
+# CONFIG_VL53L0X_I2C is not set
CONFIG_VL6180=m
CONFIG_VLAN_8021Q_GVRP=y
CONFIG_VLAN_8021Q=m
diff --git a/kernel-i686-debug.config b/kernel-i686-debug.config
index edf231390..4dc4cd571 100644
--- a/kernel-i686-debug.config
+++ b/kernel-i686-debug.config
@@ -158,6 +158,8 @@ CONFIG_ADAPTEC_STARFIRE=m
# CONFIG_ADVANTECH_WDT is not set
# CONFIG_ADXL345_I2C is not set
# CONFIG_ADXL345_SPI is not set
+CONFIG_ADXL372_I2C=m
+CONFIG_ADXL372_SPI=m
# CONFIG_ADXRS450 is not set
# CONFIG_AFE4403 is not set
# CONFIG_AFE4404 is not set
@@ -2995,6 +2997,7 @@ CONFIG_LPFC_NVME_INITIATOR=y
CONFIG_LPFC_NVME_TARGET=y
CONFIG_LSI_ET1011C_PHY=m
CONFIG_LSM_MMAP_MIN_ADDR=65536
+CONFIG_LTC1660=m
# CONFIG_LTC2471 is not set
# CONFIG_LTC2485 is not set
# CONFIG_LTC2497 is not set
@@ -3074,6 +3077,7 @@ CONFIG_MAXSMP=y
# CONFIG_MCORE2 is not set
# CONFIG_MCP320X is not set
# CONFIG_MCP3422 is not set
+CONFIG_MCP3911=m
CONFIG_MCP4018=m
# CONFIG_MCP4131 is not set
# CONFIG_MCP4531 is not set
@@ -6593,6 +6597,7 @@ CONFIG_VIRTIO_VSOCKETS=m
CONFIG_VIRTIO=y
CONFIG_VIRTUALIZATION=y
CONFIG_VITESSE_PHY=m
+# CONFIG_VL53L0X_I2C is not set
CONFIG_VL6180=m
CONFIG_VLAN_8021Q_GVRP=y
CONFIG_VLAN_8021Q=m
diff --git a/kernel-i686.config b/kernel-i686.config
index 3764b1fe6..dc248cebc 100644
--- a/kernel-i686.config
+++ b/kernel-i686.config
@@ -158,6 +158,8 @@ CONFIG_ADAPTEC_STARFIRE=m
# CONFIG_ADVANTECH_WDT is not set
# CONFIG_ADXL345_I2C is not set
# CONFIG_ADXL345_SPI is not set
+CONFIG_ADXL372_I2C=m
+CONFIG_ADXL372_SPI=m
# CONFIG_ADXRS450 is not set
# CONFIG_AFE4403 is not set
# CONFIG_AFE4404 is not set
@@ -2972,6 +2974,7 @@ CONFIG_LPFC_NVME_INITIATOR=y
CONFIG_LPFC_NVME_TARGET=y
CONFIG_LSI_ET1011C_PHY=m
CONFIG_LSM_MMAP_MIN_ADDR=65536
+CONFIG_LTC1660=m
# CONFIG_LTC2471 is not set
# CONFIG_LTC2485 is not set
# CONFIG_LTC2497 is not set
@@ -3051,6 +3054,7 @@ CONFIG_MAX_RAW_DEVS=8192
# CONFIG_MCORE2 is not set
# CONFIG_MCP320X is not set
# CONFIG_MCP3422 is not set
+CONFIG_MCP3911=m
CONFIG_MCP4018=m
# CONFIG_MCP4131 is not set
# CONFIG_MCP4531 is not set
@@ -6568,6 +6572,7 @@ CONFIG_VIRTIO_VSOCKETS=m
CONFIG_VIRTIO=y
CONFIG_VIRTUALIZATION=y
CONFIG_VITESSE_PHY=m
+# CONFIG_VL53L0X_I2C is not set
CONFIG_VL6180=m
CONFIG_VLAN_8021Q_GVRP=y
CONFIG_VLAN_8021Q=m
diff --git a/kernel-ppc64le-debug.config b/kernel-ppc64le-debug.config
index 17a7aec5c..a28cdbf49 100644
--- a/kernel-ppc64le-debug.config
+++ b/kernel-ppc64le-debug.config
@@ -120,6 +120,8 @@ CONFIG_ADAPTEC_STARFIRE=m
# CONFIG_ADVANTECH_WDT is not set
# CONFIG_ADXL345_I2C is not set
# CONFIG_ADXL345_SPI is not set
+CONFIG_ADXL372_I2C=m
+CONFIG_ADXL372_SPI=m
# CONFIG_ADXRS450 is not set
# CONFIG_AFE4403 is not set
# CONFIG_AFE4404 is not set
@@ -2774,6 +2776,7 @@ CONFIG_LPFC_NVME_INITIATOR=y
CONFIG_LPFC_NVME_TARGET=y
CONFIG_LSI_ET1011C_PHY=m
CONFIG_LSM_MMAP_MIN_ADDR=65536
+CONFIG_LTC1660=m
# CONFIG_LTC2471 is not set
# CONFIG_LTC2485 is not set
# CONFIG_LTC2497 is not set
@@ -2848,6 +2851,7 @@ CONFIG_MAXSMP=y
# CONFIG_MCORE2 is not set
# CONFIG_MCP320X is not set
# CONFIG_MCP3422 is not set
+CONFIG_MCP3911=m
CONFIG_MCP4018=m
# CONFIG_MCP4131 is not set
# CONFIG_MCP4531 is not set
@@ -6261,6 +6265,7 @@ CONFIG_VIRTIO_VSOCKETS=m
CONFIG_VIRTIO=y
CONFIG_VIRTUALIZATION=y
CONFIG_VITESSE_PHY=m
+# CONFIG_VL53L0X_I2C is not set
CONFIG_VL6180=m
CONFIG_VLAN_8021Q_GVRP=y
CONFIG_VLAN_8021Q=m
diff --git a/kernel-ppc64le.config b/kernel-ppc64le.config
index 10f195f77..3a1eaf9d6 100644
--- a/kernel-ppc64le.config
+++ b/kernel-ppc64le.config
@@ -120,6 +120,8 @@ CONFIG_ADAPTEC_STARFIRE=m
# CONFIG_ADVANTECH_WDT is not set
# CONFIG_ADXL345_I2C is not set
# CONFIG_ADXL345_SPI is not set
+CONFIG_ADXL372_I2C=m
+CONFIG_ADXL372_SPI=m
# CONFIG_ADXRS450 is not set
# CONFIG_AFE4403 is not set
# CONFIG_AFE4404 is not set
@@ -2751,6 +2753,7 @@ CONFIG_LPFC_NVME_INITIATOR=y
CONFIG_LPFC_NVME_TARGET=y
CONFIG_LSI_ET1011C_PHY=m
CONFIG_LSM_MMAP_MIN_ADDR=65536
+CONFIG_LTC1660=m
# CONFIG_LTC2471 is not set
# CONFIG_LTC2485 is not set
# CONFIG_LTC2497 is not set
@@ -2824,6 +2827,7 @@ CONFIG_MAX_RAW_DEVS=8192
# CONFIG_MCORE2 is not set
# CONFIG_MCP320X is not set
# CONFIG_MCP3422 is not set
+CONFIG_MCP3911=m
CONFIG_MCP4018=m
# CONFIG_MCP4131 is not set
# CONFIG_MCP4531 is not set
@@ -6234,6 +6238,7 @@ CONFIG_VIRTIO_VSOCKETS=m
CONFIG_VIRTIO=y
CONFIG_VIRTUALIZATION=y
CONFIG_VITESSE_PHY=m
+# CONFIG_VL53L0X_I2C is not set
CONFIG_VL6180=m
CONFIG_VLAN_8021Q_GVRP=y
CONFIG_VLAN_8021Q=m
diff --git a/kernel-s390x-debug.config b/kernel-s390x-debug.config
index 6d715134a..f91cb208f 100644
--- a/kernel-s390x-debug.config
+++ b/kernel-s390x-debug.config
@@ -120,6 +120,8 @@ CONFIG_ADAPTEC_STARFIRE=m
# CONFIG_ADVANTECH_WDT is not set
# CONFIG_ADXL345_I2C is not set
# CONFIG_ADXL345_SPI is not set
+CONFIG_ADXL372_I2C=m
+CONFIG_ADXL372_SPI=m
# CONFIG_ADXRS450 is not set
# CONFIG_AFE4403 is not set
# CONFIG_AFE4404 is not set
@@ -2719,6 +2721,7 @@ CONFIG_LPFC_NVME_INITIATOR=y
CONFIG_LPFC_NVME_TARGET=y
CONFIG_LSI_ET1011C_PHY=m
CONFIG_LSM_MMAP_MIN_ADDR=65536
+CONFIG_LTC1660=m
# CONFIG_LTC2471 is not set
# CONFIG_LTC2485 is not set
# CONFIG_LTC2497 is not set
@@ -2793,6 +2796,7 @@ CONFIG_MAXSMP=y
# CONFIG_MCORE2 is not set
# CONFIG_MCP320X is not set
# CONFIG_MCP3422 is not set
+CONFIG_MCP3911=m
CONFIG_MCP4018=m
# CONFIG_MCP4131 is not set
# CONFIG_MCP4531 is not set
@@ -6152,6 +6156,7 @@ CONFIG_VIRTIO_VSOCKETS=m
CONFIG_VIRTIO=y
CONFIG_VIRTUALIZATION=y
CONFIG_VITESSE_PHY=m
+# CONFIG_VL53L0X_I2C is not set
CONFIG_VL6180=m
CONFIG_VLAN_8021Q_GVRP=y
CONFIG_VLAN_8021Q=m
diff --git a/kernel-s390x.config b/kernel-s390x.config
index 621c2c993..f57738cd7 100644
--- a/kernel-s390x.config
+++ b/kernel-s390x.config
@@ -120,6 +120,8 @@ CONFIG_ADAPTEC_STARFIRE=m
# CONFIG_ADVANTECH_WDT is not set
# CONFIG_ADXL345_I2C is not set
# CONFIG_ADXL345_SPI is not set
+CONFIG_ADXL372_I2C=m
+CONFIG_ADXL372_SPI=m
# CONFIG_ADXRS450 is not set
# CONFIG_AFE4403 is not set
# CONFIG_AFE4404 is not set
@@ -2696,6 +2698,7 @@ CONFIG_LPFC_NVME_INITIATOR=y
CONFIG_LPFC_NVME_TARGET=y
CONFIG_LSI_ET1011C_PHY=m
CONFIG_LSM_MMAP_MIN_ADDR=65536
+CONFIG_LTC1660=m
# CONFIG_LTC2471 is not set
# CONFIG_LTC2485 is not set
# CONFIG_LTC2497 is not set
@@ -2769,6 +2772,7 @@ CONFIG_MAX_RAW_DEVS=8192
# CONFIG_MCORE2 is not set
# CONFIG_MCP320X is not set
# CONFIG_MCP3422 is not set
+CONFIG_MCP3911=m
CONFIG_MCP4018=m
# CONFIG_MCP4131 is not set
# CONFIG_MCP4531 is not set
@@ -6125,6 +6129,7 @@ CONFIG_VIRTIO_VSOCKETS=m
CONFIG_VIRTIO=y
CONFIG_VIRTUALIZATION=y
CONFIG_VITESSE_PHY=m
+# CONFIG_VL53L0X_I2C is not set
CONFIG_VL6180=m
CONFIG_VLAN_8021Q_GVRP=y
CONFIG_VLAN_8021Q=m
diff --git a/kernel-x86_64-debug.config b/kernel-x86_64-debug.config
index 2dfd8914b..8045ff5cb 100644
--- a/kernel-x86_64-debug.config
+++ b/kernel-x86_64-debug.config
@@ -161,6 +161,8 @@ CONFIG_ADAPTEC_STARFIRE=m
# CONFIG_ADVANTECH_WDT is not set
# CONFIG_ADXL345_I2C is not set
# CONFIG_ADXL345_SPI is not set
+CONFIG_ADXL372_I2C=m
+CONFIG_ADXL372_SPI=m
# CONFIG_ADXRS450 is not set
# CONFIG_AFE4403 is not set
# CONFIG_AFE4404 is not set
@@ -3053,6 +3055,7 @@ CONFIG_LPFC_NVME_INITIATOR=y
CONFIG_LPFC_NVME_TARGET=y
CONFIG_LSI_ET1011C_PHY=m
CONFIG_LSM_MMAP_MIN_ADDR=65536
+CONFIG_LTC1660=m
# CONFIG_LTC2471 is not set
# CONFIG_LTC2485 is not set
# CONFIG_LTC2497 is not set
@@ -3126,6 +3129,7 @@ CONFIG_MAXSMP=y
# CONFIG_MCORE2 is not set
# CONFIG_MCP320X is not set
# CONFIG_MCP3422 is not set
+CONFIG_MCP3911=m
CONFIG_MCP4018=m
# CONFIG_MCP4131 is not set
# CONFIG_MCP4531 is not set
@@ -6644,6 +6648,7 @@ CONFIG_VIRTIO_VSOCKETS=m
CONFIG_VIRTIO=y
CONFIG_VIRTUALIZATION=y
CONFIG_VITESSE_PHY=m
+# CONFIG_VL53L0X_I2C is not set
CONFIG_VL6180=m
CONFIG_VLAN_8021Q_GVRP=y
CONFIG_VLAN_8021Q=m
diff --git a/kernel-x86_64.config b/kernel-x86_64.config
index 195d03146..9197d6005 100644
--- a/kernel-x86_64.config
+++ b/kernel-x86_64.config
@@ -161,6 +161,8 @@ CONFIG_ADAPTEC_STARFIRE=m
# CONFIG_ADVANTECH_WDT is not set
# CONFIG_ADXL345_I2C is not set
# CONFIG_ADXL345_SPI is not set
+CONFIG_ADXL372_I2C=m
+CONFIG_ADXL372_SPI=m
# CONFIG_ADXRS450 is not set
# CONFIG_AFE4403 is not set
# CONFIG_AFE4404 is not set
@@ -3030,6 +3032,7 @@ CONFIG_LPFC_NVME_INITIATOR=y
CONFIG_LPFC_NVME_TARGET=y
CONFIG_LSI_ET1011C_PHY=m
CONFIG_LSM_MMAP_MIN_ADDR=65536
+CONFIG_LTC1660=m
# CONFIG_LTC2471 is not set
# CONFIG_LTC2485 is not set
# CONFIG_LTC2497 is not set
@@ -3103,6 +3106,7 @@ CONFIG_MAX_RAW_DEVS=8192
# CONFIG_MCORE2 is not set
# CONFIG_MCP320X is not set
# CONFIG_MCP3422 is not set
+CONFIG_MCP3911=m
CONFIG_MCP4018=m
# CONFIG_MCP4131 is not set
# CONFIG_MCP4531 is not set
@@ -6619,6 +6623,7 @@ CONFIG_VIRTIO_VSOCKETS=m
CONFIG_VIRTIO=y
CONFIG_VIRTUALIZATION=y
CONFIG_VITESSE_PHY=m
+# CONFIG_VL53L0X_I2C is not set
CONFIG_VL6180=m
CONFIG_VLAN_8021Q_GVRP=y
CONFIG_VLAN_8021Q=m
diff --git a/kernel.spec b/kernel.spec
index af5e7f473..1bac98884 100644
--- a/kernel.spec
+++ b/kernel.spec
@@ -69,7 +69,7 @@ Summary: The Linux kernel
# The rc snapshot level
%global rcrev 0
# The git snapshot level
-%define gitrev 5
+%define gitrev 6
# Set rpm version accordingly
%define rpmversion 4.%{upstream_sublevel}.0
%endif
@@ -581,12 +581,6 @@ Patch305: qcom-msm89xx-fixes.patch
# https://patchwork.kernel.org/project/linux-mmc/list/?submitter=71861
Patch306: arm-sdhci-esdhc-imx-fixes.patch
-# https://www.spinics.net/lists/arm-kernel/msg670137.html
-Patch307: arm64-ZynqMP-firmware-clock-drivers-core.patch
-
-Patch308: arm64-96boards-Rock960-CE-board-support.patch
-Patch309: arm64-rockchip-add-initial-Rockpro64.patch
-
Patch330: bcm2835-cpufreq-add-CPU-frequency-control-driver.patch
Patch331: bcm283x-drm-vc4-set-is_yuv-to-false-when-num_planes-1.patch
@@ -1882,6 +1876,9 @@ fi
#
#
%changelog
+* Tue Oct 30 2018 Justin M. Forbes <jforbes@fedoraproject.org> - 4.20.0-0.rc0.git6.1
+- Linux v4.19-11706-g11743c56785c
+
* Mon Oct 29 2018 Justin M. Forbes <jforbes@fedoraproject.org> - 4.20.0-0.rc0.git5.1
- Linux v4.19-9448-g673c790e7282
diff --git a/sources b/sources
index 0c7c25baf..b51633461 100644
--- a/sources
+++ b/sources
@@ -1,2 +1,2 @@
SHA512 (linux-4.19.tar.xz) = ab67cc746b375a8b135e8b23e35e1d6787930d19b3c26b2679787d62951cbdbc3bb66f8ededeb9b890e5008b2459397f9018f1a6772fdef67780b06a4cb9f6f4
-SHA512 (patch-4.19-git5.xz) = cdac8f1b9408ea7a7094ce1def5f4b8f8fd54781b7b02badcd2ae5d10dd0cd67388b9b392b38f58fd87ab4f68d828153d68631f23326e958fe978414963b7948
+SHA512 (patch-4.19-git6.xz) = 1936630e0205da2c4823be3401e645b743027d2e05ab310c6a89293187b3ad3dfb891ffb2365e594317368844a63b58383d86ddd3ca2bc45a6fc7b06b32091f3