From patchwork Wed Oct 19 13:32:03 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: 5520 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:4ac7:0:0:0:0:0 with SMTP id y7csp337092wrs; Wed, 19 Oct 2022 06:48:27 -0700 (PDT) X-Google-Smtp-Source: AMsMyM48owfMTB3vvv2nzmVUwgFhBc/EAuAYgKzv1rtPFGKxQFLtrIOXGiHIoXXXmx0/mRSmlg5Q X-Received: by 2002:a62:ee0c:0:b0:558:5c4:97dc with SMTP id e12-20020a62ee0c000000b0055805c497dcmr8824251pfi.14.1666187307453; Wed, 19 Oct 2022 06:48:27 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1666187307; cv=none; d=google.com; s=arc-20160816; b=e2Rogp0UgW5VhJmVb6wZzHDw1ktGqNQ7AAgiiz63hElMlPFJxW4O/QCVFSNiXNE8fj hFb361/hSS3U52YEtlfRdp83gsmIGKG8jpQB6kkicnOOZDYFaDZ93m3HU/08F1ymHouX Dl6DN3kr2bi0qdfInfYWaf/HuHNewOlulVRgaAEfs0MqRs0eQ6quBC1b5VUwJIrV8R4F EPNmwhL73lNFIm6UjgHEL/2UhdWW+XYZSNrZEnqwruWweYlAy3Rxa5P3cYXgqgoyvWr8 5amnqIW0IKzMQzPukTMSg0WPyFaDE3giMSMc0E3YeUbY5hagopdeDb45O7pMvLmtP+9v GkZQ== 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=yWeMj4noVOZ/RlcLtA2dGf0twvfXcwT5QjpYw4/fZSieuP6Af6QV2pqWBCNAx4QzPT TUyD88hipGbMNPz2ARph3ClITO0y89D4FJvs7jWlNmV5mys4dYtwdwhYqbOCBWybS0HR mRVy0Ir98RYVM6EesHfvWZTIrxUuJRdVNyOVMmfr51DvvQvyG86UvE9KRkmNP+4ODzgH s+T4E2rKbTCKLcjk7FGPYB/DK4qXuu+UfFtAbFOE0gd1Q/hunuyc++vPtNV+Zo8Gd15V vuK/Hr0n+TlvPK0ZTnzZCbyVCdLQdv4yAR9YygRK2v7Ph3pZjNd36GMkfvJXAtudOUXd PymA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@bootlin.com header.s=gm1 header.b=mRC3jaBb; 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 oj8-20020a17090b4d8800b00202dd7a4d3csi20884041pjb.113.2022.10.19.06.48.14; Wed, 19 Oct 2022 06:48:27 -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=mRC3jaBb; 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 S233567AbiJSNrv (ORCPT + 99 others); Wed, 19 Oct 2022 09:47:51 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:37456 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233332AbiJSNqT (ORCPT ); Wed, 19 Oct 2022 09:46:19 -0400 Received: from relay4-d.mail.gandi.net (relay4-d.mail.gandi.net [IPv6:2001:4b98:dc4:8::224]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id BFB64EC530 for ; Wed, 19 Oct 2022 06:32:14 -0700 (PDT) Received: (Authenticated sender: kory.maincent@bootlin.com) by mail.gandi.net (Postfix) with ESMTPSA id DCB1EE0003; Wed, 19 Oct 2022 13:32:10 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bootlin.com; s=gm1; t=1666186332; 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=mRC3jaBblrS/3d7wVLzff+gVEY8mZB1VxCJX0reYV7cdh8euk6PcKr3xyL/2XCzC9yrc5o B0e9c9OTs6D2uBZdZxu+gc1jBHwBQHEB8k8xkhIi4uRV4JDJFd8xT9LhY5VURDv7qyuiJD gBZ6bY/eekxq/8VUFn1ywCqoSILNcoOpfIankIthEgB5VfviG559rB5SWZffl/+V9L2DCp FYnu3ofBjkmdh0Tz3mLEoF3iw5PPg556exRQsqHbY5CFtjgkekar1N8f2JY2Cgnl4CT6q1 xpWcc1UWOcPYBw+Wq7Ay31gVLBJ7HLIvm9C+MNhhKxeoU2eK6czqzvWphBJsyg== From: =?utf-8?q?K=C3=B6ry_Maincent?= To: linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Cc: thomas.petazzoni@bootlin.com, Kory Maincent , Russell King , Arnd Bergmann , Sudeep Holla , Gregory CLEMENT , Krzysztof Kozlowski , Alexandre Ghiti Subject: [PATCH 1/6] arm: configs: spear6xx: Refresh defconfig Date: Wed, 19 Oct 2022 15:32:03 +0200 Message-Id: <20221019133208.319626-2-kory.maincent@bootlin.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20221019133208.319626-1-kory.maincent@bootlin.com> References: <20221019133208.319626-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?1747124021962293728?= X-GMAIL-MSGID: =?utf-8?q?1747124021962293728?= 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 --- 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 Oct 19 13:32:04 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: 5532 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:4ac7:0:0:0:0:0 with SMTP id y7csp337854wrs; Wed, 19 Oct 2022 06:50:23 -0700 (PDT) X-Google-Smtp-Source: AMsMyM6p5+v/F1Sky3yraMcwigwFyCx8uzW6rupguuTCSocxwo55PLK4jhHRSdsyryuyub9t2mGj X-Received: by 2002:a63:1849:0:b0:43c:8346:57f7 with SMTP id 9-20020a631849000000b0043c834657f7mr7198270pgy.222.1666187423046; Wed, 19 Oct 2022 06:50:23 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1666187423; cv=none; d=google.com; s=arc-20160816; b=Zs9nubJdTkLAFJ9NRUVaa6AuVL6as99TdzVS/INmWzqekFN5fKD6ftwVMIX/b20aa/ JIlHSiECPaFiD7g05XIisETlVvDZ3Wzd0qnvyqsHMkctjszOaSI426Um40SjePy3bCow as0SHStZUtHe2Xtue6IYnlLj6HfooZsTWRtSZD8vM4g5hxB5DnIkAFwl2kHkkeYtdhEo n9/crNap4J7qHU/jPcRf86AkAjlkPJPUAda+ck4r1Jbpig6mEWZvitp5WAgyNtkxbSuS 7KWRdlQaaNSkRgEBl8SP+qgMuMv4OK+YtusEXl2eZtSBVwfx1L1QIB+Tq632PE0qhZ/Y ATjg== 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=lhiCYLQFvv0VNmNRXtrzuQS+x+dk0THDr97Yf1PzbkM=; b=VjB7w5tihWs1sr2XXjps1yTvRnptzJgDG2R0wHAPY1dGKRF/zWHkntKIxDZHEWRPFg rzpNkQSw4AKs4jm6KGA+kbGJl1g/JOdJj1HPXKRpiraXsW6DsEPeNkXWj1/RETC+UQSB GDuqfxIpmVVW8VeDo5arLp9xfgvh5GIfufbimKL9SPj+KFfeFvaFnVE10yObPHOIEN7O Spl1QbIf3ApB2/8koeS9J8JFqHFkmUWLLVQZ/c64Np3c+4UdfVqP+ZXbj86+OBjKVGMK v3ZDkFws9PtFGJJskBfLZBCV1pf9dGmjbdC+fx3eLfc2vaTLiBZ69VqtRmpqWyXo8OmI tmgQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@bootlin.com header.s=gm1 header.b=RTbIUUpv; 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 mu10-20020a17090b388a00b0020b27227d6dsi61808pjb.6.2022.10.19.06.50.08; Wed, 19 Oct 2022 06:50:23 -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=RTbIUUpv; 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 S233181AbiJSNty (ORCPT + 99 others); Wed, 19 Oct 2022 09:49:54 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:47672 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233607AbiJSNsO (ORCPT ); Wed, 19 Oct 2022 09:48:14 -0400 Received: from relay4-d.mail.gandi.net (relay4-d.mail.gandi.net [217.70.183.196]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 134EF367AB; Wed, 19 Oct 2022 06:32:45 -0700 (PDT) Received: (Authenticated sender: kory.maincent@bootlin.com) by mail.gandi.net (Postfix) with ESMTPSA id F0121E0004; Wed, 19 Oct 2022 13:32:12 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bootlin.com; s=gm1; t=1666186335; 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=lhiCYLQFvv0VNmNRXtrzuQS+x+dk0THDr97Yf1PzbkM=; b=RTbIUUpviy3RBFy4C92Nl+g/4+7ZKXbm5bkEC2seFprdfYb8gvVvUp21ePX1ic6naKZaDf fLKiEUvJjZSqF8t1HbIeRqksG4CzSecbjvOhSTWYNM/IKa43kVateKGuDPT59pOvGrkqe9 Z5Skfi8erhZpefeK2gHMRs6qSBuVRPQYP2kOapMbZKTJY4Y44dZ2qaPe247uvhRHmIFo5W XGEpbvorPY4gbgx2hbt4h6NY/KF8or3XbZg5Sb923YC69L7JIJnI1LZG86mlUzEb41OHkC EcYUO73S2e+07lxcopUDLwFalB6AHWljl7OEc+TuKsXLw4dZ6lgWN448ZNYawg== From: =?utf-8?q?K=C3=B6ry_Maincent?= To: Rajeev Kumar , Bhavna Yadav , Viresh Kumar , Deepak Sikri , Vijay Kumar Mishra , linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Cc: thomas.petazzoni@bootlin.com, Kory Maincent , Viresh Kumar , Shiraz Hashim , soc@kernel.org, Rob Herring , Krzysztof Kozlowski , Vipin Kumar , Vipul Kumar Samar Subject: [PATCH 2/6] arm: dts: spear600: Fix clcd interrupt Date: Wed, 19 Oct 2022 15:32:04 +0200 Message-Id: <20221019133208.319626-3-kory.maincent@bootlin.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20221019133208.319626-1-kory.maincent@bootlin.com> References: <20221019133208.319626-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_H3,RCVD_IN_MSPIKE_WL,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?1747124143226344239?= X-GMAIL-MSGID: =?utf-8?q?1747124143226344239?= 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 Oct 19 13:32: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: 5524 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:4ac7:0:0:0:0:0 with SMTP id y7csp337320wrs; Wed, 19 Oct 2022 06:49:00 -0700 (PDT) X-Google-Smtp-Source: AMsMyM53iw4+Td6FTmkV1eB+1uVdta+lFE7xmcDKoSx/FtLGy/KeXpPSgf53TlG6lLf/M+JZeUp5 X-Received: by 2002:a17:903:4d7:b0:178:8564:f754 with SMTP id jm23-20020a17090304d700b001788564f754mr8542501plb.60.1666187340268; Wed, 19 Oct 2022 06:49:00 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1666187340; cv=none; d=google.com; s=arc-20160816; b=ksNgguYgfEtOucMkNWKgsyMw34WcF+HqI9sBBalH8zYvM+rcKPaWzn3T5QL4WX18pU tKkfWoINrS1p76Kc1BAZKiOjTuVS+sMXh1WR/cqmTU2XyiPlidlAj3RoasD/lFYuX63L THdnN8KGSFiMT+UP9OQ4YpDExFJ8DDHvxHl+WyjuFZ5ko2sOLl8aQBcqYsKeKwoR8qTu /BiuUsoKHlxWIZX48nlisGEHdepEIUqvQju3GVsC5RVr69/U4F6lOBbb3Sc8+avlldsM rSyRyG6YCMuydEj0pt4k63tCL2Q+kdQqERTiOLWI6Kfjj2dJeH5JzaccREh1GlKE/clc 6Siw== 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=CehQOdR4v7DxsG/sDIwF8vh4xeli0PmHWYqfNFH0Nwo=; b=Epz4h+GGMWay2x5a9zHizsHFlEJCsXhUAWnMmGRzNKLQRkW0g5B89+4N/m1+XpQnru AVl3OV9Zzoyd2i1uFVC1g6AJH8+zhiKrpf3LQlkN4bgD5FYJaXmeD9X53VLrRqtmVGX+ 03vQoaH32WDqHm3zBdxWuSCWl9jx+VMwH1ojM/2dRXoTbjpEuqgn+A9dQ4ZJh+QZvE8v xhPkL0RDdBtaSOWAvxS0IrU+EJ6ga+Jg/nz81+qXCSDT8HXP8MHZFMrYnDx29MOUcYAP 2Y4efgRptZwXufGvxYuO+5RWDZXF99hImSUnn4qlh3Wqi/RGibXxo7uEvQy3Sxv16cDQ TMrg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@bootlin.com header.s=gm1 header.b=KGuID9Fl; 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 f1-20020a170902ff0100b00182a9c27a9csi16610096plj.603.2022.10.19.06.48.46; Wed, 19 Oct 2022 06:49:00 -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=KGuID9Fl; 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 S233608AbiJSNsO (ORCPT + 99 others); Wed, 19 Oct 2022 09:48:14 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:47214 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233411AbiJSNqz (ORCPT ); Wed, 19 Oct 2022 09:46:55 -0400 Received: from relay4-d.mail.gandi.net (relay4-d.mail.gandi.net [IPv6:2001:4b98:dc4:8::224]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id BF7A6178B7 for ; Wed, 19 Oct 2022 06:32:20 -0700 (PDT) Received: (Authenticated sender: kory.maincent@bootlin.com) by mail.gandi.net (Postfix) with ESMTPSA id 94314E000E; Wed, 19 Oct 2022 13:32:16 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bootlin.com; s=gm1; t=1666186337; 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=CehQOdR4v7DxsG/sDIwF8vh4xeli0PmHWYqfNFH0Nwo=; b=KGuID9FlBX+Cb7yVGGD5TKDL1LO7FHkk2hV+V+KD5MVKqyFq+/iIMA17P7T4ocgsGdqAph l++hQOf/+YEoWWgrI4/WxN0pfOTlS1tTpO2fFmcjqG2Uf4Y2Aosf1bZ4xk0VQfYlTGJVkw FpjdiJ9IgzXePSGm45RoEwIDKvFHl4uMI9R+QerPDqHEhtZD6lBTy3VXey7+5yXrgNxsOU /FC8+8UASGVvxzWFk0Y4Vm13z0ZDnxeaYt6pmdscqWMxq2RMRTwoBym1uAgnK+IoJmpa9r dIQiz9kh70t3HA13YQ8Nc5Kf/EZS4ZGGiB6l6ASNy5jirYUXjq9VOSeMJgGYzA== From: =?utf-8?q?K=C3=B6ry_Maincent?= To: linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Cc: thomas.petazzoni@bootlin.com, Kory Maincent , Russell King , Arnd Bergmann , Gregory CLEMENT , Sudeep Holla , Krzysztof Kozlowski , Alexandre Ghiti Subject: [PATCH 3/6] arm: configs: spear6xx: Enable PL110 display controller Date: Wed, 19 Oct 2022 15:32:05 +0200 Message-Id: <20221019133208.319626-4-kory.maincent@bootlin.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20221019133208.319626-1-kory.maincent@bootlin.com> References: <20221019133208.319626-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?1747124056096488406?= X-GMAIL-MSGID: =?utf-8?q?1747124056096488406?= From: Kory Maincent Enable the PL110 DRM driver, used by the spear600. CONFIG_I2C is dropped from the defconfig as it is selected by CONFIG_DRM. Signed-off-by: Kory Maincent --- arch/arm/configs/spear6xx_defconfig | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/arch/arm/configs/spear6xx_defconfig b/arch/arm/configs/spear6xx_defconfig index 1cf0621d2154..231cbd2ac536 100644 --- a/arch/arm/configs/spear6xx_defconfig +++ b/arch/arm/configs/spear6xx_defconfig @@ -32,7 +32,6 @@ CONFIG_STMMAC_ETH=y # CONFIG_LEGACY_PTYS is not set CONFIG_SERIAL_AMBA_PL011=y CONFIG_SERIAL_AMBA_PL011_CONSOLE=y -CONFIG_I2C=y CONFIG_I2C_DESIGNWARE_PLATFORM=y CONFIG_SPI=y CONFIG_SPI_PL022=y @@ -40,6 +39,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 Oct 19 13:32: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: 5527 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:4ac7:0:0:0:0:0 with SMTP id y7csp337629wrs; Wed, 19 Oct 2022 06:49:51 -0700 (PDT) X-Google-Smtp-Source: AMsMyM4pEyy2EKrQFT4/TG1RHG74dpjLJGyQcGqgY/h//fiLU+H5UqrlVvpUUoHYD+bVwG9EhBFD X-Received: by 2002:a63:1450:0:b0:439:3806:9b91 with SMTP id 16-20020a631450000000b0043938069b91mr7281087pgu.407.1666187391685; Wed, 19 Oct 2022 06:49:51 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1666187391; cv=none; d=google.com; s=arc-20160816; b=L3AnxKePkoijvmdULZ6pvYRoHNn7BkhT3t7oYevrtE0MPELrxTlkgRiTbVb7bNfgr1 V6fJAqSjT2ZH9NrPmts+E4XoIjfM9ZwUNkJTEatIalKSSAz1PN7QoPYWA7lDEBJMotC+ etbyF/bGM76qpNhQBkCOsI0azS5ev8AFlFIHDXI21Dt255foB1T0Gq+t+M7JvjOyayFn jOuVMb1asRIhcOqO70Ij6dcv4fug11vgpm6IaPONBuajrgU/qUpz1BKtFYMqnJfHFQEM p3DPr6nH1PTOXdPgCNE3pBNEksz3lydkMhrs2hBsfoNSrBEUX9/OAmwDUXVQ3QXFRUu0 g83w== 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=PNevX7Gw1xrDZvzmJ6+jrL3rUSR/hzQIzfoZ7oOdAgA=; b=zGNtqKAJ9xhzyCscfvIAF0nBVV3xdIvFEcmTg4Jq+gFELcrr7WLoY10ZlYScGn+6Hd S6kDPO4FG7us+MqlV8UZ/4HMwCGFfWZvm4aXt/jqs51GbJm458EhVNz8uzpKZyBCqWdR d3W/a25ctlODk9H2d0H/IJ55n8maMJJDNu7abYTDjbTIL08acGvNcMQ5C2taE5rI5wzG OAweTgbixGkcYdvvsut82vlFi/ghpmZ6RQ+2UPv7bDwWbEIFIHeOrKLm/3jyXR+adVWX k5lsEjnNwodYVHhsU0RJMw4E/Mno9Xb4MBuNv5xf6C5VwSD4VEpSjEUrp0UCHdi+DDXJ aGlQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@bootlin.com header.s=gm1 header.b="IEjy2/p2"; 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 j73-20020a638b4c000000b0044af51e7d4bsi17078872pge.75.2022.10.19.06.49.37; Wed, 19 Oct 2022 06:49:51 -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="IEjy2/p2"; 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 S233633AbiJSNsb (ORCPT + 99 others); Wed, 19 Oct 2022 09:48:31 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:47676 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233455AbiJSNq6 (ORCPT ); Wed, 19 Oct 2022 09:46:58 -0400 Received: from relay4-d.mail.gandi.net (relay4-d.mail.gandi.net [IPv6:2001:4b98:dc4:8::224]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id E30FBE31B1; Wed, 19 Oct 2022 06:32:34 -0700 (PDT) Received: (Authenticated sender: kory.maincent@bootlin.com) by mail.gandi.net (Postfix) with ESMTPSA id C4C70E0002; Wed, 19 Oct 2022 13:32:18 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bootlin.com; s=gm1; t=1666186340; 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=PNevX7Gw1xrDZvzmJ6+jrL3rUSR/hzQIzfoZ7oOdAgA=; b=IEjy2/p2jMCGD899pJlMWlxsbTXTJGzNi2Qkh7QpqyRu07FseRrGy/mnynOyLVOqA7GVv/ gRIuUJN5RhQvkfPtxcEd/+xhCs+aggLIsl9et7Gzym8RSbbWVwpMhkLUglN7cz+xF8LDGX IUtqr88iYmP5RQ2bdphzPAkiAu6/79gY8UeIqhHRAVuimlgdCgnD262+qIgBbZL8InbAlR zsQnnHhw6QzLSGDhI9qbYeLKONUQvnh5caocO8/a4FPmXHycZ/1LVU/xsNkXg4PP5rgraD UD8JFYp78p4pl/TiEFnu2O/I15xAzu09/kNz7bHVgtYdP5/n1/CyLzi3WCcmow== From: =?utf-8?q?K=C3=B6ry_Maincent?= To: linux-arm-kernel@lists.infradead.org, linux-clk@vger.kernel.org, linux-kernel@vger.kernel.org Cc: thomas.petazzoni@bootlin.com, Kory Maincent , Viresh Kumar , Shiraz Hashim , soc@kernel.org, Michael Turquette , Stephen Boyd Subject: [PATCH 4/6] clk: spear: Fix CLCD clock definition on SPEAr600 Date: Wed, 19 Oct 2022 15:32:06 +0200 Message-Id: <20221019133208.319626-5-kory.maincent@bootlin.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20221019133208.319626-1-kory.maincent@bootlin.com> References: <20221019133208.319626-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?1747124110577647331?= X-GMAIL-MSGID: =?utf-8?q?1747124110577647331?= 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 Oct 19 13:32: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: 5533 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:4ac7:0:0:0:0:0 with SMTP id y7csp337879wrs; Wed, 19 Oct 2022 06:50:28 -0700 (PDT) X-Google-Smtp-Source: AMsMyM5U6lCN6zKXEQTX7BZYAdmKuLT05FiyUWWgBBc8ZnamOqZDujF+ke1Ao3xBgrm3v7LKMKaj X-Received: by 2002:a17:90a:ac11:b0:20b:10d2:e837 with SMTP id o17-20020a17090aac1100b0020b10d2e837mr10049467pjq.165.1666187427757; Wed, 19 Oct 2022 06:50:27 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1666187427; cv=none; d=google.com; s=arc-20160816; b=bHxTefbjSpVeplNWhWaAZjK9gy+vcqtRBcMSu1ns27q7gtnKuesCUzqYDV5MNyHL4i FE8uEMrI43cr+7SqxQOhU9BB6FcICK+GwSKYLqSKy7Iw8tPGvxMMidvmHN/6whK8LEoz I8U0CuwMlQgUE5kSAn/rfSyh3Q2S1cCdQB8W/2+n+ZSsATxLcwdYRl1ZTfhuzs1fZcMk /1bM58hTz+08snmepSqIX81LEPVFG6VGK+bGkM3rcCzmp2aLSf82aYp4O9Q93J7X/+v+ kdRsKAeqL2iZGIcMDmCMzCk5FPT36gXyREVMkUpDE8X9Sinp8UEtw76h9eWpNzAeUky1 lR3w== 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=4H7vT96t4Gg2mvOMTAf2MIe6YqeZHlVPrSbGQ6Z0P8U=; b=Hf9ZApe82Q2c9dJLzf8lStxPWXiMd+Wdqbmal6o75WuxmwNlOWDpRM7fAXzwEzJ/xI z7bOQzimo5o5jB3+JK/2oWPzhnXtp6kJXFpBNPsSnv2EmKcTN2P3h1Iw/lE2EoE5yGNf 4Rel76KDm8YqSrxdcipKxnZKSQR+okreNTqvi7DqVMucQ4FfuagTevJlj+3/PP2hDvkV t9ONbZ79nBDpwVfpAYLBjLyL3+eeJhCka4q4ebxJgIy11ZIJZChpSHIQzBKqqQlG10NG uH61/BIyX3+2AqBoKfJINYQJKuUVnlNScpXUoGZdiMUJCQoD7fkLikZaxQq2xZvEX+VT jNkw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@bootlin.com header.s=gm1 header.b=CUy8nN36; 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 me17-20020a17090b17d100b0020c52b9512csi56535pjb.5.2022.10.19.06.50.14; Wed, 19 Oct 2022 06:50:27 -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=CUy8nN36; 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 S233584AbiJSNt6 (ORCPT + 99 others); Wed, 19 Oct 2022 09:49:58 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56792 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232921AbiJSNsa (ORCPT ); Wed, 19 Oct 2022 09:48:30 -0400 Received: from relay4-d.mail.gandi.net (relay4-d.mail.gandi.net [217.70.183.196]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id E25ED19003; Wed, 19 Oct 2022 06:32:51 -0700 (PDT) Received: (Authenticated sender: kory.maincent@bootlin.com) by mail.gandi.net (Postfix) with ESMTPSA id D76FAE0007; Wed, 19 Oct 2022 13:32:20 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bootlin.com; s=gm1; t=1666186343; 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=4H7vT96t4Gg2mvOMTAf2MIe6YqeZHlVPrSbGQ6Z0P8U=; b=CUy8nN36BZsU6m2IBtItc7gm2WLjl4v/gW7apb0LG5G+/b5o54EWRmh7oGhxJ0nOwV1ga7 C3RSJBI/JxW8doW/hUs0fNQ1BrdzoNzB5eP29YIrK5l0Hf1KpimS4mchfUgk46TctPq+nx O89Hb1KJ872kYLdDwS3Zaqg01SBvf5fqvm+l0wYKfxS9xt89b4xSz15QQo1XeSHjVy2lfU aANYFiYsF3eJHaN45klxj2fQVr2/SOsGCIg9y6I0sLdrnjLGhWmA6BOoSOL04HruC+V6XP 7TmKp1vntsTG35puwEMzFauSQeYEKVlvtm4/1LlsdS0fA5MbhjqHcJ+JpnJPeA== From: =?utf-8?q?K=C3=B6ry_Maincent?= To: linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Cc: thomas.petazzoni@bootlin.com, Kory Maincent , Viresh Kumar , Shiraz Hashim , soc@kernel.org, Rob Herring , Krzysztof Kozlowski Subject: [PATCH 5/6] arm: dts: spear600: Add ssp controller nodes Date: Wed, 19 Oct 2022 15:32:07 +0200 Message-Id: <20221019133208.319626-6-kory.maincent@bootlin.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20221019133208.319626-1-kory.maincent@bootlin.com> References: <20221019133208.319626-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_H3,RCVD_IN_MSPIKE_WL,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?1747124148046252041?= X-GMAIL-MSGID: =?utf-8?q?1747124148046252041?= 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 Oct 19 13:32: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: 5535 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:4ac7:0:0:0:0:0 with SMTP id y7csp338135wrs; Wed, 19 Oct 2022 06:51:08 -0700 (PDT) X-Google-Smtp-Source: AMsMyM6ShsGBKG9eRT0TLEScAwZmX7lhw99KYNnYnH5tRAjCno5LyZfCPN3W2w/jV2ojD28AijGI X-Received: by 2002:a17:902:f693:b0:17f:6974:cf90 with SMTP id l19-20020a170902f69300b0017f6974cf90mr8779962plg.62.1666187468027; Wed, 19 Oct 2022 06:51:08 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1666187468; cv=none; d=google.com; s=arc-20160816; b=O5E6HU+dh13Absnw767PJ2K82C7G8x889Y0y35MQMoXfBwWX9cy9wD+PMDkv7ARb/w G4chWWXRj+fCb4rp1JveHk5xVS20vIcVJ2yjkb6PKyIiUNjBCeGOLZ0gfPp2yys+J5ch mtu6Q+ioMQ1WyHUCmyIqxYHEDeOZ3CSjgN19LmwtvvOEJreMGnf/d/i0hPfIJPeGbwBd oCk+KjWRjCEMqg3rMXSbA4jlo5gWmh488aH/HxmZplt4gSlqs99S52RZ2WsWyJXgBkgX 07MGpQI3Jk+q8WQHoo893klI0EKOjZy3GVfSgdO4J/P0kVgpLH0TSBLdp/iKMtBfkwiP aObQ== 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=B4WZT0ijc4vr+yQWHuy8C2QHY5BLhRbeTNROpcFndPc=; b=R72BD9i/lgNFcnsRU/jNCKbHFP3GLzEZTk0McdwEA8a83J72ngKONuSrh5WaKtUBBV WeOMzeOpVyUOPeZ8MJPfHz8utTtW3mi8UaNbM4bmrEEitEEHijjx/ysm8nNSg6EShIAI h8LVhkZ27rTOJaS2UwxMeT4dxmi+Iy2wPze5OlyutoFncOr8YHRQTVSMtj2jmQZvTYZT YTDFf5JoS0bgaL35zH/8AqHQF9c7dDygw2M9BS5L76BLamDXJfNkysANtdRLqpPtluDb beFbmdqGwsuWTqYPiZR8zjjrnQTA1W3XNRXKKZjm0l+1xCBJFlMkHvb0cSnttWY6H2av BuTA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@bootlin.com header.s=gm1 header.b=o3EnyrFn; 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 v71-20020a63894a000000b0046b42fe67f9si8861104pgd.506.2022.10.19.06.50.55; Wed, 19 Oct 2022 06:51:08 -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=o3EnyrFn; 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 S233676AbiJSNuM (ORCPT + 99 others); Wed, 19 Oct 2022 09:50:12 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:52852 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233691AbiJSNs5 (ORCPT ); Wed, 19 Oct 2022 09:48:57 -0400 Received: from relay4-d.mail.gandi.net (relay4-d.mail.gandi.net [217.70.183.196]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id A32711BBEE2; Wed, 19 Oct 2022 06:32:53 -0700 (PDT) Received: (Authenticated sender: kory.maincent@bootlin.com) by mail.gandi.net (Postfix) with ESMTPSA id 86302E0018; Wed, 19 Oct 2022 13:32:23 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bootlin.com; s=gm1; t=1666186345; 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=B4WZT0ijc4vr+yQWHuy8C2QHY5BLhRbeTNROpcFndPc=; b=o3EnyrFn/BZ9wLYgskdr/Yz5E2HEnUC5VDVvCSe8kK/Cb+eCeTeiAOXfBVDsZsyN2MVyQP aqWJDiXVy3b5y0ur4ojErVDDM0D3m8bfwbjaCEHHBJ8VV9y/DX627pFzvk9FWqgcKtkQWT OcfkX6R5VEinSeWGSkfxXjIOUq7MKK9saWMOiVwa5i7TPWWfLWn90phJNE8Q89LlqYW9Yi MgzEjUAObg+mIs6a31IHZljlVNygBUTGZXfjUwiDCjG1prvKn+jBd6ePiwCgyDTmPZNlWj q0/18vCqFMUhdMyinLWf0/IoM3/pVCqOAKiulwoxmp264zzK09+50pSJoQOpkg== From: =?utf-8?q?K=C3=B6ry_Maincent?= To: linux-arm-kernel@lists.infradead.org, linux-clk@vger.kernel.org, linux-kernel@vger.kernel.org Cc: thomas.petazzoni@bootlin.com, Kory Maincent , Viresh Kumar , Shiraz Hashim , soc@kernel.org, Michael Turquette , Stephen Boyd Subject: [PATCH 6/6] clk: spear: Fix SSP clock definition on SPEAr600 Date: Wed, 19 Oct 2022 15:32:08 +0200 Message-Id: <20221019133208.319626-7-kory.maincent@bootlin.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20221019133208.319626-1-kory.maincent@bootlin.com> References: <20221019133208.319626-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_H3,RCVD_IN_MSPIKE_WL,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?1747124190283065037?= X-GMAIL-MSGID: =?utf-8?q?1747124190283065037?= 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"); }