From patchwork Mon Feb 10 10:07:17 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Maxime Ripard X-Patchwork-Id: 11372999 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 5686217F0 for ; Mon, 10 Feb 2020 10:07:32 +0000 (UTC) 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 mail.kernel.org (Postfix) with ESMTPS id 3398120733 for ; Mon, 10 Feb 2020 10:07:32 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="IezlO9Ze"; dkim=fail reason="signature verification failed" (2048-bit key) header.d=cerno.tech header.i=@cerno.tech header.b="Bze+dD/t"; dkim=fail reason="signature verification failed" (2048-bit key) header.d=messagingengine.com header.i=@messagingengine.com header.b="Oc/UOUoZ" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 3398120733 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=cerno.tech Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org 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: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:In-Reply-To:References: List-Owner; bh=yRQbeRImXMIWDuF+HirNSePn2yNqODDuWtQvbGObHNg=; b=IezlO9ZeTG//Kw ENZ91Rod4xnAxqGtqKweJ5nS8LErG4sgMKd+9zjILYCZ7vEwFl7k31AwFOWzmLPPPq1y/rcx1grnf 6Gxnf6Da0IRXD5TPOV5EXeb82/tKv7si3rvwWsgJvwZrHc2CEIMxnPapoNtu2od6XG0rSovVNqe0u RyMIjKqDiDO+3TXQyZ7ARxajxEJIqpptFiTNIAXPYBNmNc1Bb8DystTdIKyuj0VrKscEE9aoiK7XO xbUmi5Et3UHk8wihHPm+YnqRDSIEBIB0Fxty21f5JwGLuTgtM6YqtE8Wy0KoGubcBvCPo+CbSkTZS wgc9OgVExTom77K/sVqw==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1j15yS-0007Wc-79; Mon, 10 Feb 2020 10:07:28 +0000 Received: from out4-smtp.messagingengine.com ([66.111.4.28]) by bombadil.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1j15yP-0007W0-OX for linux-arm-kernel@lists.infradead.org; Mon, 10 Feb 2020 10:07:27 +0000 Received: from compute3.internal (compute3.nyi.internal [10.202.2.43]) by mailout.nyi.internal (Postfix) with ESMTP id 0473B21EAD; Mon, 10 Feb 2020 05:07:24 -0500 (EST) Received: from mailfrontend2 ([10.202.2.163]) by compute3.internal (MEProxy); Mon, 10 Feb 2020 05:07:24 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cerno.tech; h= from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; s=fm2; bh=o5cxvnYPHtXYofz4LWCa1xrp3L TwvGGtgPAsTKOoIyw=; b=Bze+dD/tJOKO0J062FA5AarYHYvEaeN6Hol2EdRjwh 5X1G1Z3FfwsZQ1kFBfk85KBr9FSYayvczmObmuTBDVFwBMfpelZq1a5qjt3YURGw +AWeALdwSNiS9zSKKwqQr0HS0pT8f+dPGEWmxoBuPEpIGu8EiXNy0ITR7GZbkuYj wr/S9F42cMrUxBkOym9N1jneSJOyVc3ZUhjPyPREZEByeL7Ds27mmuZ5O5cVSVdt zSlWqnDDOduU6ZB2fKsX9J3PEiljbEPbaWsQpL40xoP2RkpLvCPPguKldmUV7wuc PjXQ+Uzx1wHq2J1Mdw1xUZXhh2iXkcE2vURZtYvjgUPQ== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:date:from :message-id:mime-version:subject:to:x-me-proxy:x-me-proxy :x-me-sender:x-me-sender:x-sasl-enc; s=fm2; bh=o5cxvnYPHtXYofz4L WCa1xrp3LTwvGGtgPAsTKOoIyw=; b=Oc/UOUoZWILFjeKjeGF/SMBdmAeBn9h56 Dc79BNYE3P15oh2xW3E5JlZPN7K/8F1yJfQ+ldrWYZf/vfYqccDue6Rnwdr3Jn45 KyunPEFNhSSj7XgHtJBvBdW7iMzlfC5T1SYSyarFMYtthG6ULiIB4KPBDwoymTg+ Qk7kRL8mNJC7Gs94t1Xr9jIf8yp9HRghWSIvumZ5xkJa58pI2ojPyPXDiWvLuPJn cV7h4EmKNGGi1BVbVUOzYNOuMxM1n9QrIa0do1Cr8+h/AyJX/XLrW/OhJAQH2pH8 DueuUj95a/dSj8jOEa2kDf/paOgbywKqloBNR1hkJpGV9brB5KDhg== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedugedriedugdduudcutefuodetggdotefrodftvf curfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfghnecu uegrihhlohhuthemuceftddtnecunecujfgurhephffvufffkffoggfgsedtkeertdertd dtnecuhfhrohhmpeforgigihhmvgcutfhiphgrrhguuceomhgrgihimhgvsegtvghrnhho rdhtvggthheqnecukfhppeeltddrkeelrdeikedrjeeinecuvehluhhsthgvrhfuihiivg eptdenucfrrghrrghmpehmrghilhhfrhhomhepmhgrgihimhgvsegtvghrnhhordhtvggt hh X-ME-Proxy: Received: from localhost (lfbn-tou-1-1502-76.w90-89.abo.wanadoo.fr [90.89.68.76]) by mail.messagingengine.com (Postfix) with ESMTPA id 5387530606FB; Mon, 10 Feb 2020 05:07:22 -0500 (EST) From: Maxime Ripard To: Chen-Yu Tsai , Maxime Ripard Subject: [PATCH 1/2] ARM: dts: sunxi: Remove redundant assigned-clocks Date: Mon, 10 Feb 2020 11:07:17 +0100 Message-Id: <20200210100718.78951-1-maxime@cerno.tech> X-Mailer: git-send-email 2.24.1 MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20200210_020725_939578_AE0C14F3 X-CRM114-Status: UNSURE ( 8.09 ) X-CRM114-Notice: Please train this message. X-Spam-Score: -0.9 (/) X-Spam-Report: SpamAssassin version 3.4.3 on bombadil.infradead.org summary: Content analysis details: (-0.9 points) pts rule name description ---- ---------------------- -------------------------------------------------- -0.7 RCVD_IN_DNSWL_LOW RBL: Sender listed at https://www.dnswl.org/, low trust [66.111.4.28 listed in list.dnswl.org] -0.0 SPF_HELO_PASS SPF: HELO matches SPF record -0.0 SPF_PASS SPF: sender matches SPF record 0.0 RCVD_IN_MSPIKE_H3 RBL: Good reputation (+3) [66.111.4.28 listed in wl.mailspike.net] -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature -0.1 DKIM_VALID_EF Message has a valid DKIM or DK signature from envelope-from domain -0.1 DKIM_VALID_AU Message has a valid DKIM or DK signature from author's domain 0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily valid 0.0 RCVD_IN_MSPIKE_WL Mailspike good senders X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Maxime Ripard , linux-arm-kernel@lists.infradead.org Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org The display backend nodes have an assigned clocks property, while the driver also enforces it. Since assigned-clocks is pretty fragile anyway, let's just remove it. Signed-off-by: Maxime Ripard --- arch/arm/boot/dts/sun5i.dtsi | 3 --- arch/arm/boot/dts/sun6i-a31.dtsi | 6 ------ arch/arm/boot/dts/sun8i-a33.dtsi | 2 -- 3 files changed, 11 deletions(-) diff --git a/arch/arm/boot/dts/sun5i.dtsi b/arch/arm/boot/dts/sun5i.dtsi index 0b526e6e5a95..7f5cf028ce1a 100644 --- a/arch/arm/boot/dts/sun5i.dtsi +++ b/arch/arm/boot/dts/sun5i.dtsi @@ -771,9 +771,6 @@ be0: display-backend@1e60000 { interconnect-names = "dma-mem"; status = "disabled"; - assigned-clocks = <&ccu CLK_DE_BE>; - assigned-clock-rates = <300000000>; - ports { #address-cells = <1>; #size-cells = <0>; diff --git a/arch/arm/boot/dts/sun6i-a31.dtsi b/arch/arm/boot/dts/sun6i-a31.dtsi index 7762fbd9a133..f41440ecbdad 100644 --- a/arch/arm/boot/dts/sun6i-a31.dtsi +++ b/arch/arm/boot/dts/sun6i-a31.dtsi @@ -1139,9 +1139,6 @@ be1: display-backend@1e40000 { "ram"; resets = <&ccu RST_AHB1_BE1>; - assigned-clocks = <&ccu CLK_BE1>; - assigned-clock-rates = <300000000>; - ports { #address-cells = <1>; #size-cells = <0>; @@ -1231,9 +1228,6 @@ be0: display-backend@1e60000 { "ram"; resets = <&ccu RST_AHB1_BE0>; - assigned-clocks = <&ccu CLK_BE0>; - assigned-clock-rates = <300000000>; - ports { #address-cells = <1>; #size-cells = <0>; diff --git a/arch/arm/boot/dts/sun8i-a33.dtsi b/arch/arm/boot/dts/sun8i-a33.dtsi index 1532a0e59af4..d80c8a6856cf 100644 --- a/arch/arm/boot/dts/sun8i-a33.dtsi +++ b/arch/arm/boot/dts/sun8i-a33.dtsi @@ -372,8 +372,6 @@ &be0 { "ram", "sat"; resets = <&ccu RST_BUS_DE_BE>, <&ccu RST_BUS_SAT>; reset-names = "be", "sat"; - assigned-clocks = <&ccu CLK_DE_BE>; - assigned-clock-rates = <300000000>; }; &ccu { From patchwork Mon Feb 10 10:07:18 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Maxime Ripard X-Patchwork-Id: 11373001 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id F1A7914B4 for ; Mon, 10 Feb 2020 10:07:42 +0000 (UTC) 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 mail.kernel.org (Postfix) with ESMTPS id C7CFC20733 for ; Mon, 10 Feb 2020 10:07:42 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="H18aARrm"; dkim=fail reason="signature verification failed" (2048-bit key) header.d=cerno.tech header.i=@cerno.tech header.b="capTjsEK"; dkim=fail reason="signature verification failed" (2048-bit key) header.d=messagingengine.com header.i=@messagingengine.com header.b="3L+OLvHw" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org C7CFC20733 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=cerno.tech Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org 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=8TX4AHzBK2kj37cpH96Br8yHhBEHB7BIdoUJseb+tUw=; b=H18aARrm2vaDFs M4N1VvyCDBWtKo19ecKjBv+QmYzCXoqV1d7QppO4QXQvgmu71vN+Wx55EdDI/OJl1MwB/zzCZH/+q jAEHJ2vQeHh0abxD4WujWqsIHA7RZO3dAjAUqUdZOOARwRngWLAOpBsUJ+P2xGUqoQVcfOb5xADIM LCEPSysWDdWlb+PLsXk4Sg1eAbkZDmoQXsy9rOD1tX0+itzyatQdrRwF0KHoDtM7raNRMESy1S98v pPRpHcTwY0/wl6C+vSjVfFugby7rDNnGN6ELwgOjPaB0f4NyjduyA3V32a3kVQb3bgpd1o/QnWd8Q gGznf17ruZGFouvHc3Cg==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1j15yb-0007i7-EM; Mon, 10 Feb 2020 10:07:37 +0000 Received: from out4-smtp.messagingengine.com ([66.111.4.28]) by bombadil.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1j15yQ-0007WD-N4 for linux-arm-kernel@lists.infradead.org; Mon, 10 Feb 2020 10:07:28 +0000 Received: from compute3.internal (compute3.nyi.internal [10.202.2.43]) by mailout.nyi.internal (Postfix) with ESMTP id 2092721F18; Mon, 10 Feb 2020 05:07:26 -0500 (EST) Received: from mailfrontend1 ([10.202.2.162]) by compute3.internal (MEProxy); Mon, 10 Feb 2020 05:07:26 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cerno.tech; h= from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; s=fm2; bh=2JmA5h++vuWm1 H1qeV91zQriXeCwg4vJQ5x7RcqWqoo=; b=capTjsEKo9yve17a9POeeXTBQ0Kjr bmscqHfOpotz5z6g7jAxDU87nkesdYuVLEbD0854u+hSpBe/wOJXyVIVaJUCrzqD hrxczGcJZ+wrcipM8xNe4Xc+mDjq1Z0vr7W9v78Fz11XP5xbaCwW8O19EYosluv9 nkYahjEVHM33FyjFj6D/sU87hxOpGxN3nLlXkXugOsbCU/saOg2efRJuKrIIC69X NPGkMNdTRd3cj/kqQhFLoLraWO2vZKnqsU7iOJhEfizjkkjeSkVBgQd9uwERF/25 4DIR4b8ZMzZL/upu0X8PcfHR3ibAVkCzdn2l6+hADaEdLlwgkE4JkqcyA== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:date:from :in-reply-to:message-id:mime-version:references:subject:to :x-me-proxy:x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s= fm2; bh=2JmA5h++vuWm1H1qeV91zQriXeCwg4vJQ5x7RcqWqoo=; b=3L+OLvHw Cjbu+1S6Xs79+/1/Xz2Sz4p+CKGdN3xaBfKbAG1ni2CP4fJI9Xc2gr6kFiNiIPst 9IX00VLDXA0GIJ9ttvpmkqhXzs3a+3wbUTzn7tMlUKoyVM0AcE3xlkEI5cfs/5UC sdt7pdfer+rqcl1t52Ura9j4AMqfDvzOfCRdlbu7IMVrO+NarU5XgaHhMp0mMrEh DbQtUYdB9ZRt0Ob8gZKkj2gwYe1UGCjLh43qwD3E+fkcKaMkjFLASliFihHp7+h8 fG0re/aS8IWjYnNQOD3sLmuzqZhucUg/MhqzByyFe8DhWpauy985UhkQBf/G7iNV 7+DYgR1gI1CCvQ== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedugedriedugdduudcutefuodetggdotefrodftvf curfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfghnecu uegrihhlohhuthemuceftddtnecunecujfgurhephffvufffkffojghfggfgsedtkeertd ertddtnecuhfhrohhmpeforgigihhmvgcutfhiphgrrhguuceomhgrgihimhgvsegtvghr nhhordhtvggthheqnecukfhppeeltddrkeelrdeikedrjeeinecuvehluhhsthgvrhfuih iivgeptdenucfrrghrrghmpehmrghilhhfrhhomhepmhgrgihimhgvsegtvghrnhhordht vggthh X-ME-Proxy: Received: from localhost (lfbn-tou-1-1502-76.w90-89.abo.wanadoo.fr [90.89.68.76]) by mail.messagingengine.com (Postfix) with ESMTPA id B92F1328005E; Mon, 10 Feb 2020 05:07:25 -0500 (EST) From: Maxime Ripard To: Chen-Yu Tsai , Maxime Ripard Subject: [PATCH 2/2] ARM: dts: sunxi: Remove redundant assigned-clocks Date: Mon, 10 Feb 2020 11:07:18 +0100 Message-Id: <20200210100718.78951-2-maxime@cerno.tech> X-Mailer: git-send-email 2.24.1 In-Reply-To: <20200210100718.78951-1-maxime@cerno.tech> References: <20200210100718.78951-1-maxime@cerno.tech> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20200210_020726_894452_15264B4B X-CRM114-Status: UNSURE ( 7.95 ) X-CRM114-Notice: Please train this message. X-Spam-Score: -0.9 (/) X-Spam-Report: SpamAssassin version 3.4.3 on bombadil.infradead.org summary: Content analysis details: (-0.9 points) pts rule name description ---- ---------------------- -------------------------------------------------- 0.0 RCVD_IN_MSPIKE_H3 RBL: Good reputation (+3) [66.111.4.28 listed in wl.mailspike.net] -0.7 RCVD_IN_DNSWL_LOW RBL: Sender listed at https://www.dnswl.org/, low trust [66.111.4.28 listed in list.dnswl.org] -0.0 SPF_HELO_PASS SPF: HELO matches SPF record -0.0 SPF_PASS SPF: sender matches SPF record -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature -0.1 DKIM_VALID_EF Message has a valid DKIM or DK signature from envelope-from domain -0.1 DKIM_VALID_AU Message has a valid DKIM or DK signature from author's domain 0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily valid 0.0 RCVD_IN_MSPIKE_WL Mailspike good senders X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Maxime Ripard , linux-arm-kernel@lists.infradead.org Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org The display DRC nodes have an assigned clocks property, while the driver also enforces it. Since assigned-clocks is pretty fragile anyway, let's just remove it. Signed-off-by: Maxime Ripard --- arch/arm/boot/dts/sun6i-a31.dtsi | 6 ------ arch/arm/boot/dts/sun8i-a23-a33.dtsi | 3 --- 2 files changed, 9 deletions(-) diff --git a/arch/arm/boot/dts/sun6i-a31.dtsi b/arch/arm/boot/dts/sun6i-a31.dtsi index f41440ecbdad..f3425a66fc0a 100644 --- a/arch/arm/boot/dts/sun6i-a31.dtsi +++ b/arch/arm/boot/dts/sun6i-a31.dtsi @@ -1182,9 +1182,6 @@ drc1: drc@1e50000 { "ram"; resets = <&ccu RST_AHB1_DRC1>; - assigned-clocks = <&ccu CLK_IEP_DRC1>; - assigned-clock-rates = <300000000>; - ports { #address-cells = <1>; #size-cells = <0>; @@ -1268,9 +1265,6 @@ drc0: drc@1e70000 { "ram"; resets = <&ccu RST_AHB1_DRC0>; - assigned-clocks = <&ccu CLK_IEP_DRC0>; - assigned-clock-rates = <300000000>; - ports { #address-cells = <1>; #size-cells = <0>; diff --git a/arch/arm/boot/dts/sun8i-a23-a33.dtsi b/arch/arm/boot/dts/sun8i-a23-a33.dtsi index 48487f6d4ab9..c1362d0f0ff8 100644 --- a/arch/arm/boot/dts/sun8i-a23-a33.dtsi +++ b/arch/arm/boot/dts/sun8i-a23-a33.dtsi @@ -684,9 +684,6 @@ drc0: drc@1e70000 { clock-names = "ahb", "mod", "ram"; resets = <&ccu RST_BUS_DRC>; - assigned-clocks = <&ccu CLK_DRC>; - assigned-clock-rates = <300000000>; - ports { #address-cells = <1>; #size-cells = <0>;