From patchwork Wed Nov 2 17:10:05 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Kory Maincent X-Patchwork-Id: 13028665 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 2BD67C433FE for ; Wed, 2 Nov 2022 17:11:37 +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:Cc:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=bCNCBt4+P+EjAxwt91SkGp5HuZixiJjBXhE4M1oClk8=; b=sEg/CA1OO7wV6Q G6dxRWuBk8d7c5TQhCuRgFy9wTWy4Q8UtjQ62KFrKwCPwvs2x5Y0loc5FJuu61X+UFjDKXooRrnDQ C7uazjvD4NG2iHlsKkIBxiU7uj/9Bg0O1xJPSEfcvUmM63avhOkmse+F2u5P9oS9F16bClknI2HIJ 61VslPazTAueHjuE61ohFaR9c0t2XdhURelGME9vAI8Mk4pEiFVTq0ddCDlLuMML8D/ERDXJKVqX8 IHVwO7Hfys0fcoTUZTDa1ZEpuYhPTL8xPsCOSxxYlsIXEfjdctxmgC/lfN0BdvIpJ3C/Jr+HvITVZ Nn8zd4cEnG+2GtFQgG5g==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1oqHG7-00COHj-4z; Wed, 02 Nov 2022 17:10:35 +0000 Received: from relay11.mail.gandi.net ([217.70.178.231]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1oqHG0-00COE2-9H for linux-arm-kernel@lists.infradead.org; Wed, 02 Nov 2022 17:10:29 +0000 Received: (Authenticated sender: kory.maincent@bootlin.com) by mail.gandi.net (Postfix) with ESMTPSA id 7C67C100004; Wed, 2 Nov 2022 17:10:19 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bootlin.com; s=gm1; t=1667409025; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=wdwS+mYVi4ML2nO4sgk8gy4I60gyxdMdtfIOvOw4A8M=; b=Zh8Q+a2CHaJCLr8+0y4ODpmoIy7Lj7udfg+eeAeopyQEIEV10VtWxDL4LiKs/uWuvybKuw /CC1Fvg5Jsg4KppD6bbCnngypqP63D9ygBYHPJfF0vq9VDoR7f5vB+j0Oa4b0mMl5x1H7+ C+IUHA6OpEd0vzLGnCqIqA/cWlMHhCyshMFztn7naTGStmBcXDE0TF/VC2uogRLrZWFkfn ideF8FRW/Zp7qFFVHYObwBkulpV1IhG1jgCLlmzFtTUNLitnnxy4323ABQDLobflEPWzH/ hx1jRngGpiZRGyZ+x0bFvSvzYATUHEHCL2oYcpMvkqW6+L6/iW+KoT6AwqGgcA== From: =?utf-8?q?K=C3=B6ry_Maincent?= To: viresh.kumar@linaro.org, Bhavna Yadav , Rajeev Kumar , Deepak Sikri , Shiraz Hashim , Vipin Kumar , linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-clk@vger.kernel.org Cc: Kory Maincent , thomas.petazzoni@bootlin.com, Viresh Kumar , soc@kernel.org, Rob Herring , Krzysztof Kozlowski , Russell King , Michael Turquette , Stephen Boyd , Arnd Bergmann , Sudeep Holla , Gregory CLEMENT , Alexandre Ghiti , Vijay Kumar Mishra Subject: [PATCH v2 1/6] arm: configs: spear6xx: Refresh defconfig Date: Wed, 2 Nov 2022 18:10:05 +0100 Message-Id: <20221102171012.49150-2-kory.maincent@bootlin.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20221102171012.49150-1-kory.maincent@bootlin.com> References: <20221102171012.49150-1-kory.maincent@bootlin.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20221102_101028_480130_498799BE X-CRM114-Status: GOOD ( 11.23 ) 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 From: Kory Maincent Refresh the defconfig to follow the changes made over the year. I ensure important options have not gone away. I drop the gpio sysfs config as it is useless to keep it alone without CONFIG_EXPERT. Signed-off-by: Kory Maincent Acked-by: Viresh Kumar --- arch/arm/configs/spear6xx_defconfig | 5 ----- 1 file changed, 5 deletions(-) diff --git a/arch/arm/configs/spear6xx_defconfig b/arch/arm/configs/spear6xx_defconfig index 3d631b1f3cfa..1cf0621d2154 100644 --- a/arch/arm/configs/spear6xx_defconfig +++ b/arch/arm/configs/spear6xx_defconfig @@ -11,7 +11,6 @@ CONFIG_PARTITION_ADVANCED=y CONFIG_BINFMT_MISC=y CONFIG_NET=y CONFIG_MTD=y -CONFIG_MTD_OF_PARTS=y CONFIG_MTD_BLOCK=y CONFIG_MTD_RAW_NAND=y CONFIG_MTD_NAND_FSMC=y @@ -28,19 +27,15 @@ CONFIG_NETDEVICES=y # CONFIG_NET_VENDOR_SMSC is not set CONFIG_STMMAC_ETH=y # CONFIG_WLAN is not set -CONFIG_INPUT_FF_MEMLESS=y -# CONFIG_INPUT_MOUSEDEV_PSAUX is not set # CONFIG_INPUT_KEYBOARD is not set # CONFIG_INPUT_MOUSE is not set # CONFIG_LEGACY_PTYS is not set CONFIG_SERIAL_AMBA_PL011=y CONFIG_SERIAL_AMBA_PL011_CONSOLE=y -CONFIG_RAW_DRIVER=y CONFIG_I2C=y CONFIG_I2C_DESIGNWARE_PLATFORM=y CONFIG_SPI=y CONFIG_SPI_PL022=y -CONFIG_GPIO_SYSFS=y CONFIG_GPIO_PL061=y # CONFIG_HWMON is not set CONFIG_WATCHDOG=y From patchwork Wed Nov 2 17:10:06 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Kory Maincent X-Patchwork-Id: 13028666 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 6BD34C4321E for ; Wed, 2 Nov 2022 17:11:49 +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: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=Ou4FfEIirhmD3E5oNBwibrkjitzdhLZlWqjXnPYSQM8=; b=ZfLsiZAolqJy2D jkbAmZVKUTPNVKAHbtxrMXFIaEz9aa8TYKrDpNNsLn6gecviSD0cNvDYcQZWOvmBXY5O1TsqUtet3 ecLj3cUTjuymK19+YPwpf22ovCLPzoWlpVXIMLQMVzJMpMNpqtvrhMXm9dTUSYz4ZUDknyojByexf sr1y1ftGi1vz4n0TbY2GyW30IB6ANJc6qF9+kyKHUTcaiBNVRjDSWiojvT5zzRam4JIdOqrFApFpl DnAYCyHQ2bRwtirSB6bxmmWOA1bC0vskZqYG9M846oDQ9rf3SXvCjvCoGH5NmAegi9dFjKOtsQONk bTO54ly7P4zvGDy6cNCQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1oqHGH-00COLx-Vf; Wed, 02 Nov 2022 17:10:46 +0000 Received: from relay11.mail.gandi.net ([2001:4b98:dc4:8::231]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1oqHG8-00COHw-C9 for linux-arm-kernel@lists.infradead.org; Wed, 02 Nov 2022 17:10:37 +0000 Received: (Authenticated sender: kory.maincent@bootlin.com) by mail.gandi.net (Postfix) with ESMTPSA id E8A9610000B; Wed, 2 Nov 2022 17:10:26 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bootlin.com; s=gm1; t=1667409034; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=KYBK5k2s8EG/YP+dGH+hD0jM9bq3cBqVP2T7Rex7x7Y=; b=jgmnROX/jjYlKksIviewePdP+mRJJwCfsGZCr+BaSDRMVENY1TedvNF/hE4yeBMqwaIyY/ DMMC6szGy8gWvrglPkJ14/EkcKxgGI0jyxnVxdkS4iaWTTTwVdoTkYnTIZ47sn3utn8982 z/ertK095Cc9xbqDatSlFnR9NuYZTMmU9+UiWQkHYt1QYu9qKu5DHzjDjIjH8uQjZ8Vx0k IrrYObdUTgGcaprMaByz9U5AUkooYFx14G2qO9AUoA6uX/PiyghntfG5bdw730cMG39U6d klb3cOP5nL3u+QSHxhS5PXRk7AGUicBRKU0JB99UwA0FxN0q2b5Kc7CMNGjpMw== From: =?utf-8?q?K=C3=B6ry_Maincent?= To: viresh.kumar@linaro.org, Rajeev Kumar , Deepak Sikri , Vipul Kumar Samar , Bhavna Yadav , Vipin Kumar , linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-clk@vger.kernel.org Subject: [PATCH v2 2/6] arm: dts: spear600: Fix clcd interrupt Date: Wed, 2 Nov 2022 18:10:06 +0100 Message-Id: <20221102171012.49150-3-kory.maincent@bootlin.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20221102171012.49150-1-kory.maincent@bootlin.com> References: <20221102171012.49150-1-kory.maincent@bootlin.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20221102_101036_619160_509C6244 X-CRM114-Status: GOOD ( 12.45 ) 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: , Cc: Kory Maincent , Krzysztof Kozlowski , Arnd Bergmann , Stephen Boyd , Viresh Kumar , Michael Turquette , Russell King , soc@kernel.org, Rob Herring , thomas.petazzoni@bootlin.com, Sudeep Holla , Alexandre Ghiti , Shiraz Hashim , Gregory CLEMENT , Vijay Kumar Mishra Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org From: Kory Maincent Interrupt 12 of the Interrupt controller belongs to the SMI controller, the right one for the display controller is the interrupt 13. Fixes: 8113ba917dfa ("ARM: SPEAr: DT: Update device nodes") Signed-off-by: Kory Maincent Acked-by: Viresh Kumar --- arch/arm/boot/dts/spear600.dtsi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm/boot/dts/spear600.dtsi b/arch/arm/boot/dts/spear600.dtsi index fd41243a0b2c..9d5a04a46b14 100644 --- a/arch/arm/boot/dts/spear600.dtsi +++ b/arch/arm/boot/dts/spear600.dtsi @@ -47,7 +47,7 @@ clcd: clcd@fc200000 { compatible = "arm,pl110", "arm,primecell"; reg = <0xfc200000 0x1000>; interrupt-parent = <&vic1>; - interrupts = <12>; + interrupts = <13>; status = "disabled"; }; From patchwork Wed Nov 2 17:10:07 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Kory Maincent X-Patchwork-Id: 13028667 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 B1666C4332F for ; Wed, 2 Nov 2022 17:11:50 +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:Cc:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=DU86h/PsseoaIjLWVRqrca/3/+Hc3autt712BLArmOs=; b=FHl78JFXnLozZu WKoyGmQf/ubQNwc746NFH/0bQuTvaS4pnzFjS6hq/6Ud5rMqfPteP3DdHOwVyTAdJyUvyNf3m+N/I IGA/r86HqelE1c/FgPgQXLooVpkFrqQRPFDne0qtF+7stINKYHvHRBybZ7Iz5xrvvmakbksx1KV6M i5vW/iAE8QZccnAowQiU3vJb+sOh0VnKEi9mWi/7j9fNUcliKI2eKrKwCF+8vpveZ5iEWL64F5Qhf 89ydth0fB8k02WL+y7cU/KiGj/6aO0sv4mz3SXvjarK6izyntIgXdnuXiz845B+pT0gGlV5UDdP2R UGZSeKABchAPtHuJI/AQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1oqHGR-00CORU-QH; Wed, 02 Nov 2022 17:10:55 +0000 Received: from relay11.mail.gandi.net ([217.70.178.231]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1oqHGG-00COLX-GC for linux-arm-kernel@lists.infradead.org; Wed, 02 Nov 2022 17:10:45 +0000 Received: (Authenticated sender: kory.maincent@bootlin.com) by mail.gandi.net (Postfix) with ESMTPSA id 71B8910000D; Wed, 2 Nov 2022 17:10:36 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bootlin.com; s=gm1; t=1667409043; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=9im9oukiPyG1+HKqvVPIahRf1Gk4Tnzj4mBOMEVT6/U=; b=MP1ZJuZIRRtvKLUTIW44RnwT/MDtN3lzY7+XYfXQJsNwZ+tYDD6eXfaEfYo2xaf6vxDftF tKSt1UVCRzzIAew/wSbcORmLRlNb48m27GEcXRLmNnYBq2az4+b88/ErYIO9uiqd8RlFlN xKC5/8Mdpabl/fHjN+fQZk75aYTNhWxQD3Woty1DSeHzDSRjfD+9xnKZEs9yWk6HkE2REj SHsNW48fSzaRqFACCiPWL3v9XnnSIDa/aKim1P7Sbl1zuGwwZjk/qCdKTNETVAkcobSQH7 tkN5gzcPXvFl3X2Pg06JCMwWLJ1jEL3KP1dzZRhZDZoTi+LqTFvjblw285jkTA== From: =?utf-8?q?K=C3=B6ry_Maincent?= To: viresh.kumar@linaro.org, Vipul Kumar Samar , Vipin Kumar , Deepak Sikri , Bhavna Yadav , linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-clk@vger.kernel.org Cc: Kory Maincent , thomas.petazzoni@bootlin.com, Viresh Kumar , Shiraz Hashim , soc@kernel.org, Rob Herring , Krzysztof Kozlowski , Russell King , Michael Turquette , Stephen Boyd , Arnd Bergmann , Gregory CLEMENT , Sudeep Holla , Claudiu Beznea , Alexandre Ghiti , Rajeev Kumar Subject: [PATCH v2 3/6] arm: configs: spear6xx: Enable PL110 display controller Date: Wed, 2 Nov 2022 18:10:07 +0100 Message-Id: <20221102171012.49150-4-kory.maincent@bootlin.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20221102171012.49150-1-kory.maincent@bootlin.com> References: <20221102171012.49150-1-kory.maincent@bootlin.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20221102_101044_699565_9F5BEF1A X-CRM114-Status: GOOD ( 10.43 ) 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 From: Kory Maincent Enable the PL110 DRM driver, used by the spear600. Signed-off-by: Kory Maincent Acked-by: Viresh Kumar Acked-by: Linus Walleij --- Notes: Changes since v1: - Do not drop CONFIG_I2C arch/arm/configs/spear6xx_defconfig | 2 ++ 1 file changed, 2 insertions(+) diff --git a/arch/arm/configs/spear6xx_defconfig b/arch/arm/configs/spear6xx_defconfig index 1cf0621d2154..3e2c2abae5ba 100644 --- a/arch/arm/configs/spear6xx_defconfig +++ b/arch/arm/configs/spear6xx_defconfig @@ -40,6 +40,8 @@ CONFIG_GPIO_PL061=y # CONFIG_HWMON is not set CONFIG_WATCHDOG=y CONFIG_ARM_SP805_WATCHDOG=y +CONFIG_DRM=y +CONFIG_DRM_PL111=y CONFIG_USB=y CONFIG_USB_EHCI_HCD=y CONFIG_USB_OHCI_HCD=y From patchwork Wed Nov 2 17:10:08 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Kory Maincent X-Patchwork-Id: 13028668 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 EF7E6C4332F for ; Wed, 2 Nov 2022 17:12:12 +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:Cc:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=Y2QNkTsjk3m+xEc5zuWBsF967B+TKUF6lOrzHPVuU8A=; b=xLaRtQyqUdaFmp UjYV9sqi7D3czbSwzkCP/yZrHFSfQU8CsYmez27hJ1zvBRK+3l5TWyfPOcOjVZCzHuKEv+t7FQwbe bTiwEkWEcAeCpjGh7YWSgmjsysUespI7BMGCA5dTdZpHV3iuKI023OKH7ucAtfANztwe3lLGMG4+y pQ/qhyXvi11HYT1BfKus/fZlm+Di6Vd4aXdB2oPZ2CeGbjw1XgJ0Lc7KTdbDjCoXaIcy3OlmnSAOP raNv+AopVbYRrPtrPYXgNjoP9aj5BRZoC1VsA1jrsnsw+jCazmJ8Id59y0aforpnOowl5NMIJqJqD 5oyGrwAJ6F70j3BXm0mA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1oqHGi-00COcs-Hp; Wed, 02 Nov 2022 17:11:12 +0000 Received: from relay11.mail.gandi.net ([2001:4b98:dc4:8::231]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1oqHGN-00COP7-CK for linux-arm-kernel@lists.infradead.org; Wed, 02 Nov 2022 17:10:52 +0000 Received: (Authenticated sender: kory.maincent@bootlin.com) by mail.gandi.net (Postfix) with ESMTPSA id A112E100005; Wed, 2 Nov 2022 17:10:44 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bootlin.com; s=gm1; t=1667409049; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=lLraTOre/NKFIPvF9c2t40s43oz6eKUAFvet+eTCKV0=; b=WmNKFJHK63xQXbwWl9oU5MBFMc4LRfHpv0gu5rNegTQbfnudu6Nv7o281N+ksOXxusOqDx sK+wWtgk2GDBQ8j0K2aA6NT1i3SrE8Dto2pFxIh4NAn9MOE4oZP2di1BYLYvb0Yy5h7GMj /9WM0xSKn5lQeKVa1owc9FcxR3UbBumgyvkouC3kc47fLF8h8cskIHfVbEFW+GRGAoKYjE TUcRQWO1bbhtPioqAg7y2aP8XLUEe9yngQJ8dixYAZLvtBYlREbN6UgwFSTK79IUyJhAOo zk0wlRNHLF18y475ScT9GPjHI7wjWPMdDUIfnnnOeXYsmWQCWxGqNEv/6GmI/A== From: =?utf-8?q?K=C3=B6ry_Maincent?= To: viresh.kumar@linaro.org, Vipin Kumar , Shiraz Hashim , Vijay Kumar Mishra , Rajeev Kumar , Deepak Sikri , linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-clk@vger.kernel.org Cc: Kory Maincent , thomas.petazzoni@bootlin.com, Viresh Kumar , soc@kernel.org, Rob Herring , Krzysztof Kozlowski , Russell King , Michael Turquette , Stephen Boyd , Arnd Bergmann , Gregory CLEMENT , Sudeep Holla , Claudiu Beznea , Alexandre Ghiti , Bhavna Yadav , Vipul Kumar Samar Subject: [PATCH v2 4/6] clk: spear: Fix CLCD clock definition on SPEAr600 Date: Wed, 2 Nov 2022 18:10:08 +0100 Message-Id: <20221102171012.49150-5-kory.maincent@bootlin.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20221102171012.49150-1-kory.maincent@bootlin.com> References: <20221102171012.49150-1-kory.maincent@bootlin.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20221102_101051_624011_4FFC53BD X-CRM114-Status: GOOD ( 12.83 ) 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 From: Kory Maincent There is no SPEAr600 device named "clcd". Instead, the description of the CLCD (color liquid crystal display controller) name is "fc200000.clcd", so we should associate the CLCD gateable clock to this device name. Signed-off-by: Kory Maincent Acked-by: Viresh Kumar --- drivers/clk/spear/spear6xx_clock.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/clk/spear/spear6xx_clock.c b/drivers/clk/spear/spear6xx_clock.c index c192a9141b86..ee0ed89f2954 100644 --- a/drivers/clk/spear/spear6xx_clock.c +++ b/drivers/clk/spear/spear6xx_clock.c @@ -207,7 +207,7 @@ void __init spear6xx_clk_init(void __iomem *misc_base) clk = clk_register_gate(NULL, "clcd_clk", "clcd_mclk", 0, PERIP1_CLK_ENB, CLCD_CLK_ENB, 0, &_lock); - clk_register_clkdev(clk, NULL, "clcd"); + clk_register_clkdev(clk, NULL, "fc200000.clcd"); /* gpt clocks */ clk = clk_register_gpt("gpt0_1_syn_clk", "pll1_clk", 0, PRSC0_CLK_CFG, From patchwork Wed Nov 2 17:10:09 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Kory Maincent X-Patchwork-Id: 13028669 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 3608CC433FE for ; Wed, 2 Nov 2022 17:12:31 +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:Cc:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=/E6Xv+5DP2luUNVwCt/Thv6bAUy9uohc/CvBluY6Zx4=; b=Zm4UuuFnO6Ve7a BbpowgEO3diX9IxA7tJoYQXmQxEz8+BbGYEIUSdZXdHJq2sOx5aSwxYi/qAvcDJFYetNHxDjGM4oj DOio2Q8/atb+EHVvM0iNOuyEZHOk9KPoc1C7cI06XdfcDcd9GLFsJeaDzMueG7AUiHWo0atyWoHrx Ut0PJ5KXlgDPhojWlD6tvIgeaVs73F4HR/ZtnZFnHPz/sEIsWFzHeu55bx28AtW+WXUpAB+TqLByD yECSW1Ts7WQBsXLLGsdk1dzMy+43YfNSJWaHFwyiB6Rs47yc0KnRt/FTkna1bxpS0MhLSYEN/7pqO RMV1G7Z2hINVUUHj8xdg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1oqHGy-00COp5-KR; Wed, 02 Nov 2022 17:11:28 +0000 Received: from relay11.mail.gandi.net ([217.70.178.231]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1oqHGT-00COST-E3 for linux-arm-kernel@lists.infradead.org; Wed, 02 Nov 2022 17:10:58 +0000 Received: (Authenticated sender: kory.maincent@bootlin.com) by mail.gandi.net (Postfix) with ESMTPSA id 45B94100002; Wed, 2 Nov 2022 17:10:51 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bootlin.com; s=gm1; t=1667409056; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=p8mWfxTqG3njBupNc7jr4TNdhtRp5mSbUkZFra7Ci3M=; b=cWRdwtePCUtnPM3jHxe+2JjJotQPFoUULC6YOmKwF4MtFlUfp6zmH81PXMkqgPJ89g45W4 xBr1J3gIjLLMBEmHUgHZLDveWmnB648gzw9yR4K6OzjkmqwrE0pOqWzAOIq66v+GAo4y1Z 31hV3Vn2z+yI+x7zE0d1qLWJ5mkPwYPygR4UbXhDKRqOck01PeiiQx70iAAuZ35P3+1LdY /KuOADv2rDWUG+YcbhHyXOVD8/edf5hh99m6feSmjSdZMSqwQCP8K/5+WoIFSzNFZiCojc mb/GSl/mPRAU83q7opk4OTv0IOsyPSjW+Xg98QfdIBM87B8kb1hqHkXIJmRKIA== From: =?utf-8?q?K=C3=B6ry_Maincent?= To: viresh.kumar@linaro.org, Vipin Kumar , Rajeev Kumar , Shiraz Hashim , Vijay Kumar Mishra , Vipul Kumar Samar , linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-clk@vger.kernel.org Cc: Kory Maincent , thomas.petazzoni@bootlin.com, Viresh Kumar , soc@kernel.org, Rob Herring , Krzysztof Kozlowski , Russell King , Michael Turquette , Stephen Boyd , Arnd Bergmann , Gregory CLEMENT , Sudeep Holla , Alexandre Ghiti , Deepak Sikri , Bhavna Yadav Subject: [PATCH v2 5/6] arm: dts: spear600: Add ssp controller nodes Date: Wed, 2 Nov 2022 18:10:09 +0100 Message-Id: <20221102171012.49150-6-kory.maincent@bootlin.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20221102171012.49150-1-kory.maincent@bootlin.com> References: <20221102171012.49150-1-kory.maincent@bootlin.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20221102_101057_635565_4449E5CB X-CRM114-Status: GOOD ( 10.81 ) 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 From: Kory Maincent The SPEAr600 has three Synchronous serial port to enables synchronous serial communication with slave or master peripherals (SPI). Lets add these nodes to be able to use them. Signed-off-by: Kory Maincent Acked-by: Viresh Kumar --- arch/arm/boot/dts/spear600.dtsi | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) diff --git a/arch/arm/boot/dts/spear600.dtsi b/arch/arm/boot/dts/spear600.dtsi index 9d5a04a46b14..6b67c0ceaed9 100644 --- a/arch/arm/boot/dts/spear600.dtsi +++ b/arch/arm/boot/dts/spear600.dtsi @@ -207,6 +207,36 @@ adc: adc@d820b000 { interrupts = <6>; status = "disabled"; }; + + ssp1: spi@d0100000 { + compatible = "arm,pl022", "arm,primecell"; + reg = <0xd0100000 0x1000>; + #address-cells = <1>; + #size-cells = <0>; + interrupt-parent = <&vic0>; + interrupts = <26>; + status = "disabled"; + }; + + ssp2: spi@d0180000 { + compatible = "arm,pl022", "arm,primecell"; + reg = <0xd0180000 0x1000>; + #address-cells = <1>; + #size-cells = <0>; + interrupt-parent = <&vic0>; + interrupts = <27>; + status = "disabled"; + }; + + ssp3: spi@d8180000 { + compatible = "arm,pl022", "arm,primecell"; + reg = <0xd8180000 0x1000>; + #address-cells = <1>; + #size-cells = <0>; + interrupt-parent = <&vic1>; + interrupts = <5>; + status = "disabled"; + }; }; }; }; From patchwork Wed Nov 2 17:10:10 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Kory Maincent X-Patchwork-Id: 13028670 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 03362C4332F for ; Wed, 2 Nov 2022 17:12:44 +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:Cc:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=ulbs/sQ+UXZKVIUYaVkPaNPZaZyRtC8f/Y/XEaXHAn0=; b=3/oZW9KEzqsVqK XvL3UZhChoTM0xY1feoZLsZApCIYJ4U8H8//nXf85RvluLKS3uXCgwEeBwbuXnmOh6NkOdhWRnQMF htEiUgze7ZH9nQAB+r5eNGX2vvdakz+XADwoRfiG7NaWBWvbRQu1o2fC/ls29CLbuMpX+t12JG/I3 xagWxi08oBAkedIsGTG55PrhxPIFNd/RJO/20i6JxC3N4uq4JXCvvFb1XWEsEYwo73UYuuFGkNde0 RMDw/skhKWdXbsMxyh92AddCrjkBY36xxKT/7AT2ia1ci89rg/MGyu4Mv68h2UxnKc1jYB8ofHZMS VIN+u/islKX0JeVQKa/g==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1oqHHL-00CPDZ-GQ; Wed, 02 Nov 2022 17:11:51 +0000 Received: from relay11.mail.gandi.net ([217.70.178.231]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1oqHGa-00COXQ-EX for linux-arm-kernel@lists.infradead.org; Wed, 02 Nov 2022 17:11:06 +0000 Received: (Authenticated sender: kory.maincent@bootlin.com) by mail.gandi.net (Postfix) with ESMTPSA id 957D3100009; Wed, 2 Nov 2022 17:10:57 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bootlin.com; s=gm1; t=1667409063; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=C2xVfnlmooK7Qg1BmLHoWVwjVfzC1dVIJEO1AD5E1VU=; b=FwF9YkUVYzUrCoshasYZIRNKboNo6j1i0R4ypo9aBEDT5lyrnQWloO6wdIb3IXD9Hc0KGA bLyFCSbR9kqnEUDp2so6a7Pxk/ablv5ycwC91CsTv+Vh5mpBxPfC/hx4QRMi6sy5ZtR9hB AZMqkdZAdt/N6zVYqACerzJvn8yxIke3Ou+HN9V38aAv6MDbkfJtqulndK4Ib1xwE2Z6x6 R7lYDSFPvQU/SPcZQAb7hv1fP1qvDWzYZDT2W2G32zNyUyZm8WoaiaVQx5Heas1TB5NXr4 358zV1riX4xRPxQr82Jag2b6IEUy8q6hB6/vPA8gd93Db4f1mQKmHiAXe/0+/w== From: =?utf-8?q?K=C3=B6ry_Maincent?= To: viresh.kumar@linaro.org, Bhavna Yadav , Vijay Kumar Mishra , Rajeev Kumar , Deepak Sikri , linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-clk@vger.kernel.org Cc: Kory Maincent , thomas.petazzoni@bootlin.com, Viresh Kumar , Shiraz Hashim , soc@kernel.org, Rob Herring , Krzysztof Kozlowski , Russell King , Michael Turquette , Stephen Boyd , Arnd Bergmann , Sudeep Holla , Gregory CLEMENT , Neil Armstrong , Alexandre Ghiti , Vipul Kumar Samar , Vipin Kumar Subject: [PATCH v2 6/6] clk: spear: Fix SSP clock definition on SPEAr600 Date: Wed, 2 Nov 2022 18:10:10 +0100 Message-Id: <20221102171012.49150-7-kory.maincent@bootlin.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20221102171012.49150-1-kory.maincent@bootlin.com> References: <20221102171012.49150-1-kory.maincent@bootlin.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20221102_101104_655948_5B205954 X-CRM114-Status: GOOD ( 12.50 ) 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 From: Kory Maincent There is no SPEAr600 device named "ssp-pl022.x". Instead, the description of the SSP (Synchronous Serial Port) was recently added to the Device Tree, and the device name is "xxx.spi", so we should associate the SSP gateable clock to these device names. Signed-off-by: Kory Maincent Acked-by: Viresh Kumar --- drivers/clk/spear/spear6xx_clock.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/clk/spear/spear6xx_clock.c b/drivers/clk/spear/spear6xx_clock.c index ee0ed89f2954..adfa118520c3 100644 --- a/drivers/clk/spear/spear6xx_clock.c +++ b/drivers/clk/spear/spear6xx_clock.c @@ -326,13 +326,13 @@ void __init spear6xx_clk_init(void __iomem *misc_base) clk = clk_register_gate(NULL, "ssp0_clk", "apb_clk", 0, PERIP1_CLK_ENB, SSP0_CLK_ENB, 0, &_lock); - clk_register_clkdev(clk, NULL, "ssp-pl022.0"); + clk_register_clkdev(clk, NULL, "d0100000.spi"); clk = clk_register_gate(NULL, "ssp1_clk", "apb_clk", 0, PERIP1_CLK_ENB, SSP1_CLK_ENB, 0, &_lock); - clk_register_clkdev(clk, NULL, "ssp-pl022.1"); + clk_register_clkdev(clk, NULL, "d0180000.spi"); clk = clk_register_gate(NULL, "ssp2_clk", "apb_clk", 0, PERIP1_CLK_ENB, SSP2_CLK_ENB, 0, &_lock); - clk_register_clkdev(clk, NULL, "ssp-pl022.2"); + clk_register_clkdev(clk, NULL, "d8180000.spi"); }