From patchwork Sun Mar 6 11:11:22 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 12770675 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 29CFCC433EF for ; Sun, 6 Mar 2022 11:14:38 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type: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:Cc:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=yM0QslhJlD84RDqBbqclptAaOHfFCqh7wVYVwIDhA1w=; b=x5LNAmAf15khbG l/r9hD+60qcuM+og9qLfZ3D+Mf4wb6Ffbs/P4IlCCgRUnaPRgVgVYUJ46Aazqm7N//x62gc/W/Oo5 ui9iM3ZFQESo74XPkPGqCJKagfD9TFEQW93txffY8PZXbUFVJPJGw6fWWGgnSfTtiVL/DAFIeFInu NT5t0bCgMg2yrh7FfT1Gg6peuWAZmZhl6I0OaH2LEFkFd2I3RrYHXEckFqTVaKMUIw//dH+s2WfKS nsmppDTxVcqZ6dqnewxO/2Hy1+J4H5i60QpDQhkGgkUUsqtzBncoUL6K/UVo7xFvrr32UL2Pt2oSi D9Eu4qBClEagI0O8ohFA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1nQop4-00EVh2-V7; Sun, 06 Mar 2022 11:13:12 +0000 Received: from smtp-relay-internal-0.canonical.com ([185.125.188.122]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1nQono-00EUwD-6l for linux-arm-kernel@lists.infradead.org; Sun, 06 Mar 2022 11:11:53 +0000 Received: from mail-ej1-f71.google.com (mail-ej1-f71.google.com [209.85.218.71]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by smtp-relay-internal-0.canonical.com (Postfix) with ESMTPS id 3DF9A3F62D for ; Sun, 6 Mar 2022 11:11:48 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=canonical.com; s=20210705; t=1646565108; bh=xb1NVPmzCu//acWeZYDa5U/h0JIp5bKXDfT7rDv6gyY=; h=From:To:Subject:Date:Message-Id:In-Reply-To:References: MIME-Version; b=e9ln8Yvi0QHCpSdBV2IQT5JEfFj1Xb5NQ57kJ21Nx01AeSlA7rle8sRha7HgmhM8+ WA6+xldp6LpsipX2b4f+upfomVfH8w8I/5TVOI5BAfpAdlu9Qp1mBcm0tXCLtZ+mDf ZfNIlxFMXlyaGlIpraWKaXzLahIOyu/PaQ5470nxB0M7Cut1Ef+/rfKvat/jDEg6RI gId7K5l2x0y4GbBIP6FEgMWMI6pikqyEBlkVktVCCDZ0H1j6K1BxlIvEl9jhFt8qC6 BGKS3UEHcpwkjoNG62Q5VVsjeezPUlsNXLg1BTP+IpYRhc71JKnfkfhDKru0of97P3 UWau52uhj1JFg== Received: by mail-ej1-f71.google.com with SMTP id r18-20020a17090609d200b006a6e943d09eso6108636eje.20 for ; Sun, 06 Mar 2022 03:11:48 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=xb1NVPmzCu//acWeZYDa5U/h0JIp5bKXDfT7rDv6gyY=; b=4SHaj1H3J2QoLnNyzh0BlxcLcsFKcthAUl2eSHNXiJsTPEzFJdoSfW5T7T1w41AGAW OyHzt651z2k5X62OXa/8U/oV7TkGwl29cCkuMe6AbzfuVdQNaM/0QOg5s8+UMQYMacJY 08lbhI3h7HFILPUxvS0tgx7QXi1BIYGHPODh455ke4Q0JxXBSywy6UfgrpybusuPeb5T 9PmkFVybrhil8Yf3lLwQlXEvudwdWWBPHWYpaJ+mdze4r6c3nSUjBBIsAw9uYA9C2Pxr SjgEpUJ4tsXfew/XShLNHzfUL1mWWcK33nwEkglhQ2q4urMmWFLjr2woHNZE96fYpUi/ KgJg== X-Gm-Message-State: AOAM531wFKVCqz9PlXkIauf7yMSwZhU8rAUuxG45PIksIkRUG4K8CXyg /HmmgwEncRQ2rhFa423hPbwtlwWR3Zy1Sz/JFRx63GMgmYjq8HMMBBC7kq7gbJQUZ8gaevnAJv8 qrnOST0W1mlNajmENtedYyegg8aQw1XimG35u0/sZ9qS/8OhbEbtI X-Received: by 2002:a17:906:3ad1:b0:6ce:a880:7745 with SMTP id z17-20020a1709063ad100b006cea8807745mr5480148ejd.46.1646565104761; Sun, 06 Mar 2022 03:11:44 -0800 (PST) X-Google-Smtp-Source: ABdhPJxkqOPNZGWUEHHQJ1DdvnKzAnwvejxildLb9k95BB+Ex4BtuNUf/GcST/RwEz/yOnL8XuyPOQ== X-Received: by 2002:a17:906:3ad1:b0:6ce:a880:7745 with SMTP id z17-20020a1709063ad100b006cea8807745mr5480132ejd.46.1646565104528; Sun, 06 Mar 2022 03:11:44 -0800 (PST) Received: from localhost.localdomain (xdsl-188-155-181-108.adslplus.ch. [188.155.181.108]) by smtp.gmail.com with ESMTPSA id a9-20020a1709066d4900b006da888c3ef0sm3720444ejt.108.2022.03.06.03.11.43 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 06 Mar 2022 03:11:43 -0800 (PST) From: Krzysztof Kozlowski To: Alim Akhtar , Avri Altman , Rob Herring , Krzysztof Kozlowski , Andy Gross , Bjorn Andersson , Wei Xu , Matthias Brugger , Jan Kotas , Li Wei , Stanley Chu , Vignesh Raghavendra , linux-scsi@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-msm@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-samsung-soc@vger.kernel.org, linux-mediatek@lists.infradead.org Subject: [PATCH v3 09/12] arm64: dts: hisilicon: align 'freq-table-hz' with dtschema in UFS Date: Sun, 6 Mar 2022 12:11:22 +0100 Message-Id: <20220306111125.116455-10-krzysztof.kozlowski@canonical.com> X-Mailer: git-send-email 2.32.0 In-Reply-To: <20220306111125.116455-1-krzysztof.kozlowski@canonical.com> References: <20220306111125.116455-1-krzysztof.kozlowski@canonical.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20220306_031152_413228_7B390E89 X-CRM114-Status: GOOD ( 13.03 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org The DT schema expects 'freq-table-hz' property to be an uint32-matrix, which is also easier to read. Signed-off-by: Krzysztof Kozlowski --- arch/arm64/boot/dts/hisilicon/hi3660.dtsi | 4 ++-- arch/arm64/boot/dts/hisilicon/hi3670.dtsi | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/arch/arm64/boot/dts/hisilicon/hi3660.dtsi b/arch/arm64/boot/dts/hisilicon/hi3660.dtsi index 8bd6d7e8a474..6b3057a09251 100644 --- a/arch/arm64/boot/dts/hisilicon/hi3660.dtsi +++ b/arch/arm64/boot/dts/hisilicon/hi3660.dtsi @@ -1045,8 +1045,8 @@ ufs: ufs@ff3b0000 { clocks = <&crg_ctrl HI3660_CLK_GATE_UFSIO_REF>, <&crg_ctrl HI3660_CLK_GATE_UFSPHY_CFG>; clock-names = "ref_clk", "phy_clk"; - freq-table-hz = <0 0 - 0 0>; + freq-table-hz = <0 0>, + <0 0>; /* offset: 0x84; bit: 12 */ resets = <&crg_rst 0x84 12>; reset-names = "rst"; diff --git a/arch/arm64/boot/dts/hisilicon/hi3670.dtsi b/arch/arm64/boot/dts/hisilicon/hi3670.dtsi index 636c8817df7e..3125c3869c69 100644 --- a/arch/arm64/boot/dts/hisilicon/hi3670.dtsi +++ b/arch/arm64/boot/dts/hisilicon/hi3670.dtsi @@ -671,8 +671,8 @@ ufs: ufs@ff3c0000 { clocks = <&crg_ctrl HI3670_CLK_GATE_UFSIO_REF>, <&crg_ctrl HI3670_CLK_GATE_UFS_SUBSYS>; clock-names = "ref_clk", "phy_clk"; - freq-table-hz = <0 0 - 0 0>; + freq-table-hz = <0 0>, + <0 0>; /* offset: 0x84; bit: 12 */ resets = <&crg_rst 0x84 12>; reset-names = "rst";