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: =?utf-8?q?K=C3=B6ry_Maincent?= X-Patchwork-Id: 14397 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:6687:0:0:0:0:0 with SMTP id l7csp33016wru; Wed, 2 Nov 2022 10:15:01 -0700 (PDT) X-Google-Smtp-Source: AMsMyM72Ydxc80NoglUA3Vn7OI8ZftYrrWlFFyAQOyNUEELCnlrf/3DjGQwH9zUwlV8Qu04iU4FB X-Received: by 2002:a17:907:971c:b0:7ad:7d51:8c10 with SMTP id jg28-20020a170907971c00b007ad7d518c10mr25313816ejc.473.1667409301654; Wed, 02 Nov 2022 10:15:01 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1667409301; cv=none; d=google.com; s=arc-20160816; b=JXpBFX30SuPUQPYQY+ItWyYRTb7dV9Zao5F+zVvO+ZQGv+1m8MyFdi3SL+W+FGMOeU YYQyIEU1OIKmmV1ykoEhVq1PvI2gMKIUS59OeF+TCjE/hkptQ1fI+jsDN5vEzJeIAWyq WouN+ugcv+qBYk05J1twsT1MFBPg+erybt77nQY2Uz8+r5PndWMBxN1qnqD0zEo94hSN EzIlA3fTW77q5IeOkV3sgBuxSfIsXA0SfzgCqGubZuN/T3HBrXLWC+z/+ERa215rHTwF MK8jpceWjBMoMj6FMvajDqWBN+WUfViITaFyz8ElIE22IazAhJD62RDPlQGkzIijPQ8X 4IKg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=wdwS+mYVi4ML2nO4sgk8gy4I60gyxdMdtfIOvOw4A8M=; b=KA26H4BNQl3n1I/XQqSXraVd8pnhHP/yD10eCSyZZFTMqrbW9KbnjwETvrxOk+Q+Zp iYihtPDlzM8sUU1xqgCNyu4neCvTiwFWtAxmNFAUWxQUVUhOmVtFOXNTvShIaDbSnLJ5 Rm8aJQLuuMDrMGbqx/Es6YJqdg0pEiGUCcK+naLG0lya8NE2ctRGGQQ2dcZmxWjTi83r 4GG0vLvNF3TK2M7OQ7lSCn5fTBDp44i3LiDzTQCeGclpM5Oh5J0v/7/oqfZr0Yng0edj 60W1V2lHiHVoP52vVM4WZlm4Vc5/ylkMSTDj32jwgi0VstnocT0bkD1F9Oxns5knVXAN VWkw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@bootlin.com header.s=gm1 header.b=Zh8Q+a2C; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=bootlin.com Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id dd13-20020a1709069b8d00b007adef1dceffsi8127967ejc.677.2022.11.02.10.14.36; Wed, 02 Nov 2022 10:15:01 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@bootlin.com header.s=gm1 header.b=Zh8Q+a2C; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=bootlin.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229539AbiKBRKb (ORCPT + 99 others); Wed, 2 Nov 2022 13:10:31 -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 X-Spam-Status: No, score=-2.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_LOW, RCVD_IN_MSPIKE_H2,SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1748405375863872229?= X-GMAIL-MSGID: =?utf-8?q?1748405375863872229?= 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: =?utf-8?q?K=C3=B6ry_Maincent?= X-Patchwork-Id: 14398 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:6687:0:0:0:0:0 with SMTP id l7csp33058wru; Wed, 2 Nov 2022 10:15:06 -0700 (PDT) X-Google-Smtp-Source: AMsMyM4lg0QEb6FOPpG0REEvM6zJk9usnNQSdO/gMVjUzGXs/gsVViGUhWji48Rb1KEYPRK67/MV X-Received: by 2002:a17:907:94c3:b0:78e:2866:f89f with SMTP id dn3-20020a17090794c300b0078e2866f89fmr24148349ejc.617.1667409306136; Wed, 02 Nov 2022 10:15:06 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1667409306; cv=none; d=google.com; s=arc-20160816; b=GPpWJex+p6MC+tCmA8Urfx7HA7/W9yv+Xk3TEWQ42+fdng9UwCxMH3Zs8G1wHI2MVX 2IBkac6XzcR1gKWy1RVclN63twDLazRR+qzjbrzhsZ221DWyPkvawnv/kCnbg0qBGfku CuBhKSjORAV+jot0oGmf2vbKGg14ZOl/O99e9IJHyXV8qukQwgSEoehRYlRGZ0YBE+kX cr/6ItoN8ezoWakRGrP/303ke8C68u6ra5TpJ+VE+F+Q3xKbLdE8mKkh4mmNiiBUUDwx 6sakl+ip4JqxMBoTFWaILpGCZl08mDdSElZz/tCqCFJi8xF4gen5lLCk1H2ygbpNjxX4 16HA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=KYBK5k2s8EG/YP+dGH+hD0jM9bq3cBqVP2T7Rex7x7Y=; b=YM3VSpilsLkDlaLQzBm6EyB7NmeqLjj5no2gEKOk/1ZvGFUm7mkP4b7bEkiEn62VL1 TBn5ShQDpxhKSH2oyQB6lGaDJF8br2HygnRA8F8Gz1x1NPNhwAWDwdya8laMe00/3NC3 JuEfw6+qDlZU1HiutbwKgU8u41XC9xytYWeiLt+q+o3zH1NRjAnHrAkEieqzaGOpwOf3 fw3tAV0ApA4Eo+pVm2Zu3USM/6WrE9zM99eTE1TxUvPRBBGq+/w+Kv1o9IGCAGisJBHa ZcIrvjelvv8//T7rUQx4oAQ5ykfPTGetKjRgywntClQWSPl2ikX4LFRW3c09KKaT6csQ GM5A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@bootlin.com header.s=gm1 header.b="jgmnROX/"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=bootlin.com Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id sd6-20020a1709076e0600b007adfc1509afsi4694865ejc.34.2022.11.02.10.14.38; Wed, 02 Nov 2022 10:15:06 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@bootlin.com header.s=gm1 header.b="jgmnROX/"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=bootlin.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230450AbiKBRKl (ORCPT + 99 others); Wed, 2 Nov 2022 13:10:41 -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 X-Spam-Status: No, score=-2.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_LOW, RCVD_IN_MSPIKE_H2,SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1748405380973367451?= X-GMAIL-MSGID: =?utf-8?q?1748405380973367451?= 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: =?utf-8?q?K=C3=B6ry_Maincent?= X-Patchwork-Id: 14399 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:6687:0:0:0:0:0 with SMTP id l7csp33161wru; Wed, 2 Nov 2022 10:15:16 -0700 (PDT) X-Google-Smtp-Source: AMsMyM4aijEgNmuHkrGz4X74YDXMf7p63fofpKQzrhNPo92WeFoMzHzmPQ2BZyfxT37AKYhvy5wL X-Received: by 2002:a17:906:5e14:b0:7ad:cb09:ccbd with SMTP id n20-20020a1709065e1400b007adcb09ccbdmr18015283eju.245.1667409316350; Wed, 02 Nov 2022 10:15:16 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1667409316; cv=none; d=google.com; s=arc-20160816; b=XBU+IrOrAap7034R1KOez4we7ym/SNojtdrDg1rvzLGXDNWeLcQuZsAdGJE8DeI0zm J7GkO4sJN5tYaJh0+DYSw8MrUjdUF0+7mDTnDG3Lrtq2wc95zHo3KGetAXbRYArL3UzY +Jv4dLb74xixG60MYrCVgPuuigOWuKneGp2xAcz4pXFUo6WhYfEK70EXsRIOPpiY04Np MUc+LcRjft15ZkFyw2zavdP8Qvk2cAfGad1PcOfzeV9xiibUF2lhhLZJ3gR517VaemEU DYO8R8m5MfAe4T22X7IeoeVLDXfXoE12N2+yA2hxnIygX0UgZ0GLO30TBvLtkQxT8CES xdbA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=9im9oukiPyG1+HKqvVPIahRf1Gk4Tnzj4mBOMEVT6/U=; b=BSC6C0/9+Kh7Qvw3ekxOS1zdp8TPDlm57iXYfH3y0CIxkf4OOAp3Sof9B1zpqkXiYN zkusVWnjZI09jSMfdErZQNKd7peR9FJlu1qkDB5xDd51Vk4vEN2SXx7UY+crjJH5LPC2 mLFUO3dYSCnotsZfxN/PE05YOmB4v1o7voRM9TJpg4Rcd0s/kQyYvh5lqgO2LqXyzC4O k9eJzBGKXnfL1R3wFiICNtqr5ja7dObgTSHI1qnxgsmSIgZLT5/Q1FFTjqqogemalJDA 1WIRBFAsI4yFFWH98/xMo4hQyCa6kMGyERVcz8OIWWpElAp8BtrCzyi5BhhFrMccOPtn t1ag== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@bootlin.com header.s=gm1 header.b=MP1ZJuZI; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=bootlin.com Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id qw35-20020a1709066a2300b0079b9f472d85si17787828ejc.698.2022.11.02.10.14.48; Wed, 02 Nov 2022 10:15:16 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@bootlin.com header.s=gm1 header.b=MP1ZJuZI; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=bootlin.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230426AbiKBRKt (ORCPT + 99 others); Wed, 2 Nov 2022 13:10:49 -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 X-Spam-Status: No, score=-2.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_LOW,SPF_HELO_NONE, SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1748405391183967122?= X-GMAIL-MSGID: =?utf-8?q?1748405391183967122?= 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: =?utf-8?q?K=C3=B6ry_Maincent?= X-Patchwork-Id: 14400 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:6687:0:0:0:0:0 with SMTP id l7csp33238wru; Wed, 2 Nov 2022 10:15:25 -0700 (PDT) X-Google-Smtp-Source: AMsMyM5fuBoYUgvMiLuXW5mjqcVfWAJhWlgP/OYw7XWijjpl9GUwL5g/2iIE9Kd7EmL6qkPw/GHT X-Received: by 2002:aa7:d996:0:b0:461:88b8:c581 with SMTP id u22-20020aa7d996000000b0046188b8c581mr25809071eds.111.1667409325532; Wed, 02 Nov 2022 10:15:25 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1667409325; cv=none; d=google.com; s=arc-20160816; b=KqvIOlENxN1io3lqFc3XOxb+qEJZaNJBAOYX1UtxBfLvD4CcCVs0s/HiMTsmldTQvp VXT8xyk+UQfByZ+/d120YDtZY9p7HZm672r5f+c0gK4B31y9hN/fgrmBp3OJgunaWQKv fz0Ohcz0MROHR9PdE7FPXPue+sJv6+NsV4GRoeRPpG3MNVaPX8fvDjrfKoPBORUPztx8 Q8qxl6Cc/UJuKNCSKAmBj0ycILSywhb9eesGM2+GXyt2Ad2dDk1VaDjpJEq2UyuqMGah +Yp2fHZRP0FowIqOLsGtGRKA2tTOXW/ZoRbqNMMEScMYCx4x8EllAagTDCrE4rPEQPnn SpeA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=lLraTOre/NKFIPvF9c2t40s43oz6eKUAFvet+eTCKV0=; b=HYM8w9FGhipno8rooHPfvgVOqVo6/127c+KcIjETRSTmwzXC83H2Xd/xxiQbw/nIIH Yc62haxxOmwmADTsMO+pwOHc0ov1Ky9doi7mub/v7GDNm+yDJNXMmcANsAE2a7j1a05J 5H0R9vwl6qFJsGBQtxc8NVVCJHuaE3azu9BegQsr5U3QN2d+/Z9/6+sCHI+N8Qma/wVf /zPdw4aX8NINjlsS6v/Tca1LVyQcV5XKkZ8ITcvRdHAvJ3Tbw4XOMh6xCBCoxcHsCxy2 nfkpiWX84mDXe+gDsE9tpS06/lvuBRzM7DwiEKZOcqTQdeq5ZD3vs8T9lrFB8sdlg/94 4I/w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@bootlin.com header.s=gm1 header.b=WmNKFJHK; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=bootlin.com Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id go44-20020a1709070dac00b0078dcf17c084si19255367ejc.728.2022.11.02.10.14.55; Wed, 02 Nov 2022 10:15:25 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@bootlin.com header.s=gm1 header.b=WmNKFJHK; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=bootlin.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230499AbiKBRLC (ORCPT + 99 others); Wed, 2 Nov 2022 13:11:02 -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 X-Spam-Status: No, score=-2.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_LOW,SPF_HELO_NONE, SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1748405400436710596?= X-GMAIL-MSGID: =?utf-8?q?1748405400436710596?= 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: =?utf-8?q?K=C3=B6ry_Maincent?= X-Patchwork-Id: 14401 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:6687:0:0:0:0:0 with SMTP id l7csp33347wru; Wed, 2 Nov 2022 10:15:38 -0700 (PDT) X-Google-Smtp-Source: AMsMyM6qC0dRIiNf2YK2vwdMtc5Brj2J2jMCDKa1FnE0i1w6VjlQUb3lTAhQ48IxTnEHj0J8hS8H X-Received: by 2002:a05:6402:51ca:b0:462:273b:6ad6 with SMTP id r10-20020a05640251ca00b00462273b6ad6mr10762053edd.119.1667409338464; Wed, 02 Nov 2022 10:15:38 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1667409338; cv=none; d=google.com; s=arc-20160816; b=EKP5B9HH2VBGspUWfaQGMwOfVnySH/or9gKQGRdJ61rRn5MQuyHExICn2iNVdw/1XX /PGhnaHQGmj0dKFt/32kf8wYf42cKsIzdW6R6KYpyn8h6XgoGm2HTGM+0R2IUwzHowtW oWV8rfrIi2xPwBBIlxpDJTlss/IQR8564UOj0lT0W6VtVmBEh5biE3j8NLGfQB5Mg9+K 0fhQzpgQZZVQ3cbFKm7D0tDdAZGacgVSPH6gozG4o/kU4ltSC87zcM4QzmG/DoKUA1+s BRemV61+NAkXn3KuCq1KCYVFKsUTwOisrZEROW8aVNd01zavTvflHAeM+XXIvVxbi3B4 09KA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=p8mWfxTqG3njBupNc7jr4TNdhtRp5mSbUkZFra7Ci3M=; b=LO/lOkNNwEEbrTSxby/ohHUbNaiBSxiAb6D3IeHcsGHV6ourU3h7QNR+0UoVbjkuUi c53gE3C1zdV1rGnew+xK5fczhOv/IXQszCBy3wT8TI630IpCQcvQ1a/v8PNCPVta018P F9ouZFL+jefEyqhbVCYJKdxUUHewOr9hoQ0SttdYMm792Zm3kig0QKEKdtk7CE/bQQTy Wj+NqYNkmzafLcpNfZOumOpDPvACHHrCv2QRGAWTHPhxvK8dfCa4CoUt7jwO2+Jybz86 INfwLcBiEc/ISHnnQEGIQGyl2Dri5orxNu3uIhu1I9FJyK9MuOYnmPCVPi2owVodJHeU HR4A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@bootlin.com header.s=gm1 header.b=cWRdwteP; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=bootlin.com Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id nd21-20020a170907629500b0076fb816dae7si19257368ejc.97.2022.11.02.10.15.10; Wed, 02 Nov 2022 10:15:38 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@bootlin.com header.s=gm1 header.b=cWRdwteP; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=bootlin.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230433AbiKBRLR (ORCPT + 99 others); Wed, 2 Nov 2022 13:11:17 -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 X-Spam-Status: No, score=-2.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_LOW, RCVD_IN_MSPIKE_H2,SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1748405414667306160?= X-GMAIL-MSGID: =?utf-8?q?1748405414667306160?= 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: =?utf-8?q?K=C3=B6ry_Maincent?= X-Patchwork-Id: 14402 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:6687:0:0:0:0:0 with SMTP id l7csp34733wru; Wed, 2 Nov 2022 10:18:22 -0700 (PDT) X-Google-Smtp-Source: AMsMyM6BmHjEv8H/FNAzJgYyE/yfmpRDnN01ejeJChQ74hgfTT25gHXA98j62qsL4M8/Ws/LPyDh X-Received: by 2002:a17:907:d1d:b0:7ad:4a55:9f01 with SMTP id gn29-20020a1709070d1d00b007ad4a559f01mr24683274ejc.723.1667409501940; Wed, 02 Nov 2022 10:18:21 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1667409501; cv=none; d=google.com; s=arc-20160816; b=fiUj1+Pg1M4dvQUHeZ3M5eXhan5OcRfNMA7KPj42gdp3Vw4sckl02U4QpVqapTkamF La7AefrZSLjoFo6tKF0/013AHKYFfkmxU2DG0gfWjd3y3V86OA7niVfm9247+EGkaS49 9cwYJSxApCV5L9WjxMAptBgXNsHfATZ9E9dH03F9VQdhWyJDu3Ze9qU7jYaK5FeEVxKM KJZNGP25OpqwgUj6L9piOUGJQUpfq5UoCXtXhW4raYty5pxCOga9/GMHRxLmZ6xymHPu l2stbDs85apHecIrJs1+2jZYf8TU2rl/f6BLjnRyH/1P5gr+D9UWk4/na0lEgASLnULt PH+Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=C2xVfnlmooK7Qg1BmLHoWVwjVfzC1dVIJEO1AD5E1VU=; b=BCOzB9D8I2motz293TNHt8IBumtbZKY3M0IJXZJrjyDeAsikONo3oMUy7zwIJk15PE hSosdRoJ6jz2uXqKFQCh5KJCH/yxn/65huL6qUklPnh0gdjm0puGcv0gdAc72yJSHuYf wA2uWoYU39CgWm9oMwmi6vQliAEe4MPqgBtwXX3jNsbuaeN9/2N6NOTnXYEykAo8icuE Ux4rhQZ0l5V2a+vT3Zkno6eW3hCaBw7WH1Or9CcMpWF6enP/1d2exGoydn/XozlmSwLI /40Qqpe5Z1aCqBgBw5InhlILW+1x9jbb2RPo7uzfRsIHZVPsZrp43cFgV8KRb6114yZe fxEA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@bootlin.com header.s=gm1 header.b=FwF9YkUV; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=bootlin.com Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id b20-20020a056402351400b00461d28ac266si352123edd.579.2022.11.02.10.17.57; Wed, 02 Nov 2022 10:18:21 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@bootlin.com header.s=gm1 header.b=FwF9YkUV; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=bootlin.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230045AbiKBRLr (ORCPT + 99 others); Wed, 2 Nov 2022 13:11:47 -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 X-Spam-Status: No, score=-2.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_LOW, RCVD_IN_MSPIKE_H2,SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1748405586046092597?= X-GMAIL-MSGID: =?utf-8?q?1748405586046092597?= 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"); }