From patchwork Wed Oct 26 13:17:37 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Maxime Ripard X-Patchwork-Id: 13020604 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 2F9C1C433FE for ; Wed, 26 Oct 2022 13:20:40 +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:Cc:To:Message-Id:Date:MIME-Version: Subject: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=26cWkaB0ZtjGvS5WNXP6lcPuDtaZAUZM73xsS5o180w=; b=NS4t/P5KgsESrc pYvAnXkbk6GRH+ngptEhJY9lMPUC+1p5j2JwRTdJUI23uwlYsqsb7+7wL+dqYO8NVgUBr28F1in8Q FEeVD45U8yizAYQlKKryuVuJTYdr5l41TJPUf2aElFJllfn4NUCAlwqcr0+kT/ZP1pHu9TMaCNqY0 I7zc1cgK5mgtOUv+hY3f0YM6eKPHj9aPSqT9IZLVoVULsjHsHEZMouHCfsKWsVQhMdyDkf268Ic7K NSluLL27prJW3p0ufbVTWdaKSkJuEDAKX40K1wuoy8I27g03D7tQsWcwDRkeO51H4Uij4+Jp9IrEg 77ZYeJpz9tLk+zBgCH4A==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1ongJf-009S82-UH; Wed, 26 Oct 2022 13:19:32 +0000 Received: from new2-smtp.messagingengine.com ([66.111.4.224]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1ongJJ-009S0U-6y; Wed, 26 Oct 2022 13:19:12 +0000 Received: from compute1.internal (compute1.nyi.internal [10.202.2.41]) by mailnew.nyi.internal (Postfix) with ESMTP id 6BA80580607; Wed, 26 Oct 2022 09:19:04 -0400 (EDT) Received: from mailfrontend2 ([10.202.2.163]) by compute1.internal (MEProxy); Wed, 26 Oct 2022 09:19:04 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cerno.tech; h=cc :cc:content-transfer-encoding:content-type:date:date:from:from :in-reply-to:message-id:mime-version:reply-to:sender:subject :subject:to:to; s=fm3; t=1666790344; x=1666797544; bh=wszv/k4GyR LXwHILyqHKs7t9b42cIN/cP7xoErtZWxE=; b=FieEWp97Zj/gSt/IhBLTjKUNu/ vyxw4Pa8fN2M1KdNu5k1lY1HiY0uRcKIDUWSj+QHut/TNFxHS7v6p+39z2/b8agn Uuf+9cvJbxMQD15KsZBecM9Ma0bUL463bbHWWeokIZRAItS4l2e/s2ii0S3Bo8br dySvotg7xA7BezAVRYJSVpGXnzxLEU7Hen0SSDGO8zOE8I7w278ABaZ7YyoulECV OVeJ+bVgCmJbZ1sy4T9ukEvFSXUqWa0vKN6z1HbzL6U4ccibWC2IeU50HQAe9Hn5 UBn7j7d6WY6HaTXtiaH1tSlGF9BoIdY31gTY0q68aoOKTHKkELAb5FD5uZ9Q== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-transfer-encoding :content-type:date:date:feedback-id:feedback-id:from:from :in-reply-to:message-id:mime-version:reply-to:sender:subject :subject:to:to:x-me-proxy:x-me-proxy:x-me-sender:x-me-sender :x-sasl-enc; s=fm3; t=1666790344; x=1666797544; bh=wszv/k4GyRLXw HILyqHKs7t9b42cIN/cP7xoErtZWxE=; b=Xxk/C8gR4RvyzWnc40s5qGyl42LA4 lLI2WTRf1R0RMuSKsP/ASQGKHhWBmNTjdU8Gm3xWC+kf0MoYQWtpn9EFj8qoMgvF Agn9ajvQua0f3FY1aQD3fE6zrXCz7z+82wEKL4oPBpWMIaKgHp5fZcKND6bn2ipT VaP3eJjiipxSrqXp+EIWty7KlKpwOSRZk51GQ8SWNzCKPWAV8YDlIt7hHzEMKcgL KFP4ri/wZiT2m4XbFqd6QcAoe6V/81Bk3H5zYtk5moTGPYFnvw2R1aDq4LwSyo1b nvlOSiqr8uiJqeXmwgwMYcDkqz61kkM2S7e0lcnqUi6LvNeTTIiyCZ5iQ== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvgedrtddvgdeifecutefuodetggdotefrodftvf curfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfghnecu uegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmdenuc fjughrpefhufggtgfgfffkvfevofesthekredtredtjeenucfhrhhomhepmhgrgihimhgv segtvghrnhhordhtvggthhenucggtffrrghtthgvrhhnpefgfffhvdetheetvdfgjedttd eiuefhkeegtdekkeejgeefvdeiieehgfefjeduveenucevlhhushhtvghrufhiiigvpedt necurfgrrhgrmhepmhgrihhlfhhrohhmpehmrgigihhmvgestggvrhhnohdrthgvtghh X-ME-Proxy: Feedback-ID: i8771445c:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Wed, 26 Oct 2022 09:19:03 -0400 (EDT) From: maxime@cerno.tech Subject: [PATCH 0/2] ARM: dts: bcm283x: Switch to firmware clocks for Pi0-3 MIME-Version: 1.0 X-b4-tracking: H4sIAHEzWWMC/13OwQrCMAyA4VcZORvsOtTh22RdaoO1lnQoY+zdF68e/8MH/waNVbjBvdtA+SNN3s WiP3UQEpUHo8zW4J33vfNX1Co4S6uZVoxfDPmJbhh9vFGkC49gcKLGOCmVkH7UxPlPVOUsLymkK1Za QrKDfT8AfR4OEo0AAAA= Date: Wed, 26 Oct 2022 15:17:37 +0200 Message-Id: <20221026-rpi-display-fw-clk-v1-0-5c29b7a3d8b0@cerno.tech> To: Rob Herring , Krzysztof Kozlowski , Ray Jui , Scott Branden , Broadcom internal kernel review list , Florian Fainelli Cc: linux-rpi-kernel@lists.infradead.org, Maxime Ripard , Dave Stevenson , devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, Phil Elwell , linux-kernel@vger.kernel.org, Dom Cobley X-Mailer: b4 0.10.1 X-Developer-Signature: v=1; a=openpgp-sha256; l=2127; i=maxime@cerno.tech; h=from:subject:message-id; bh=ckRY9B9QAZzOgxB+4vCDP390J1dt7U0jDedMOt0GYh0=; b=owGbwMvMwCX2+D1vfrpE4FHG02pJDMmRxsXlEnPTPbyi+6cs733GOOFabWGt1P0yR12778mxyYUP Hnl0lLIwiHExyIopssQImy+JOzXrdScb3zyYOaxMIEMYuDgFYCIadxn+V79mWMxrNFWSraLKo/TDu6 z1Ex/rTfRf90za7sHFBnHBLww/GbXLVVakfFbY+2Hmp++H94a+d9BO0ivmFM5kveJh7P+JCwA= X-Developer-Key: i=maxime@cerno.tech; a=openpgp; fpr=BE5675C37E818C8B5764241C254BCFC56BF6CE8D X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20221026_061909_888341_FC5166F1 X-CRM114-Status: GOOD ( 10.52 ) 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 Hi, Over the years, the differences between the Pi0-3 and the Pi4 created a bunch of issues in the KMS driver that trace back to the policy differences between the clk-bcm2835 and clk-raspberrypi drivers. Instead of piling hacks over hacks to work around those differences, let's just follow what downstream is doing and use the clk-raspberrypi for all the KMS related devices. Let me know what you think, Maxime To: Rob Herring To: Krzysztof Kozlowski To: Florian Fainelli To: Broadcom internal kernel review list To: Ray Jui To: Scott Branden Cc: Dave Stevenson Cc: Dom Cobley Cc: Phil Elwell Cc: devicetree@vger.kernel.org Cc: linux-rpi-kernel@lists.infradead.org Cc: linux-arm-kernel@lists.infradead.org Cc: linux-kernel@vger.kernel.org Signed-off-by: Maxime Ripard --- Maxime Ripard (2): ARM: dts: bcm283x: Remove bcm2835-rpi-common.dtsi from SoC DTSI ARM: dts: bcm2835-rpi: Use firmware clocks for display arch/arm/boot/dts/bcm2835-rpi-a-plus.dts | 1 + arch/arm/boot/dts/bcm2835-rpi-a.dts | 1 + arch/arm/boot/dts/bcm2835-rpi-b-plus.dts | 1 + arch/arm/boot/dts/bcm2835-rpi-b-rev2.dts | 1 + arch/arm/boot/dts/bcm2835-rpi-b.dts | 1 + arch/arm/boot/dts/bcm2835-rpi-cm1.dtsi | 1 + arch/arm/boot/dts/bcm2835-rpi-common.dtsi | 17 +++++++++++++++++ arch/arm/boot/dts/bcm2835-rpi-zero-w.dts | 1 + arch/arm/boot/dts/bcm2835-rpi-zero.dts | 1 + arch/arm/boot/dts/bcm2835.dtsi | 1 - arch/arm/boot/dts/bcm2836-rpi.dtsi | 1 + arch/arm/boot/dts/bcm2836.dtsi | 1 - arch/arm/boot/dts/bcm2837.dtsi | 1 - 13 files changed, 26 insertions(+), 3 deletions(-) --- base-commit: 5398aeb71349b5e67658d51f46e12117060d867d change-id: 20221026-rpi-display-fw-clk-0382f7afa5e8 Best regards,