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: 13028638 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 vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 056A5C4332F for ; Wed, 2 Nov 2022 17:10:32 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230017AbiKBRKa (ORCPT ); Wed, 2 Nov 2022 13:10:30 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:36160 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229996AbiKBRK1 (ORCPT ); Wed, 2 Nov 2022 13:10:27 -0400 Received: from relay11.mail.gandi.net (relay11.mail.gandi.net [217.70.178.231]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 958481707A; Wed, 2 Nov 2022 10:10:26 -0700 (PDT) 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 Precedence: bulk List-ID: X-Mailing-List: linux-clk@vger.kernel.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: 13028639 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 vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id D5199C433FE for ; Wed, 2 Nov 2022 17:10:40 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230266AbiKBRKj (ORCPT ); Wed, 2 Nov 2022 13:10:39 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:36390 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230421AbiKBRKh (ORCPT ); Wed, 2 Nov 2022 13:10:37 -0400 Received: from relay11.mail.gandi.net (relay11.mail.gandi.net [217.70.178.231]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 1667F1CB17; Wed, 2 Nov 2022 10:10:35 -0700 (PDT) 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 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 , Nicolas Ferre , Alexandre Ghiti , Vijay Kumar Mishra 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 Precedence: bulk List-ID: X-Mailing-List: linux-clk@vger.kernel.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: 13028640 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 vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id C5CA6C4332F for ; Wed, 2 Nov 2022 17:10:49 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230468AbiKBRKs (ORCPT ); Wed, 2 Nov 2022 13:10:48 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:36624 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230487AbiKBRKr (ORCPT ); Wed, 2 Nov 2022 13:10:47 -0400 Received: from relay11.mail.gandi.net (relay11.mail.gandi.net [IPv6:2001:4b98:dc4:8::231]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 78F631CB1C; Wed, 2 Nov 2022 10:10:44 -0700 (PDT) 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 Precedence: bulk List-ID: X-Mailing-List: linux-clk@vger.kernel.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: 13028641 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 vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id E38D5C433FE for ; Wed, 2 Nov 2022 17:11:01 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231297AbiKBRLA (ORCPT ); Wed, 2 Nov 2022 13:11:00 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:36792 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229996AbiKBRKw (ORCPT ); Wed, 2 Nov 2022 13:10:52 -0400 Received: from relay11.mail.gandi.net (relay11.mail.gandi.net [IPv6:2001:4b98:dc4:8::231]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 301D01DF08; Wed, 2 Nov 2022 10:10:51 -0700 (PDT) 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 Precedence: bulk List-ID: X-Mailing-List: linux-clk@vger.kernel.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: 13028642 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 vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id BF6ADC43217 for ; Wed, 2 Nov 2022 17:11:13 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231293AbiKBRLI (ORCPT ); Wed, 2 Nov 2022 13:11:08 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:37066 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231235AbiKBRLA (ORCPT ); Wed, 2 Nov 2022 13:11:00 -0400 Received: from relay11.mail.gandi.net (relay11.mail.gandi.net [217.70.178.231]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 373D11A046; Wed, 2 Nov 2022 10:10:57 -0700 (PDT) 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 Precedence: bulk List-ID: X-Mailing-List: linux-clk@vger.kernel.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: 13028643 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 vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id A709BC4332F for ; Wed, 2 Nov 2022 17:11:47 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230173AbiKBRLq (ORCPT ); Wed, 2 Nov 2022 13:11:46 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:36626 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231255AbiKBRLF (ORCPT ); Wed, 2 Nov 2022 13:11:05 -0400 Received: from relay11.mail.gandi.net (relay11.mail.gandi.net [217.70.178.231]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 4056E17E38; Wed, 2 Nov 2022 10:11:04 -0700 (PDT) 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 Precedence: bulk List-ID: X-Mailing-List: linux-clk@vger.kernel.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"); }