From patchwork Thu Feb 9 09:16:49 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alain Volmat X-Patchwork-Id: 54813 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:adf:eb09:0:0:0:0:0 with SMTP id s9csp228341wrn; Thu, 9 Feb 2023 01:20:28 -0800 (PST) X-Google-Smtp-Source: AK7set9N8yHZwhDMMzmZkzFK3WJBkaV+tuPY+3nNIGtwwBBgJysSrBLxmHfEXgMQPiSOV8VeIXD1 X-Received: by 2002:a17:906:c401:b0:88d:ba89:1837 with SMTP id u1-20020a170906c40100b0088dba891837mr6612717ejz.8.1675934428799; Thu, 09 Feb 2023 01:20:28 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1675934428; cv=none; d=google.com; s=arc-20160816; b=s/z14ZP41X9571fECvxyk3VZWFIiJw5e1uWvkRiBCHJyftjpnP6qjAoEJLI/41Q7Cg vKL9lv5Owu9kRhsMmPQuH9HTsUQislmc4GkuApT3Fn7eTKxCfwlFUxN50/A0TOUCJGdT hHODL0yQWzIuoIeA1OTLtr16SM+7ET4PLor2cpiB5hF5dzhYqXEJmROS5efzJWT7hocT oRmevsqxlWznga0aQ050e5OgXPNjV2HZFWZP05Y+GW1LL36xgwpSYRykXhTTviN2g1QL /T3EpnbHEcq22nPO2tJ58IRzjemmZYcqTz6dV4SsrN4iahHI5KslOcGJ27Ojml23W+Qp RuuA== 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=fKfon97iRdA8hONSJw4rAYjTeMrB0lcLvBVxv7x5uFI=; b=ScdX5SaOxKGrKkfTQvrjovAldx/shAq36oWaZqThZfUDSHB1fmPU9PunoEbh6w9esS 6ZOvJqSbKJs0ufHl/SbGIbLT59MYbpquKIPvQeueO07enueHW0h1wTUGO1fs1SpPoXRZ lMIknpgKgioWFBnIArLyke5e9sRkZLHVllSY5AhScUbxEP8cFj3OIZM+aoEgJs4b64LS sl00ZZxPLIBaNCjsfd9V+NY+hszQRgkexARhyRLzwMPQ05mtl2mrzEkhDKraMUfapJFD qfdOi3YG073g4XYxOY0nAOTxgYZ2godtrbM/p+bVCq7tf1McMNHR0Tc1QvP78hXF2Wv7 CNOg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@me.com header.s=1a1hai header.b=tXaCT+kU; 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=QUARANTINE sp=QUARANTINE dis=NONE) header.from=me.com Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id uj9-20020a170907c98900b00894dac1c7casi1878276ejc.867.2023.02.09.01.20.04; Thu, 09 Feb 2023 01:20:28 -0800 (PST) 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=@me.com header.s=1a1hai header.b=tXaCT+kU; 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=QUARANTINE sp=QUARANTINE dis=NONE) header.from=me.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230021AbjBIJSZ (ORCPT + 99 others); Thu, 9 Feb 2023 04:18:25 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:52634 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229535AbjBIJSX (ORCPT ); Thu, 9 Feb 2023 04:18:23 -0500 Received: from mr85p00im-hyfv06021301.me.com (mr85p00im-hyfv06021301.me.com [17.58.23.188]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 5B68F3433F for ; Thu, 9 Feb 2023 01:18:14 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=me.com; s=1a1hai; t=1675934294; bh=fKfon97iRdA8hONSJw4rAYjTeMrB0lcLvBVxv7x5uFI=; h=From:To:Subject:Date:Message-Id:MIME-Version; b=tXaCT+kUjCu4Ej8v/nGvOuhLZSG0/qu7/iJhwCHTuwRfwMw58kImGknThco7uD2mJ z/EFZYHIgFrgc89siFXz9evVW3+Ml8gLiabAVM60bJrGlV3zjxNp8y6IBLvZQEvwTO ajkU76tJaSjgSfAUeBZuiYjyEVOOoS3BXgQpVaiRsut6SqiCtMEG+VW0csqV0kkhzZ rzqhpb1IM6+JMDmom96VeaTAgG0PxnTEnC3Xnm1Yzv4OP+UM9ZaF/797iFXPePlQh1 GxQ3YsJyvF2mbeeJCeyYwpPZVv/p7iNYsz1cSK0tySLhfMrN9E+t5QtWq3Scw7QBD7 HIdycWis1SVhg== Received: from localhost (mr38p00im-dlb-asmtp-mailmevip.me.com [17.57.152.18]) by mr85p00im-hyfv06021301.me.com (Postfix) with ESMTPSA id CEB2D21512D0; Thu, 9 Feb 2023 09:18:13 +0000 (UTC) From: Alain Volmat To: Jonathan Corbet , Rob Herring , Krzysztof Kozlowski , Thomas Gleixner , Marc Zyngier , "David S . Miller" , Eric Dumazet , Jakub Kicinski , Paolo Abeni , Russell King , Patrice Chotard , Giuseppe Cavallaro , Alexandre Torgue , Jose Abreu , Maxime Coquelin , "Rafael J . Wysocki" , Daniel Lezcano , Amit Kucheria , Zhang Rui , Michael Turquette , Stephen Boyd , Philipp Zabel Cc: linux-doc@vger.kernel.org, linux-kernel@vger.kernel.org, devicetree@vger.kernel.org, netdev@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-stm32@st-md-mailman.stormreply.com, linux-pm@vger.kernel.org, linux-clk@vger.kernel.org, Alain Volmat Subject: [PATCH 01/11] Documentation: arm: remove stih415/stih416 related entries Date: Thu, 9 Feb 2023 10:16:49 +0100 Message-Id: <20230209091659.1409-2-avolmat@me.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20230209091659.1409-1-avolmat@me.com> References: <20230209091659.1409-1-avolmat@me.com> MIME-Version: 1.0 X-Proofpoint-GUID: xV8W_Ts5GUg7FdbjkxVSEpo5WGNTiTsX X-Proofpoint-ORIG-GUID: xV8W_Ts5GUg7FdbjkxVSEpo5WGNTiTsX X-Proofpoint-Virus-Version: =?utf-8?q?vendor=3Dfsecure_engine=3D1=2E1=2E170-?= =?utf-8?q?22c6f66c430a71ce266a39bfe25bc2903e8d5c8f=3A6=2E0=2E425=2C18=2E0?= =?utf-8?q?=2E816=2C17=2E0=2E605=2E474=2E0000000_definitions=3D2022-01-18=5F?= =?utf-8?q?01=3A2022-01-14=5F01=2C2022-01-18=5F01=2C2020-01-23=5F02_signatur?= =?utf-8?q?es=3D0?= X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 phishscore=0 adultscore=0 suspectscore=0 spamscore=0 clxscore=1015 bulkscore=0 mlxlogscore=999 malwarescore=0 mlxscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2209130000 definitions=main-2302090088 X-Spam-Status: No, score=-2.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM,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?1757344619818445231?= X-GMAIL-MSGID: =?utf-8?q?1757344619818445231?= ST's STiH415 and STiH416 platforms support have been removed since a long time already. This commit updates the sti related documentation overview to remove related entries and update the sti part to add STiH407/STiH410 and STiH418 platforms which are still actively supported. Signed-off-by: Alain Volmat --- Documentation/arm/index.rst | 2 -- Documentation/arm/sti/overview.rst | 10 +++------- Documentation/arm/sti/stih415-overview.rst | 14 -------------- Documentation/arm/sti/stih416-overview.rst | 13 ------------- 4 files changed, 3 insertions(+), 36 deletions(-) delete mode 100644 Documentation/arm/sti/stih415-overview.rst delete mode 100644 Documentation/arm/sti/stih416-overview.rst diff --git a/Documentation/arm/index.rst b/Documentation/arm/index.rst index 8c636d4a061f..e70fc72ef136 100644 --- a/Documentation/arm/index.rst +++ b/Documentation/arm/index.rst @@ -70,11 +70,9 @@ SoC-specific documents spear/overview - sti/stih416-overview sti/stih407-overview sti/stih418-overview sti/overview - sti/stih415-overview vfp/release-notes diff --git a/Documentation/arm/sti/overview.rst b/Documentation/arm/sti/overview.rst index 70743617a74f..ae16aced800f 100644 --- a/Documentation/arm/sti/overview.rst +++ b/Documentation/arm/sti/overview.rst @@ -7,22 +7,18 @@ Introduction The ST Microelectronics Multimedia and Application Processors range of CortexA9 System-on-Chip are supported by the 'STi' platform of - ARM Linux. Currently STiH415, STiH416 SOCs are supported with both - B2000 and B2020 Reference boards. + ARM Linux. Currently STiH407, STiH410 and STiH418 are supported. configuration ------------- - A generic configuration is provided for both STiH415/416, and can be used as the - default by:: - - make stih41x_defconfig + The configuration for the STi platform is supported via the multi_v7_defconfig. Layout ------ - All the files for multiple machine families (STiH415, STiH416, and STiG125) + All the files for multiple machine families (STiH407, STiH410, and STiH418) are located in the platform code contained in arch/arm/mach-sti There is a generic board board-dt.c in the mach folder which support diff --git a/Documentation/arm/sti/stih415-overview.rst b/Documentation/arm/sti/stih415-overview.rst deleted file mode 100644 index b67452d610c4..000000000000 --- a/Documentation/arm/sti/stih415-overview.rst +++ /dev/null @@ -1,14 +0,0 @@ -================ -STiH415 Overview -================ - -Introduction ------------- - - The STiH415 is the next generation of HD, AVC set-top box processors - for satellite, cable, terrestrial and IP-STB markets. - - Features: - - - ARM Cortex-A9 1.0 GHz, dual-core CPU - - SATA2x2,USB 2.0x3, PCIe, Gbit Ethernet MACx2 diff --git a/Documentation/arm/sti/stih416-overview.rst b/Documentation/arm/sti/stih416-overview.rst deleted file mode 100644 index 93f17d74d8db..000000000000 --- a/Documentation/arm/sti/stih416-overview.rst +++ /dev/null @@ -1,13 +0,0 @@ -================ -STiH416 Overview -================ - -Introduction ------------- - - The STiH416 is the next generation of HD, AVC set-top box processors - for satellite, cable, terrestrial and IP-STB markets. - - Features - - ARM Cortex-A9 1.2 GHz dual core CPU - - SATA2x2,USB 2.0x3, PCIe, Gbit Ethernet MACx2 From patchwork Thu Feb 9 09:16:50 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alain Volmat X-Patchwork-Id: 54810 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:adf:eb09:0:0:0:0:0 with SMTP id s9csp228265wrn; Thu, 9 Feb 2023 01:20:14 -0800 (PST) X-Google-Smtp-Source: AK7set++8tdA/vdkCDzm43jg4Vl64q4TDzQaztngJ5L4vvYKPnKMM5xDkB7MeJoxX4hwXQsJ4hoZ X-Received: by 2002:a17:906:3a8f:b0:88f:a236:69e6 with SMTP id y15-20020a1709063a8f00b0088fa23669e6mr10921164ejd.7.1675934413983; Thu, 09 Feb 2023 01:20:13 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1675934413; cv=none; d=google.com; s=arc-20160816; b=gi/InnXS/7PuQNmqn9lhm3qt0orzpofoGXr9+jZOy++pg6nokdGx9P2gxPbwCNpUZJ XXazXv/qcNwsq9ZowXTjT7jRZN69gXwMT+5+xx1zEseMYE9dj5XrjwWfy8iIJSfcsfOK yWrez3OO3KFlc7CBUd6iyRSEd0rI+ry+9KIzr/miaufsJ/A3z6IvmjlUtbDh1i4hHh+K YuEPHR4INyA0PmC36Pn4dAfEz6wsXW8obP7jxVBklhd+x9RZHL4+xJMlXSlX3caHw5Ju CElZcvyjIjAy1NfDxwDUPciLWZmUczlEEozCWLD3AVXC252yPc9/x78utFvyconrAIbD tqVw== 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=XD/z4m8ShfTjdX5zyRnwyZNUrruVN7/aqLfYSreiI8w=; b=oTzmm6O16O7zS5iYO8uDIS7+4FbR2PcUi28p9DyrLoXQtpOrgCSzt0nN/EPdcd9EM5 qbRhxljvSX0FuJnzSxVLNym2FSDC53GsYkHqmU1547oy3FW/di7HuEjX+nTXaMgbYrbR PTgZWsS7J6p/6BJrOgb9Nd0a0UAxNGttimEck2BJqtwFZ4Kf5LVBm8HTNYXu7/iAOuBe i38Rv+w99Zp7d4tqCe3Dg68p6gXosUXrcEuqewhCsrrhu08RWLioQlTabwHp5OKDLzm2 3K9u/+RfjqSv3CkKFJK4rpH6r6IKSrO0Z57xipzAchb9s5WfKnboHHwfhMfCeqH0Xlo4 pjNQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@me.com header.s=1a1hai header.b=SrUC3+R+; 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=QUARANTINE sp=QUARANTINE dis=NONE) header.from=me.com Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id et19-20020a170907295300b008af3fd67d4bsi774044ejc.651.2023.02.09.01.19.51; Thu, 09 Feb 2023 01:20:13 -0800 (PST) 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=@me.com header.s=1a1hai header.b=SrUC3+R+; 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=QUARANTINE sp=QUARANTINE dis=NONE) header.from=me.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230049AbjBIJSs (ORCPT + 99 others); Thu, 9 Feb 2023 04:18:48 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:52720 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230014AbjBIJS3 (ORCPT ); Thu, 9 Feb 2023 04:18:29 -0500 Received: from mr85p00im-hyfv06021401.me.com (mr85p00im-hyfv06021401.me.com [17.58.23.190]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id E543D34C1F for ; Thu, 9 Feb 2023 01:18:18 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=me.com; s=1a1hai; t=1675934298; bh=XD/z4m8ShfTjdX5zyRnwyZNUrruVN7/aqLfYSreiI8w=; h=From:To:Subject:Date:Message-Id:MIME-Version; b=SrUC3+R+0idJacNKqunB9TmAMvJMq/z0AaJadeiDYV+rM16jxs6YaPuUFyiPmIfFG CZg3z30XrvHeO8zVoCkqNAT1AmfIKrykWLmGmJG4iNULQZGnjJoZ4ajvZZcfnmcWY9 rCsPi0Uc/U50mPoJdmY+33oQUJ1LFJpkwAqQV9JZuZUGDfIb6G1TxMHKJsR24cZaby WubrpXhZf/qhcg+ngwhr6HIyjuNj8/6MdpV3pqoths6HG1z3ie5eGqi4wLWtv457vt DDpPLSFTpJxn/typJ6tMk7g5igRR3JtGU7EthPtpX4zuDl9+teH0BxSoij89ioIE+5 yAnUliqcHaXIQ== Received: from localhost (mr38p00im-dlb-asmtp-mailmevip.me.com [17.57.152.18]) by mr85p00im-hyfv06021401.me.com (Postfix) with ESMTPSA id 92EDD3039F87; Thu, 9 Feb 2023 09:18:17 +0000 (UTC) From: Alain Volmat To: Jonathan Corbet , Rob Herring , Krzysztof Kozlowski , Thomas Gleixner , Marc Zyngier , "David S . Miller" , Eric Dumazet , Jakub Kicinski , Paolo Abeni , Russell King , Patrice Chotard , Giuseppe Cavallaro , Alexandre Torgue , Jose Abreu , Maxime Coquelin , "Rafael J . Wysocki" , Daniel Lezcano , Amit Kucheria , Zhang Rui , Michael Turquette , Stephen Boyd , Philipp Zabel Cc: linux-doc@vger.kernel.org, linux-kernel@vger.kernel.org, devicetree@vger.kernel.org, netdev@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-stm32@st-md-mailman.stormreply.com, linux-pm@vger.kernel.org, linux-clk@vger.kernel.org, Alain Volmat Subject: [PATCH 02/11] ARM: sti: removal of stih415/stih416 related entries Date: Thu, 9 Feb 2023 10:16:50 +0100 Message-Id: <20230209091659.1409-3-avolmat@me.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20230209091659.1409-1-avolmat@me.com> References: <20230209091659.1409-1-avolmat@me.com> MIME-Version: 1.0 X-Proofpoint-GUID: Z1xhIilBMX_QQ3CxGK0zZvZBSCCIY3zb X-Proofpoint-ORIG-GUID: Z1xhIilBMX_QQ3CxGK0zZvZBSCCIY3zb X-Proofpoint-Virus-Version: =?utf-8?q?vendor=3Dfsecure_engine=3D1=2E1=2E170-?= =?utf-8?q?22c6f66c430a71ce266a39bfe25bc2903e8d5c8f=3A6=2E0=2E138=2C18=2E0?= =?utf-8?q?=2E816=2C17=2E11=2E62=2E513=2E0000000_definitions=3D2022-01-18=5F?= =?utf-8?q?01=3A2020-02-14=5F02=2C2022-01-18=5F01=2C2021-12-02=5F01_signatur?= =?utf-8?q?es=3D0?= X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 bulkscore=0 mlxscore=0 phishscore=0 malwarescore=0 clxscore=1015 spamscore=0 suspectscore=0 adultscore=0 mlxlogscore=999 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2209130000 definitions=main-2302090088 X-Spam-Status: No, score=-2.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM,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?1757344604252858173?= X-GMAIL-MSGID: =?utf-8?q?1757344604252858173?= ST's STiH415 and STiH416 platforms have already been removed since a while. Remove some remaining bits within the mach-sti. Signed-off-by: Alain Volmat Reviewed-by: Patrice Chotard --- arch/arm/mach-sti/Kconfig | 20 +------------------- arch/arm/mach-sti/board-dt.c | 2 -- 2 files changed, 1 insertion(+), 21 deletions(-) diff --git a/arch/arm/mach-sti/Kconfig b/arch/arm/mach-sti/Kconfig index b2d45cf10a3c..609957dead98 100644 --- a/arch/arm/mach-sti/Kconfig +++ b/arch/arm/mach-sti/Kconfig @@ -19,31 +19,13 @@ menuconfig ARCH_STI select PL310_ERRATA_769419 if CACHE_L2X0 select RESET_CONTROLLER help - Include support for STMicroelectronics' STiH415/416, STiH407/10 and + Include support for STMicroelectronics' STiH407/10 and STiH418 family SoCs using the Device Tree for discovery. More information can be found in Documentation/arm/sti/ and Documentation/devicetree. if ARCH_STI -config SOC_STIH415 - bool "STiH415 STMicroelectronics Consumer Electronics family" - default y - help - This enables support for STMicroelectronics Digital Consumer - Electronics family StiH415 parts, primarily targeted at set-top-box - and other digital audio/video applications using Flattned Device - Trees. - -config SOC_STIH416 - bool "STiH416 STMicroelectronics Consumer Electronics family" - default y - help - This enables support for STMicroelectronics Digital Consumer - Electronics family StiH416 parts, primarily targeted at set-top-box - and other digital audio/video applications using Flattened Device - Trees. - config SOC_STIH407 bool "STiH407 STMicroelectronics Consumer Electronics family" default y diff --git a/arch/arm/mach-sti/board-dt.c b/arch/arm/mach-sti/board-dt.c index ffecbf29646f..8c313f07bd02 100644 --- a/arch/arm/mach-sti/board-dt.c +++ b/arch/arm/mach-sti/board-dt.c @@ -12,8 +12,6 @@ #include "smp.h" static const char *const stih41x_dt_match[] __initconst = { - "st,stih415", - "st,stih416", "st,stih407", "st,stih410", "st,stih418", From patchwork Thu Feb 9 09:16:51 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alain Volmat X-Patchwork-Id: 54811 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:adf:eb09:0:0:0:0:0 with SMTP id s9csp228271wrn; Thu, 9 Feb 2023 01:20:15 -0800 (PST) X-Google-Smtp-Source: AK7set9Al0+vUQJqhwphOE6geOyH6BZJ0dHOEnbAy4UsXWbK/J1l/uotKOrssPDFuEqsTC46YeJu X-Received: by 2002:a50:c05e:0:b0:4ab:250d:fd74 with SMTP id u30-20020a50c05e000000b004ab250dfd74mr113116edd.9.1675934415035; Thu, 09 Feb 2023 01:20:15 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1675934415; cv=none; d=google.com; s=arc-20160816; b=LqKPFKheMLSWsCTZGJtro//0ZLf6AcjRUmqMTq+qRp/J/aBbSnA4bpmaSJZKmR4vhF C0kIJcrdS2sGGImYHPTGhBWxJCAR3uyAhX2izZCYPrpQfT3yVDCMN+4WI4rRqeg0hw1G 38yoKvhGPHYFSWlfDYqvzPzPZ7TY0yV8mCwKbgEfbxEzBQwRB/w4i4RByaMFO5aWLuOO 1pt3F7lrY3ulcj7nSi6KDeoIj5k1p0VLGNJVX6c3/CNkiRwUUgAs2jukVkfwgEpPppED 892QLTId6fpCiPfMk1PP6lLmcy7U2W4HSWw829dy4NFOK0FBcdLWp5EWVjSOwGBtKbVT UkdA== 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=l5/w8qzS8eROrSTSdYL3TF863UssIMOFYBR22gS7cAY=; b=HaHbVev08ijxtscVz3LZWig6ZJgK88i1CgB+zNPXgWkmr5uTA2hMkSgj/yeDlwn6d5 GoRnc66ZQ28zh5b6BKLcuIndxayLknyf5vsuIhUjoGngjkBuc1MgBGjKsD3QmC/x8DH+ oWNwrlqoRdRo4fgR1sdjPM2CHscSkRXu6Z61A2lnrHq2qJdJ7tIk20LvZmOn/k5F8qV5 YYix26Lvuiu1or3OaLd9oRvcNTHQIClw17t7dwuxRumOGyMuMXy9COQg+sRPqtdRNBOU oN0kyU94f4x6cnwjJ5SaaOflykm4bYv9Vy9uU85mSRxdBBNtlvPP3MnYYrMU06aTimCu 5P9w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@me.com header.s=1a1hai header.b=SbAzunJ6; 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=QUARANTINE sp=QUARANTINE dis=NONE) header.from=me.com Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id b13-20020aa7c90d000000b004aac64ef710si1793741edt.432.2023.02.09.01.19.52; Thu, 09 Feb 2023 01:20:15 -0800 (PST) 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=@me.com header.s=1a1hai header.b=SbAzunJ6; 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=QUARANTINE sp=QUARANTINE dis=NONE) header.from=me.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230060AbjBIJS7 (ORCPT + 99 others); Thu, 9 Feb 2023 04:18:59 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:52826 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230034AbjBIJSb (ORCPT ); Thu, 9 Feb 2023 04:18:31 -0500 Received: from mr85p00im-zteg06023901.me.com (mr85p00im-zteg06023901.me.com [17.58.23.192]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 869A334C02 for ; Thu, 9 Feb 2023 01:18:21 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=me.com; s=1a1hai; t=1675934301; bh=l5/w8qzS8eROrSTSdYL3TF863UssIMOFYBR22gS7cAY=; h=From:To:Subject:Date:Message-Id:MIME-Version; b=SbAzunJ6FLU016F/cc/EjMNDH/P8jyPB+PyhVT4GTts7KQwLycRHDYA+ptWx45CiP gUVOUg3pM0d7mDkMOM3YQZGPjjpLQPk9UZEIs4IeBmsx2lWTQ2TZcR9xmVSu3r2whZ p/B3CR2yy+Ut6WG2PaaiotK7Vn+qAXjeU6veSqHfvPcM1ajN1tD7geHvASdAel+urX vmbSlwpNI9DLxulWrCzbjSyQPm9q+m5FjNWFnXsyRFTYRxrlzgdMPdWRHVnLobNf+6 zS8D0mvwv0OR/toDJsk7bOqA5l0jL1yElQ1Ogq6Vb6cvTu0jfsaxslU8T58J113qe1 poYcwtMXsFudg== Received: from localhost (mr38p00im-dlb-asmtp-mailmevip.me.com [17.57.152.18]) by mr85p00im-zteg06023901.me.com (Postfix) with ESMTPSA id D40EE6E0EC8; Thu, 9 Feb 2023 09:18:20 +0000 (UTC) From: Alain Volmat To: Jonathan Corbet , Rob Herring , Krzysztof Kozlowski , Thomas Gleixner , Marc Zyngier , "David S . Miller" , Eric Dumazet , Jakub Kicinski , Paolo Abeni , Russell King , Patrice Chotard , Giuseppe Cavallaro , Alexandre Torgue , Jose Abreu , Maxime Coquelin , "Rafael J . Wysocki" , Daniel Lezcano , Amit Kucheria , Zhang Rui , Michael Turquette , Stephen Boyd , Philipp Zabel Cc: linux-doc@vger.kernel.org, linux-kernel@vger.kernel.org, devicetree@vger.kernel.org, netdev@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-stm32@st-md-mailman.stormreply.com, linux-pm@vger.kernel.org, linux-clk@vger.kernel.org, Alain Volmat Subject: [PATCH 03/11] irqchip/st: remove stih415/stih416 and stid127 platforms support Date: Thu, 9 Feb 2023 10:16:51 +0100 Message-Id: <20230209091659.1409-4-avolmat@me.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20230209091659.1409-1-avolmat@me.com> References: <20230209091659.1409-1-avolmat@me.com> MIME-Version: 1.0 X-Proofpoint-GUID: pz0XQy9R-Ydn-oBIWTvKFNEJ-fXGsuFC X-Proofpoint-ORIG-GUID: pz0XQy9R-Ydn-oBIWTvKFNEJ-fXGsuFC X-Proofpoint-Virus-Version: =?utf-8?q?vendor=3Dfsecure_engine=3D1=2E1=2E170-?= =?utf-8?q?22c6f66c430a71ce266a39bfe25bc2903e8d5c8f=3A6=2E0=2E138=2C18=2E0?= =?utf-8?q?=2E572=2C17=2E0=2E605=2E474=2E0000000_definitions=3D2020-02-14=5F?= =?utf-8?q?11=3A2020-02-14=5F02=2C2020-02-14=5F11=2C2020-01-23=5F02_signatur?= =?utf-8?q?es=3D0?= X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 mlxscore=0 suspectscore=0 mlxlogscore=999 phishscore=0 adultscore=0 bulkscore=0 spamscore=0 clxscore=1015 malwarescore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2209130000 definitions=main-2302090088 X-Spam-Status: No, score=-2.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM,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?1757344605307822203?= X-GMAIL-MSGID: =?utf-8?q?1757344605307822203?= Remove support for the already no more supported stih415 and stih416 platforms. Remove as well the stid127 platform which never made it up to the kernel. Signed-off-by: Alain Volmat --- drivers/irqchip/irq-st.c | 15 --------------- 1 file changed, 15 deletions(-) diff --git a/drivers/irqchip/irq-st.c b/drivers/irqchip/irq-st.c index 1b83512b29c6..819a12297b58 100644 --- a/drivers/irqchip/irq-st.c +++ b/drivers/irqchip/irq-st.c @@ -15,10 +15,7 @@ #include #include -#define STIH415_SYSCFG_642 0x0a8 -#define STIH416_SYSCFG_7543 0x87c #define STIH407_SYSCFG_5102 0x198 -#define STID127_SYSCFG_734 0x088 #define ST_A9_IRQ_MASK 0x001FFFFF #define ST_A9_IRQ_MAX_CHANS 2 @@ -44,22 +41,10 @@ struct st_irq_syscfg { }; static const struct of_device_id st_irq_syscfg_match[] = { - { - .compatible = "st,stih415-irq-syscfg", - .data = (void *)STIH415_SYSCFG_642, - }, - { - .compatible = "st,stih416-irq-syscfg", - .data = (void *)STIH416_SYSCFG_7543, - }, { .compatible = "st,stih407-irq-syscfg", .data = (void *)STIH407_SYSCFG_5102, }, - { - .compatible = "st,stid127-irq-syscfg", - .data = (void *)STID127_SYSCFG_734, - }, {} }; From patchwork Thu Feb 9 09:16:52 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alain Volmat X-Patchwork-Id: 54812 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:adf:eb09:0:0:0:0:0 with SMTP id s9csp228302wrn; Thu, 9 Feb 2023 01:20:21 -0800 (PST) X-Google-Smtp-Source: AK7set+R4lkWOb+LYV6MPz7X6pOtv4SPyECaFRMeBHJTrmDLYrjbfWoFq3e+STj93tG2A3ns+ryF X-Received: by 2002:a17:906:db0d:b0:878:61d8:d7c2 with SMTP id xj13-20020a170906db0d00b0087861d8d7c2mr15553144ejb.39.1675934421667; Thu, 09 Feb 2023 01:20:21 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1675934421; cv=none; d=google.com; s=arc-20160816; b=oP7K8BA9lovfISbCkBV4I2gYsbVzcDiFZu/Ts/jKMr+wGzPzUMZc43jRP4aMfnCvno tYOC3y/NqTVeYPx40OOTWD+Oefjbn0ik7HpZDFkJFTK/2wh6UXG7VXkTMcYGDJc5nEpW /deyUgYgClY731PWKXxApHaKIDIM7/3m2dUoOWZS8nSlyihJPelQeOGwLG2LobQ54SoN 4z+m8RE5pXFO5mF7nc2Vx9VIkU1zOq80Ovs9oFY8yKqL7dQzuiP0Srt9YtG+0cMj/R3l WkO61J8aeaJQ95pRmu2zUZTDpc5sFR8uS2casCoMa3R9NshUm8fNzVSAl+FuZUYGJlzB UIwA== 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=zCmgb/TUYcxcPFcGKNVmXau6gFCFFzIlp/y6/FM/zpY=; b=nozW2PxqmMb5TWDgXDJly2vfMvfnYZ6Aw+bTN5GYXyjmEjysLSpis2X3hm1gQooC0q AHq94mfk4IOLwH6WIaAj54qKbDwkBwzqM9b2SY9Dg53B478JCEKUCBs6DNgM4M5dGOOw xVWVhOdcla/nIVh+2rdtUwiG9NKtUN7/b42WEYXRtHsbh4GIso4MTaZBoSbxFdNO5vEF 35nxRgREgxT4BaDxkfzuoTRuB95CqM7qguO9hBXy1hZv+FyfABvteC+jXCh4OAK6TMsj pYd7htpdsafC++CsUrXtk+Olf32dhKRFOxq84ANeOQBPlhNwnTzgndjJZraCxr6uOoY3 OUig== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@me.com header.s=1a1hai header.b=xbzWqQ7G; 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=QUARANTINE sp=QUARANTINE dis=NONE) header.from=me.com Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id 12-20020a170906224c00b0087a6a62dd48si2279413ejr.297.2023.02.09.01.19.59; Thu, 09 Feb 2023 01:20:21 -0800 (PST) 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=@me.com header.s=1a1hai header.b=xbzWqQ7G; 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=QUARANTINE sp=QUARANTINE dis=NONE) header.from=me.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230191AbjBIJTV (ORCPT + 99 others); Thu, 9 Feb 2023 04:19:21 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:53712 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230038AbjBIJTL (ORCPT ); Thu, 9 Feb 2023 04:19:11 -0500 Received: from mr85p00im-ztdg06021801.me.com (mr85p00im-ztdg06021801.me.com [17.58.23.195]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 9A67B6184C for ; Thu, 9 Feb 2023 01:18:54 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=me.com; s=1a1hai; t=1675934334; bh=zCmgb/TUYcxcPFcGKNVmXau6gFCFFzIlp/y6/FM/zpY=; h=From:To:Subject:Date:Message-Id:MIME-Version; b=xbzWqQ7GvziqX8vIL2uDuVkWcwR8M6YrqDAZ1Sjieug1L7slxTRRnZbK1J9F17XaM rI/slyIhzlpdv8/MfcVKWf7Vlcqsc9lAxlmuH5InQAA/7a6w16+Lx7AmMT5YEJDeXJ 9xeD+3p4Q/dMz4jx4Cjm1ArvaxRFSW67EWyZZOy3W+gZPJmrCdkLBlvuPyL1rQtVRq SW2GkmsHVhoacxVRFxYryAnU419aZXyd3WMOXGejZq8bFj9mJ+r3JxmHOicYvsscTK Ee62e4Mi7tajU0DS7D2GEgtUTMwc6QE/v+gwP9sVjXp0RE1v8dBeDDwRoPYCG+7kAj LBxvMXXzfzX9A== Received: from localhost (mr38p00im-dlb-asmtp-mailmevip.me.com [17.57.152.18]) by mr85p00im-ztdg06021801.me.com (Postfix) with ESMTPSA id 30740D02993; Thu, 9 Feb 2023 09:18:54 +0000 (UTC) From: Alain Volmat To: Jonathan Corbet , Rob Herring , Krzysztof Kozlowski , Thomas Gleixner , Marc Zyngier , "David S . Miller" , Eric Dumazet , Jakub Kicinski , Paolo Abeni , Russell King , Patrice Chotard , Giuseppe Cavallaro , Alexandre Torgue , Jose Abreu , Maxime Coquelin , "Rafael J . Wysocki" , Daniel Lezcano , Amit Kucheria , Zhang Rui , Michael Turquette , Stephen Boyd , Philipp Zabel Cc: linux-doc@vger.kernel.org, linux-kernel@vger.kernel.org, devicetree@vger.kernel.org, netdev@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-stm32@st-md-mailman.stormreply.com, linux-pm@vger.kernel.org, linux-clk@vger.kernel.org, Alain Volmat Subject: [PATCH 04/11] dt-bindings: irqchip: sti: remove stih415/stih416 and stid127 Date: Thu, 9 Feb 2023 10:16:52 +0100 Message-Id: <20230209091659.1409-5-avolmat@me.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20230209091659.1409-1-avolmat@me.com> References: <20230209091659.1409-1-avolmat@me.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,FREEMAIL_FROM,RCVD_IN_DNSWL_LOW, RCVD_IN_MSPIKE_H2,SPF_HELO_NONE,SPF_PASS autolearn=unavailable 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?1757344612294267262?= X-GMAIL-MSGID: =?utf-8?q?1757344612294267262?= Remove bindings for the stih415/stih416/stid127 since they are not supported within the kernel anymore. Signed-off-by: Alain Volmat Acked-by: Krzysztof Kozlowski --- .../bindings/interrupt-controller/st,sti-irq-syscfg.txt | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) diff --git a/Documentation/devicetree/bindings/interrupt-controller/st,sti-irq-syscfg.txt b/Documentation/devicetree/bindings/interrupt-controller/st,sti-irq-syscfg.txt index ced6014061a3..977d7ed3670e 100644 --- a/Documentation/devicetree/bindings/interrupt-controller/st,sti-irq-syscfg.txt +++ b/Documentation/devicetree/bindings/interrupt-controller/st,sti-irq-syscfg.txt @@ -6,11 +6,7 @@ and PL310 L2 Cache IRQs are controlled using System Configuration registers. This driver is used to unmask them prior to use. Required properties: -- compatible : Should be set to one of: - "st,stih415-irq-syscfg" - "st,stih416-irq-syscfg" - "st,stih407-irq-syscfg" - "st,stid127-irq-syscfg" +- compatible : Should be "st,stih407-irq-syscfg" - st,syscfg : Phandle to Cortex-A9 IRQ system config registers - st,irq-device : Array of IRQs to enable - should be 2 in length - st,fiq-device : Array of FIQs to enable - should be 2 in length @@ -25,11 +21,10 @@ Optional properties: Example: irq-syscfg { - compatible = "st,stih416-irq-syscfg"; + compatible = "st,stih407-irq-syscfg"; st,syscfg = <&syscfg_cpu>; st,irq-device = , ; st,fiq-device = , ; - st,invert-ext = <(ST_IRQ_SYSCFG_EXT_1_INV | ST_IRQ_SYSCFG_EXT_3_INV)>; }; From patchwork Thu Feb 9 09:16:53 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alain Volmat X-Patchwork-Id: 54815 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:adf:eb09:0:0:0:0:0 with SMTP id s9csp228544wrn; Thu, 9 Feb 2023 01:21:02 -0800 (PST) X-Google-Smtp-Source: AK7set+DN5jZiw1FW3OHjbRwHp6f3/uCEPq/IhKdOu/OGpVyvY49ngKZhnYPGHFZIRgzRilwQR91 X-Received: by 2002:a17:906:3b94:b0:886:4ca1:39f1 with SMTP id u20-20020a1709063b9400b008864ca139f1mr11055870ejf.73.1675934462163; Thu, 09 Feb 2023 01:21:02 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1675934462; cv=none; d=google.com; s=arc-20160816; b=qqF37ejlZ0GxgPaut8XafeNLWTr0cy0BjxZXIld7teEJkfQykYcb9ASQQELZXSizfj jGDInXqtJpY7Rn0qLMWR7hY9nDI77NjL2X0Ht5vCzuDp+8IvW+PVhzR1Bh1BFRazP1DX cFHes5MYwJ8UbhvWeq7p4po4a0Of5U/sOGPECuPN7D1LoB+6vyKitezCh+lV8hvlkIxX 1kkb1+pow11Fb5XTtHVrsHXZNOaqUX10l8crzU9ZmzEhbWH5/hC1o1YiuORTKX1JmCp9 Gpp9iMWOVcGEqRLakMjVFfGblWaYVajhfcu8qG/MZRWjT98TxPKHpnj7Sx2tL8xndnPJ 0hKg== 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=S91TVxwJ6JLM4iiw8Hh3bJf1VOjeGLK1M2nvPhvifOk=; b=C4KoHnq2GOOhTVsZKZNpTu1fBFvbOlngrv2fg1vCvd5mCRCIpfBdGbbMLAp/Lzk20I cojUXwxr/k4nca5tRXXJuHSNFBWSyOvs1WswZT7MW1mfALz8BoYhq9BHehQM9kNbE9rc OhieYJrc+X0oa4lSa5TFtmVknUFJOY9ggV5C7DU3r+CFoc0xezWq1S53C9KqrMzbbtmc DpVrRurnlJqUooEPDGqgAzBPUHe8pRNlwNYz5bdzEf6izwYn5YmwU/1oO+QRAz2T3Opk cWdkGKQptlHzX5o9jgl3wEL39h3Uu1IDDyxGN0EqX72zmE2GsdOxQkkTaP+8yz47iCxV yx3Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@me.com header.s=1a1hai header.b="C/qW3M/k"; 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=QUARANTINE sp=QUARANTINE dis=NONE) header.from=me.com Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id ac5-20020a170907344500b00890402f7b93si1707878ejc.353.2023.02.09.01.20.39; Thu, 09 Feb 2023 01:21:02 -0800 (PST) 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=@me.com header.s=1a1hai header.b="C/qW3M/k"; 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=QUARANTINE sp=QUARANTINE dis=NONE) header.from=me.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230150AbjBIJTe (ORCPT + 99 others); Thu, 9 Feb 2023 04:19:34 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:53756 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230147AbjBIJTN (ORCPT ); Thu, 9 Feb 2023 04:19:13 -0500 Received: from mr85p00im-zteg06022001.me.com (mr85p00im-zteg06022001.me.com [17.58.23.193]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id B4BD761859 for ; Thu, 9 Feb 2023 01:18:59 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=me.com; s=1a1hai; t=1675934338; bh=S91TVxwJ6JLM4iiw8Hh3bJf1VOjeGLK1M2nvPhvifOk=; h=From:To:Subject:Date:Message-Id:MIME-Version; b=C/qW3M/kXa6D61s2IQ2SNYsC2Qjns0j83s36Y6UZe9CxMF+DR4kb6SdV8wipe4WqE mO0UYbUaLnWpt3c0p7YkzqPUsmXTxRu9eY/ezttz9WH+iES6ed1pQHFxbfHNRb2j0r Z5Ma8rc/6ITzDnDG+ioDgbv8wJs1Mi1mj8+VcxiXKU8lSH+zzB+6U/bWVd6BBCHF2n C+20L+hFcbnQ2MtDb5Zb8eGJFBTIh92U/acaHg6W03jW76dN6xVUd3QW1qVbSbCcja naLZdj1fh5Epy+hJCMfbvsz4xhWt6TrmtmF2FFPZn9sUehGYzfSOtwZ9K8AsKqfWFr HLPZ01NoOjw7w== Received: from localhost (mr38p00im-dlb-asmtp-mailmevip.me.com [17.57.152.18]) by mr85p00im-zteg06022001.me.com (Postfix) with ESMTPSA id 2B09680217A; Thu, 9 Feb 2023 09:18:57 +0000 (UTC) From: Alain Volmat To: Jonathan Corbet , Rob Herring , Krzysztof Kozlowski , Thomas Gleixner , Marc Zyngier , "David S . Miller" , Eric Dumazet , Jakub Kicinski , Paolo Abeni , Russell King , Patrice Chotard , Giuseppe Cavallaro , Alexandre Torgue , Jose Abreu , Maxime Coquelin , "Rafael J . Wysocki" , Daniel Lezcano , Amit Kucheria , Zhang Rui , Michael Turquette , Stephen Boyd , Philipp Zabel Cc: linux-doc@vger.kernel.org, linux-kernel@vger.kernel.org, devicetree@vger.kernel.org, netdev@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-stm32@st-md-mailman.stormreply.com, linux-pm@vger.kernel.org, linux-clk@vger.kernel.org, Alain Volmat Subject: [PATCH 05/11] dt-bindings: arm: sti: remove bindings for stih415 and stih416 Date: Thu, 9 Feb 2023 10:16:53 +0100 Message-Id: <20230209091659.1409-6-avolmat@me.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20230209091659.1409-1-avolmat@me.com> References: <20230209091659.1409-1-avolmat@me.com> MIME-Version: 1.0 X-Proofpoint-GUID: UU4yCoGHveEGHB4tnWOexA9q8eTTOfp1 X-Proofpoint-ORIG-GUID: UU4yCoGHveEGHB4tnWOexA9q8eTTOfp1 X-Proofpoint-Virus-Version: =?utf-8?q?vendor=3Dfsecure_engine=3D1=2E1=2E170-?= =?utf-8?q?22c6f66c430a71ce266a39bfe25bc2903e8d5c8f=3A6=2E0=2E138=2C18=2E0?= =?utf-8?q?=2E572=2C17=2E0=2E605=2E474=2E0000000_definitions=3D2020-02-14=5F?= =?utf-8?q?11=3A2020-02-14=5F02=2C2020-02-14=5F11=2C2020-01-23=5F02_signatur?= =?utf-8?q?es=3D0?= X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 spamscore=0 mlxscore=0 mlxlogscore=980 adultscore=0 bulkscore=0 suspectscore=0 phishscore=0 malwarescore=0 clxscore=1015 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2209130000 definitions=main-2302090088 X-Spam-Status: No, score=-2.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM,RCVD_IN_DNSWL_LOW, RCVD_IN_MSPIKE_H2,SPF_HELO_NONE,SPF_PASS autolearn=unavailable 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?1757344654567341297?= X-GMAIL-MSGID: =?utf-8?q?1757344654567341297?= STiH415 and STiH416 platforms are no more supported hence remove the bindings for those two platforms. Signed-off-by: Alain Volmat Acked-by: Krzysztof Kozlowski --- Documentation/devicetree/bindings/arm/sti.yaml | 2 -- 1 file changed, 2 deletions(-) diff --git a/Documentation/devicetree/bindings/arm/sti.yaml b/Documentation/devicetree/bindings/arm/sti.yaml index 3ca054c64377..a2822f4d60e7 100644 --- a/Documentation/devicetree/bindings/arm/sti.yaml +++ b/Documentation/devicetree/bindings/arm/sti.yaml @@ -15,8 +15,6 @@ properties: compatible: items: - enum: - - st,stih415 - - st,stih416 - st,stih407 - st,stih410 - st,stih418 From patchwork Thu Feb 9 09:16:54 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alain Volmat X-Patchwork-Id: 54814 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:adf:eb09:0:0:0:0:0 with SMTP id s9csp228527wrn; Thu, 9 Feb 2023 01:20:58 -0800 (PST) X-Google-Smtp-Source: AK7set+EihR6C1Sx/yqq3/6t23BGUHS1AhArV5hylbNk7WtW0OcQFLMm85XtNXdB5mxjL/UN2AvM X-Received: by 2002:a17:906:7c93:b0:888:c0b4:7f08 with SMTP id w19-20020a1709067c9300b00888c0b47f08mr10747128ejo.29.1675934458651; Thu, 09 Feb 2023 01:20:58 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1675934458; cv=none; d=google.com; s=arc-20160816; b=NRfiBvB5eam2EdaLF1dE3f9iXrQPrNUtYiV9RQmWISzJ/JL3DELwl6GZUuJDr5Vdy2 w5oZgHuwzijIS94DKGnEyHWKou5tCaO7EgcdhpmDpx/XPZ5NwcAofeodOlTmncakxmWi kZ9gQhCC/HlAp2apPc22EQHpZaCru3BGokgOqOezR/mb6jy5wddWfk/6Gd3FG7Bho54u UGdFASfXofjdxvKN7g2GnMd3Hb241ZnMFoKwKjhUUHLflB+RiS3bzR6Zn+bPp+PyFm4b KG24S9nUtf2Qm1qt1q8hwpNgttWZiXW3thnV2327MA3XFuH0tu7ido2FyUVQiSHk/CGj 8caw== 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=vRkQEzM2+9/tGet/QZk1zb8qFTBGI28OrtCRk+zgfWM=; b=PJMnpO/QXKO7v8hdZ3firZHA9z3lW+HdNmoaJ9QVv2nEPKVz1HYb3uD4tHGewwgGNc DfTwrnRAOWritRzpPT07+qP+pbl/Oxlu/cnHLraqnU4cPfbGpQmKYXNR53uJvbbHTSyA 9Z9pY38KXINMe7fFMjxoIAETTtPScxZRfX809l39DOMeJNeit+JOtPjPf9WrTltAu7EJ nHVdA+ITzdtw2w7zTWFQgtCnb1CJssahQn8hgBf59ya145toXZaN4jrM9trp9TWnQN86 GbVzRRWSILdzfbR0dXnG4xloalHO03TR+Yj/p28reTHaENHOpw/KvE+ho3iYD28A6g0B OaBQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@me.com header.s=1a1hai header.b=ZLcArdtu; 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=QUARANTINE sp=QUARANTINE dis=NONE) header.from=me.com Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id ge21-20020a170907909500b00881cca91716si1891389ejb.704.2023.02.09.01.20.35; Thu, 09 Feb 2023 01:20:58 -0800 (PST) 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=@me.com header.s=1a1hai header.b=ZLcArdtu; 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=QUARANTINE sp=QUARANTINE dis=NONE) header.from=me.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230078AbjBIJT5 (ORCPT + 99 others); Thu, 9 Feb 2023 04:19:57 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:53828 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230030AbjBIJTP (ORCPT ); Thu, 9 Feb 2023 04:19:15 -0500 Received: from mr85p00im-zteg06023901.me.com (mr85p00im-zteg06023901.me.com [17.58.23.192]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 8495562790 for ; Thu, 9 Feb 2023 01:19:02 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=me.com; s=1a1hai; t=1675934342; bh=vRkQEzM2+9/tGet/QZk1zb8qFTBGI28OrtCRk+zgfWM=; h=From:To:Subject:Date:Message-Id:MIME-Version; b=ZLcArdtuxHGtGcK5K9/XT3ysC3aVs8v+ADY0ltkJByc6/h2D3t1luQNSzMrcbNZNG Uq0Z6UQgasjTSvi9Fb9rYlUSl1Y6TKLj5ypuNZDHbwbTf5BSQk1BIr2n6MqvrxYZP+ a+8BLwQXMGa6go0xKgTWNGzNevCeS8aa89488ZLekPzPlHp6+FDdeG0HU0mYD7fxDV 3H9giQGTeosV1wCsdCimj9xjVeRFFaApQ2lpuIG8mLyj61TepRVfF5unYMByfWxVPf JAaRt4MICsf9Mm/7bOshKrWS6ALJQcSKuoIIq1ew7mqm2uNqog1tjNW6dn7ToBLZIu H6svtTqIwIBvQ== Received: from localhost (mr38p00im-dlb-asmtp-mailmevip.me.com [17.57.152.18]) by mr85p00im-zteg06023901.me.com (Postfix) with ESMTPSA id 5621F6E0E87; Thu, 9 Feb 2023 09:19:01 +0000 (UTC) From: Alain Volmat To: Jonathan Corbet , Rob Herring , Krzysztof Kozlowski , Thomas Gleixner , Marc Zyngier , "David S . Miller" , Eric Dumazet , Jakub Kicinski , Paolo Abeni , Russell King , Patrice Chotard , Giuseppe Cavallaro , Alexandre Torgue , Jose Abreu , Maxime Coquelin , "Rafael J . Wysocki" , Daniel Lezcano , Amit Kucheria , Zhang Rui , Michael Turquette , Stephen Boyd , Philipp Zabel Cc: linux-doc@vger.kernel.org, linux-kernel@vger.kernel.org, devicetree@vger.kernel.org, netdev@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-stm32@st-md-mailman.stormreply.com, linux-pm@vger.kernel.org, linux-clk@vger.kernel.org, Alain Volmat Subject: [PATCH 06/11] thermal/drivers/st: remove syscfg based driver Date: Thu, 9 Feb 2023 10:16:54 +0100 Message-Id: <20230209091659.1409-7-avolmat@me.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20230209091659.1409-1-avolmat@me.com> References: <20230209091659.1409-1-avolmat@me.com> MIME-Version: 1.0 X-Proofpoint-ORIG-GUID: Mn4I-VDnLPHh3iky93NBkjJ0LUkZWiua X-Proofpoint-GUID: Mn4I-VDnLPHh3iky93NBkjJ0LUkZWiua X-Proofpoint-Virus-Version: =?utf-8?q?vendor=3Dfsecure_engine=3D1=2E1=2E170-?= =?utf-8?q?22c6f66c430a71ce266a39bfe25bc2903e8d5c8f=3A6=2E0=2E138=2C18=2E0?= =?utf-8?q?=2E572=2C17=2E11=2E62=2E513=2E0000000_definitions=3D2020-02-14=5F?= =?utf-8?q?11=3A2020-02-14=5F02=2C2020-02-14=5F11=2C2021-12-02=5F01_signatur?= =?utf-8?q?es=3D0?= X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 mlxlogscore=999 adultscore=0 suspectscore=0 clxscore=1015 mlxscore=0 malwarescore=0 spamscore=0 phishscore=0 bulkscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2209130000 definitions=main-2302090088 X-Spam-Status: No, score=-2.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM,RCVD_IN_DNSWL_LOW, RCVD_IN_MSPIKE_H2,SPF_HELO_NONE,SPF_PASS autolearn=unavailable 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?1757344651118813319?= X-GMAIL-MSGID: =?utf-8?q?1757344651118813319?= The syscfg based thermal driver is only supporting STiH415 STiH416 and STiD127 platforms which are all no more supported. We can thus safely remove this driver since the remaining STi platform STiH407/STiH410 and STiH418 are all using the memmap based thermal driver. Signed-off-by: Alain Volmat --- drivers/thermal/st/Kconfig | 4 - drivers/thermal/st/Makefile | 1 - drivers/thermal/st/st_thermal_syscfg.c | 174 ------------------------- 3 files changed, 179 deletions(-) delete mode 100644 drivers/thermal/st/st_thermal_syscfg.c diff --git a/drivers/thermal/st/Kconfig b/drivers/thermal/st/Kconfig index 58ece381956b..ecbdf4ef00f4 100644 --- a/drivers/thermal/st/Kconfig +++ b/drivers/thermal/st/Kconfig @@ -8,10 +8,6 @@ config ST_THERMAL help Support for thermal sensors on STMicroelectronics STi series of SoCs. -config ST_THERMAL_SYSCFG - select ST_THERMAL - tristate "STi series syscfg register access based thermal sensors" - config ST_THERMAL_MEMMAP select ST_THERMAL tristate "STi series memory mapped access based thermal sensors" diff --git a/drivers/thermal/st/Makefile b/drivers/thermal/st/Makefile index c4cfa3c4a660..9bb0342b77f4 100644 --- a/drivers/thermal/st/Makefile +++ b/drivers/thermal/st/Makefile @@ -1,5 +1,4 @@ # SPDX-License-Identifier: GPL-2.0-only obj-$(CONFIG_ST_THERMAL) := st_thermal.o -obj-$(CONFIG_ST_THERMAL_SYSCFG) += st_thermal_syscfg.o obj-$(CONFIG_ST_THERMAL_MEMMAP) += st_thermal_memmap.o obj-$(CONFIG_STM32_THERMAL) += stm_thermal.o diff --git a/drivers/thermal/st/st_thermal_syscfg.c b/drivers/thermal/st/st_thermal_syscfg.c deleted file mode 100644 index 94efecf35cf8..000000000000 --- a/drivers/thermal/st/st_thermal_syscfg.c +++ /dev/null @@ -1,174 +0,0 @@ -// SPDX-License-Identifier: GPL-2.0-or-later -/* - * ST Thermal Sensor Driver for syscfg based sensors. - * Author: Ajit Pal Singh - * - * Copyright (C) 2003-2014 STMicroelectronics (R&D) Limited - */ - -#include -#include -#include - -#include "st_thermal.h" - -/* STiH415 */ -#define STIH415_SYSCFG_FRONT(num) ((num - 100) * 4) -#define STIH415_SAS_THSENS_CONF STIH415_SYSCFG_FRONT(178) -#define STIH415_SAS_THSENS_STATUS STIH415_SYSCFG_FRONT(198) -#define STIH415_SYSCFG_MPE(num) ((num - 600) * 4) -#define STIH415_MPE_THSENS_CONF STIH415_SYSCFG_MPE(607) -#define STIH415_MPE_THSENS_STATUS STIH415_SYSCFG_MPE(667) - -/* STiH416 */ -#define STIH416_SYSCFG_FRONT(num) ((num - 1000) * 4) -#define STIH416_SAS_THSENS_CONF STIH416_SYSCFG_FRONT(1552) -#define STIH416_SAS_THSENS_STATUS1 STIH416_SYSCFG_FRONT(1554) -#define STIH416_SAS_THSENS_STATUS2 STIH416_SYSCFG_FRONT(1594) - -/* STiD127 */ -#define STID127_SYSCFG_CPU(num) ((num - 700) * 4) -#define STID127_THSENS_CONF STID127_SYSCFG_CPU(743) -#define STID127_THSENS_STATUS STID127_SYSCFG_CPU(767) - -static const struct reg_field st_415sas_regfields[MAX_REGFIELDS] = { - [TEMP_PWR] = REG_FIELD(STIH415_SAS_THSENS_CONF, 9, 9), - [DCORRECT] = REG_FIELD(STIH415_SAS_THSENS_CONF, 4, 8), - [OVERFLOW] = REG_FIELD(STIH415_SAS_THSENS_STATUS, 8, 8), - [DATA] = REG_FIELD(STIH415_SAS_THSENS_STATUS, 10, 16), -}; - -static const struct reg_field st_415mpe_regfields[MAX_REGFIELDS] = { - [TEMP_PWR] = REG_FIELD(STIH415_MPE_THSENS_CONF, 8, 8), - [DCORRECT] = REG_FIELD(STIH415_MPE_THSENS_CONF, 3, 7), - [OVERFLOW] = REG_FIELD(STIH415_MPE_THSENS_STATUS, 9, 9), - [DATA] = REG_FIELD(STIH415_MPE_THSENS_STATUS, 11, 18), -}; - -static const struct reg_field st_416sas_regfields[MAX_REGFIELDS] = { - [TEMP_PWR] = REG_FIELD(STIH416_SAS_THSENS_CONF, 9, 9), - [DCORRECT] = REG_FIELD(STIH416_SAS_THSENS_CONF, 4, 8), - [OVERFLOW] = REG_FIELD(STIH416_SAS_THSENS_STATUS1, 8, 8), - [DATA] = REG_FIELD(STIH416_SAS_THSENS_STATUS2, 10, 16), -}; - -static const struct reg_field st_127_regfields[MAX_REGFIELDS] = { - [TEMP_PWR] = REG_FIELD(STID127_THSENS_CONF, 7, 7), - [DCORRECT] = REG_FIELD(STID127_THSENS_CONF, 2, 6), - [OVERFLOW] = REG_FIELD(STID127_THSENS_STATUS, 9, 9), - [DATA] = REG_FIELD(STID127_THSENS_STATUS, 11, 18), -}; - -/* Private OPs for System Configuration Register based thermal sensors */ -static int st_syscfg_power_ctrl(struct st_thermal_sensor *sensor, - enum st_thermal_power_state power_state) -{ - return regmap_field_write(sensor->pwr, power_state); -} - -static int st_syscfg_alloc_regfields(struct st_thermal_sensor *sensor) -{ - struct device *dev = sensor->dev; - - sensor->pwr = devm_regmap_field_alloc(dev, sensor->regmap, - sensor->cdata->reg_fields[TEMP_PWR]); - - if (IS_ERR(sensor->pwr)) { - dev_err(dev, "failed to alloc syscfg regfields\n"); - return PTR_ERR(sensor->pwr); - } - - return 0; -} - -static int st_syscfg_regmap_init(struct st_thermal_sensor *sensor) -{ - sensor->regmap = - syscon_regmap_lookup_by_compatible(sensor->cdata->sys_compat); - if (IS_ERR(sensor->regmap)) { - dev_err(sensor->dev, "failed to find syscfg regmap\n"); - return PTR_ERR(sensor->regmap); - } - - return 0; -} - -static const struct st_thermal_sensor_ops st_syscfg_sensor_ops = { - .power_ctrl = st_syscfg_power_ctrl, - .alloc_regfields = st_syscfg_alloc_regfields, - .regmap_init = st_syscfg_regmap_init, -}; - -/* Compatible device data for stih415 sas thermal sensor */ -static const struct st_thermal_compat_data st_415sas_cdata = { - .sys_compat = "st,stih415-front-syscfg", - .reg_fields = st_415sas_regfields, - .ops = &st_syscfg_sensor_ops, - .calibration_val = 16, - .temp_adjust_val = 20, - .crit_temp = 120, -}; - -/* Compatible device data for stih415 mpe thermal sensor */ -static const struct st_thermal_compat_data st_415mpe_cdata = { - .sys_compat = "st,stih415-system-syscfg", - .reg_fields = st_415mpe_regfields, - .ops = &st_syscfg_sensor_ops, - .calibration_val = 16, - .temp_adjust_val = -103, - .crit_temp = 120, -}; - -/* Compatible device data for stih416 sas thermal sensor */ -static const struct st_thermal_compat_data st_416sas_cdata = { - .sys_compat = "st,stih416-front-syscfg", - .reg_fields = st_416sas_regfields, - .ops = &st_syscfg_sensor_ops, - .calibration_val = 16, - .temp_adjust_val = 20, - .crit_temp = 120, -}; - -/* Compatible device data for stid127 thermal sensor */ -static const struct st_thermal_compat_data st_127_cdata = { - .sys_compat = "st,stid127-cpu-syscfg", - .reg_fields = st_127_regfields, - .ops = &st_syscfg_sensor_ops, - .calibration_val = 8, - .temp_adjust_val = -103, - .crit_temp = 120, -}; - -static const struct of_device_id st_syscfg_thermal_of_match[] = { - { .compatible = "st,stih415-sas-thermal", .data = &st_415sas_cdata }, - { .compatible = "st,stih415-mpe-thermal", .data = &st_415mpe_cdata }, - { .compatible = "st,stih416-sas-thermal", .data = &st_416sas_cdata }, - { .compatible = "st,stid127-thermal", .data = &st_127_cdata }, - { /* sentinel */ } -}; -MODULE_DEVICE_TABLE(of, st_syscfg_thermal_of_match); - -static int st_syscfg_probe(struct platform_device *pdev) -{ - return st_thermal_register(pdev, st_syscfg_thermal_of_match); -} - -static int st_syscfg_remove(struct platform_device *pdev) -{ - return st_thermal_unregister(pdev); -} - -static struct platform_driver st_syscfg_thermal_driver = { - .driver = { - .name = "st_syscfg_thermal", - .pm = &st_thermal_pm_ops, - .of_match_table = st_syscfg_thermal_of_match, - }, - .probe = st_syscfg_probe, - .remove = st_syscfg_remove, -}; -module_platform_driver(st_syscfg_thermal_driver); - -MODULE_AUTHOR("STMicroelectronics (R&D) Limited "); -MODULE_DESCRIPTION("STMicroelectronics STi SoC Thermal Sensor Driver"); -MODULE_LICENSE("GPL v2"); From patchwork Thu Feb 9 09:16:55 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alain Volmat X-Patchwork-Id: 54816 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:adf:eb09:0:0:0:0:0 with SMTP id s9csp228620wrn; Thu, 9 Feb 2023 01:21:15 -0800 (PST) X-Google-Smtp-Source: AK7set+kxUS43spyy5vf2OpeuVrzdeWYwOfVx1ZpxKUGbhj6g+fW1J02m4LeYskVort0h38g6Y4i X-Received: by 2002:a17:907:76d2:b0:88c:ea64:4ff0 with SMTP id kf18-20020a17090776d200b0088cea644ff0mr11282227ejc.19.1675934474850; Thu, 09 Feb 2023 01:21:14 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1675934474; cv=none; d=google.com; s=arc-20160816; b=YBZDc0qzQVvyu10RTm1JDg2pWgBHvr5uLsTNEpjnJUhH0ZyaeXnS4V2/RF5CwcZAp2 pQdC80ZF9v0wEW23EdWav5KWL0gv0GsnW+zm9uSWyWgXrGovbO4QZDSi0nTcJo76A5GN ktYkoyuupF38vPR82S3USnXBFcUYQoGUlnYMav+a1OCEu/U/fb1CThTe6fZarn8K5nb8 Ys2ud5fS8f9ZHzZLbZoBWS0MeEaeiuj6kfx6bE6NYDtWoj44wu6EfzKwCxEOX5lA+cog C/ByzcFnwNel0pfenWPeKteQLUquyW88U8STdCJphOHqd7OxLUvtVD9I+0JOKel6RCOn o/QA== 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=Yv+aNQTOHIB7qRjwbmhigngM9kFtfMeoMgBiuYQtyTc=; b=05yXZnq41LkmjvDjS+OJvrkoRl2IIueyrVMGkyDMNHfnDHB17j/BiGQgU5CRg3aXfg U1UOXndcBO18gmyVl1CKYibh0l7OLLHlwTpPDTIaf6+l18avVvQSrtjo2H7XYyjDC5an P3RPua7guujoUgV+ywAHZ1LngN1YJ1WCkVm30QpAAObXGkbJShwPuBtZaUUAUjjP9G41 EC8DS+aurucHKe0LJfdKrpngVAvrWirArBGTHCTnC4d+0zMWWttqKi3K298G9rmga0JQ iBu1+6gfgsXAHqa6NPAqbELLuqt0A41REhzlzywPwP+WfKmzNg9bt/amliYroatDLWgy 7mHg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@me.com header.s=1a1hai header.b=oBFHuOqp; 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=QUARANTINE sp=QUARANTINE dis=NONE) header.from=me.com Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id v3-20020a17090651c300b007c08bfea548si2305090ejk.382.2023.02.09.01.20.52; Thu, 09 Feb 2023 01:21:14 -0800 (PST) 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=@me.com header.s=1a1hai header.b=oBFHuOqp; 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=QUARANTINE sp=QUARANTINE dis=NONE) header.from=me.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230172AbjBIJTw (ORCPT + 99 others); Thu, 9 Feb 2023 04:19:52 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:53684 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230033AbjBIJTR (ORCPT ); Thu, 9 Feb 2023 04:19:17 -0500 Received: from mr85p00im-ztdg06021801.me.com (mr85p00im-ztdg06021801.me.com [17.58.23.195]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id BD0276278F for ; Thu, 9 Feb 2023 01:19:05 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=me.com; s=1a1hai; t=1675934345; bh=Yv+aNQTOHIB7qRjwbmhigngM9kFtfMeoMgBiuYQtyTc=; h=From:To:Subject:Date:Message-Id:MIME-Version; b=oBFHuOqplvPaB63OfWHRSYdmhJyYEYuM64AGUaaBl1O9cDGOgkRm1Md9X2qfrF4Yb cNz0TzPvmowvMZJclQB7q20wOlUdM9FyImDauKzGV8RQBoi95qNIoPHcV5yfLNh+r/ vrOgEvUpTrDjsa+N3wKz7AMoBx0vdz2xODUb2uLlX5u3FoUlSP/DAJotIuTq7ffHmx loB19SNpknN+bJRB6rQSAzEjc8fYLEaKmd8bFy5WboTd2EiURLhGE+8JGhRPH32TJQ jo56V1Jy4Nfph7kVKWThxswd2D1+l+pHOAjF5LzmoSfiCXh11WUKgMOc9pE5RRtW24 PKcyexmRmtGtA== Received: from localhost (mr38p00im-dlb-asmtp-mailmevip.me.com [17.57.152.18]) by mr85p00im-ztdg06021801.me.com (Postfix) with ESMTPSA id F2AFAD02A13; Thu, 9 Feb 2023 09:19:04 +0000 (UTC) From: Alain Volmat To: Jonathan Corbet , Rob Herring , Krzysztof Kozlowski , Thomas Gleixner , Marc Zyngier , "David S . Miller" , Eric Dumazet , Jakub Kicinski , Paolo Abeni , Russell King , Patrice Chotard , Giuseppe Cavallaro , Alexandre Torgue , Jose Abreu , Maxime Coquelin , "Rafael J . Wysocki" , Daniel Lezcano , Amit Kucheria , Zhang Rui , Michael Turquette , Stephen Boyd , Philipp Zabel Cc: linux-doc@vger.kernel.org, linux-kernel@vger.kernel.org, devicetree@vger.kernel.org, netdev@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-stm32@st-md-mailman.stormreply.com, linux-pm@vger.kernel.org, linux-clk@vger.kernel.org, Alain Volmat Subject: [PATCH 07/11] net: ethernet: stmmac: dwmac-sti: remove stih415/stih416/stid127 Date: Thu, 9 Feb 2023 10:16:55 +0100 Message-Id: <20230209091659.1409-8-avolmat@me.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20230209091659.1409-1-avolmat@me.com> References: <20230209091659.1409-1-avolmat@me.com> MIME-Version: 1.0 X-Proofpoint-GUID: cbkkKnxBitPfqUkYra3jifKFBB60-BQq X-Proofpoint-ORIG-GUID: cbkkKnxBitPfqUkYra3jifKFBB60-BQq X-Proofpoint-Virus-Version: =?utf-8?q?vendor=3Dfsecure_engine=3D1=2E1=2E170-?= =?utf-8?q?22c6f66c430a71ce266a39bfe25bc2903e8d5c8f=3A6=2E0=2E425=2C18=2E0?= =?utf-8?q?=2E816=2C17=2E11=2E62=2E513=2E0000000_definitions=3D2022-01-18=5F?= =?utf-8?q?01=3A2022-01-14=5F01=2C2022-01-18=5F01=2C2021-12-02=5F01_signatur?= =?utf-8?q?es=3D0?= X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 mlxscore=0 suspectscore=0 bulkscore=0 adultscore=0 clxscore=1015 spamscore=0 phishscore=0 mlxlogscore=999 malwarescore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2209130000 definitions=main-2302090088 X-Spam-Status: No, score=-2.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM,RCVD_IN_DNSWL_LOW, RCVD_IN_MSPIKE_H2,SPF_HELO_NONE,SPF_PASS autolearn=unavailable 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?1757344668275318723?= X-GMAIL-MSGID: =?utf-8?q?1757344668275318723?= Remove no more supported platforms (stih415/stih416 and stid127) Signed-off-by: Alain Volmat Acked-by: Jakub Kicinski --- .../net/ethernet/stmicro/stmmac/dwmac-sti.c | 60 +------------------ 1 file changed, 1 insertion(+), 59 deletions(-) diff --git a/drivers/net/ethernet/stmicro/stmmac/dwmac-sti.c b/drivers/net/ethernet/stmicro/stmmac/dwmac-sti.c index 710d7435733e..3b424f4f95f9 100644 --- a/drivers/net/ethernet/stmicro/stmmac/dwmac-sti.c +++ b/drivers/net/ethernet/stmicro/stmmac/dwmac-sti.c @@ -35,7 +35,7 @@ #define IS_PHY_IF_MODE_GBIT(iface) (IS_PHY_IF_MODE_RGMII(iface) || \ iface == PHY_INTERFACE_MODE_GMII) -/* STiH4xx register definitions (STiH415/STiH416/STiH407/STiH410 families) +/* STiH4xx register definitions (STiH407/STiH410 families) * * Below table summarizes the clock requirement and clock sources for * supported phy interface modes with link speeds. @@ -75,27 +75,6 @@ #define STIH4XX_ETH_SEL_INTERNAL_NOTEXT_PHYCLK BIT(7) #define STIH4XX_ETH_SEL_TXCLK_NOT_CLK125 BIT(6) -/* STiD127 register definitions - *----------------------- - * src |BIT(6)| BIT(7)| - *----------------------- - * MII | 1 | n/a | - *----------------------- - * RMII | n/a | 1 | - * clkgen| | | - *----------------------- - * RMII | n/a | 0 | - * phyclk| | | - *----------------------- - * RGMII | 1 | n/a | - * clkgen| | | - *----------------------- - */ - -#define STID127_RETIME_SRC_MASK GENMASK(7, 6) -#define STID127_ETH_SEL_INTERNAL_NOTEXT_PHYCLK BIT(7) -#define STID127_ETH_SEL_INTERNAL_NOTEXT_TXCLK BIT(6) - #define ENMII_MASK GENMASK(5, 5) #define ENMII BIT(5) #define EN_MASK GENMASK(1, 1) @@ -194,36 +173,6 @@ static void stih4xx_fix_retime_src(void *priv, u32 spd) stih4xx_tx_retime_val[src]); } -static void stid127_fix_retime_src(void *priv, u32 spd) -{ - struct sti_dwmac *dwmac = priv; - u32 reg = dwmac->ctrl_reg; - u32 freq = 0; - u32 val = 0; - - if (dwmac->interface == PHY_INTERFACE_MODE_MII) { - val = STID127_ETH_SEL_INTERNAL_NOTEXT_TXCLK; - } else if (dwmac->interface == PHY_INTERFACE_MODE_RMII) { - if (!dwmac->ext_phyclk) { - val = STID127_ETH_SEL_INTERNAL_NOTEXT_PHYCLK; - freq = DWMAC_50MHZ; - } - } else if (IS_PHY_IF_MODE_RGMII(dwmac->interface)) { - val = STID127_ETH_SEL_INTERNAL_NOTEXT_TXCLK; - if (spd == SPEED_1000) - freq = DWMAC_125MHZ; - else if (spd == SPEED_100) - freq = DWMAC_25MHZ; - else if (spd == SPEED_10) - freq = DWMAC_2_5MHZ; - } - - if (freq) - clk_set_rate(dwmac->clk, freq); - - regmap_update_bits(dwmac->regmap, reg, STID127_RETIME_SRC_MASK, val); -} - static int sti_dwmac_set_mode(struct sti_dwmac *dwmac) { struct regmap *regmap = dwmac->regmap; @@ -407,14 +356,7 @@ static const struct sti_dwmac_of_data stih4xx_dwmac_data = { .fix_retime_src = stih4xx_fix_retime_src, }; -static const struct sti_dwmac_of_data stid127_dwmac_data = { - .fix_retime_src = stid127_fix_retime_src, -}; - static const struct of_device_id sti_dwmac_match[] = { - { .compatible = "st,stih415-dwmac", .data = &stih4xx_dwmac_data}, - { .compatible = "st,stih416-dwmac", .data = &stih4xx_dwmac_data}, - { .compatible = "st,stid127-dwmac", .data = &stid127_dwmac_data}, { .compatible = "st,stih407-dwmac", .data = &stih4xx_dwmac_data}, { } }; From patchwork Thu Feb 9 09:16:56 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alain Volmat X-Patchwork-Id: 54817 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:adf:eb09:0:0:0:0:0 with SMTP id s9csp228714wrn; Thu, 9 Feb 2023 01:21:29 -0800 (PST) X-Google-Smtp-Source: AK7set9XtCyMjHkHeGl+80ol7u0/QK4BHv3dvkoi0fioXS0jjbirDVSDHSTHkNOpMlky4bI7c7fJ X-Received: by 2002:a50:cd48:0:b0:4aa:a76b:1ac7 with SMTP id d8-20020a50cd48000000b004aaa76b1ac7mr11626286edj.25.1675934489502; Thu, 09 Feb 2023 01:21:29 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1675934489; cv=none; d=google.com; s=arc-20160816; b=gNbP3ucbgZXoz0Pqz/KBxhh1OemhsdBujhQPxNdwWcL0gi1Rv4ufdi+H6doGnTuHl5 Gk8R+1xOQs8nhR9fcwbkwkXEbzBFTDdLiS3S1H3rWNxbuYJ01l0MuSiLT7l9hn+q0zT+ Q8FP9nH4VCOiiDsaJlmXHccv7F4t8kVzi5HEz4tHeRzJ/nb4Xl3tNvmYjnf9PcvEH+tk JHy65DY9Xj7KtEnqXm8wh2jjs2/R50oTyfbgOGiRKv7fqGEZck2zSfph2/hKTQ3TvIaz MtCFkcKQVIf4vS0ZzFMCoG7fOFRb5WkCYckkIdNt9Kocrc25HmbWnqP2Q5TOoiJoAWIj 9fAw== 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=DUltBeSQib27mTpQ0LQ3TLKQqhLhZZMnbOjDd3/GZrM=; b=Kj9wm0vb/hKed9nsJaqdxGRdaaQDNio+Xi8tn7LsWANrMI0FxvsQGAHyJb4wMwR8in tZqoxcSPCA6fySMdsbsHtwUGe6zgHsj3t21wooVKl5L1fMdA2bLm6Oy+xrKuZVWJd/md z+oMPBBGkE0kuJhYw+6QFnk4N3+fDvOiGKBR3+WSFDfxWseqd+4fv/CxjzaylEK2ZFV0 43PqMUsORtLnZywTNsKtLbwFgu1u5VGVwCEe6lDN/sP1wahUrnOuJN6/IM9UHognR7V2 mSNxd4rKZcxkEFG1srKEWcGtFKB3tzbLgB/EZQR+n5FgxzCCWItUhYdMWi8TIHcldAWf 2cpw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@me.com header.s=1a1hai header.b=QEtNx70F; 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=QUARANTINE sp=QUARANTINE dis=NONE) header.from=me.com Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id e13-20020a056402088d00b004aaa65bda57si1653139edy.423.2023.02.09.01.21.06; Thu, 09 Feb 2023 01:21:29 -0800 (PST) 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=@me.com header.s=1a1hai header.b=QEtNx70F; 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=QUARANTINE sp=QUARANTINE dis=NONE) header.from=me.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230181AbjBIJUC (ORCPT + 99 others); Thu, 9 Feb 2023 04:20:02 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:53570 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229520AbjBIJTU (ORCPT ); Thu, 9 Feb 2023 04:19:20 -0500 Received: from mr85p00im-zteg06021901.me.com (mr85p00im-zteg06021901.me.com [17.58.23.194]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 0729362792 for ; Thu, 9 Feb 2023 01:19:09 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=me.com; s=1a1hai; t=1675934349; bh=DUltBeSQib27mTpQ0LQ3TLKQqhLhZZMnbOjDd3/GZrM=; h=From:To:Subject:Date:Message-Id:MIME-Version; b=QEtNx70FnVYayIvHdFkNZl7jGNeKYED0YmFIJ4quODIv6bGV5uRnzHVVx8t761gKt nbif4MjZtu2au4Uhvou5uKcMTRfQEhaOHeJK2hrWKbzfe7OkQzXhKoIC9W/+g0cY4M XfeDoP+GMWaeeY0Wo0hWXKaji64lz+1eE50uennTK3XSQu3MZbg9UjfsSFfMsCShAk wTKlpIm3AgGyNkjosWUCy1A8FPaB/R74EQhSWg8ftA7uVHVnCjfFMXaSHSp4QC0dZB xTfLKV+H6L3SKllSJ9EdG4UXmtbCABWiSCOsED/L012ok4mReqnYC2icJ341mJhdZ/ G3H7rRo/WRwwg== Received: from localhost (mr38p00im-dlb-asmtp-mailmevip.me.com [17.57.152.18]) by mr85p00im-zteg06021901.me.com (Postfix) with ESMTPSA id 5222B740F86; Thu, 9 Feb 2023 09:19:08 +0000 (UTC) From: Alain Volmat To: Jonathan Corbet , Rob Herring , Krzysztof Kozlowski , Thomas Gleixner , Marc Zyngier , "David S . Miller" , Eric Dumazet , Jakub Kicinski , Paolo Abeni , Russell King , Patrice Chotard , Giuseppe Cavallaro , Alexandre Torgue , Jose Abreu , Maxime Coquelin , "Rafael J . Wysocki" , Daniel Lezcano , Amit Kucheria , Zhang Rui , Michael Turquette , Stephen Boyd , Philipp Zabel Cc: linux-doc@vger.kernel.org, linux-kernel@vger.kernel.org, devicetree@vger.kernel.org, netdev@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-stm32@st-md-mailman.stormreply.com, linux-pm@vger.kernel.org, linux-clk@vger.kernel.org, Alain Volmat Subject: [PATCH 08/11] dt-bindings: net: dwmac: sti: remove stih415/sti416/stid127 Date: Thu, 9 Feb 2023 10:16:56 +0100 Message-Id: <20230209091659.1409-9-avolmat@me.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20230209091659.1409-1-avolmat@me.com> References: <20230209091659.1409-1-avolmat@me.com> MIME-Version: 1.0 X-Proofpoint-ORIG-GUID: whstFxbSkOc06pbJYDNEpWvhfqS-wG34 X-Proofpoint-GUID: whstFxbSkOc06pbJYDNEpWvhfqS-wG34 X-Proofpoint-Virus-Version: =?utf-8?q?vendor=3Dfsecure_engine=3D1=2E1=2E170-?= =?utf-8?q?22c6f66c430a71ce266a39bfe25bc2903e8d5c8f=3A6=2E0=2E138=2C18=2E0?= =?utf-8?q?=2E572=2C17=2E11=2E62=2E513=2E0000000_definitions=3D2020-02-14=5F?= =?utf-8?q?11=3A2020-02-14=5F02=2C2020-02-14=5F11=2C2021-12-02=5F01_signatur?= =?utf-8?q?es=3D0?= X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 malwarescore=0 mlxscore=0 spamscore=0 mlxlogscore=999 adultscore=0 bulkscore=0 phishscore=0 suspectscore=0 clxscore=1015 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2209130000 definitions=main-2302090088 X-Spam-Status: No, score=-2.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM,RCVD_IN_DNSWL_LOW, RCVD_IN_MSPIKE_H2,SPF_HELO_NONE,SPF_PASS autolearn=unavailable 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?1757344683321577503?= X-GMAIL-MSGID: =?utf-8?q?1757344683321577503?= Remove compatible for stih415/stih416 and stid127 which are no more supported. Signed-off-by: Alain Volmat Acked-by: Krzysztof Kozlowski --- Documentation/devicetree/bindings/net/sti-dwmac.txt | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/Documentation/devicetree/bindings/net/sti-dwmac.txt b/Documentation/devicetree/bindings/net/sti-dwmac.txt index 062c5174add3..42cd075456ab 100644 --- a/Documentation/devicetree/bindings/net/sti-dwmac.txt +++ b/Documentation/devicetree/bindings/net/sti-dwmac.txt @@ -7,8 +7,7 @@ and what is needed on STi platforms to program the stmmac glue logic. The device node has following properties. Required properties: - - compatible : Can be "st,stih415-dwmac", "st,stih416-dwmac", - "st,stih407-dwmac", "st,stid127-dwmac". + - compatible : "st,stih407-dwmac" - st,syscon : Should be phandle/offset pair. The phandle to the syscon node which encompases the glue register, and the offset of the control register. - st,gmac_en: this is to enable the gmac into a dedicated sysctl control From patchwork Thu Feb 9 09:16:57 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alain Volmat X-Patchwork-Id: 54819 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:adf:eb09:0:0:0:0:0 with SMTP id s9csp228861wrn; Thu, 9 Feb 2023 01:21:52 -0800 (PST) X-Google-Smtp-Source: AK7set/NZlhvT2dVYCBY8h+VsFbQ68Cv6uc3QkhUCJaxQweKaQdKf5H3OkZYzKI8+UYJKlKAlqR4 X-Received: by 2002:a50:cdd9:0:b0:4aa:b392:d01f with SMTP id h25-20020a50cdd9000000b004aab392d01fmr13364347edj.34.1675934512535; Thu, 09 Feb 2023 01:21:52 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1675934512; cv=none; d=google.com; s=arc-20160816; b=ZdqUNQ9iYH0U7N4W6XCPeZFaEzyYyhGshydgVe/u4KyIO6DkyqYY1gjPMPRUh2VpMK Ue2UsZQapxa+03o3IEN8KXPQqTH+Uk+gHe63l1Y1hgvWn+bZVA6EFGJx2szy3CjbLYHK WisISDUHbdJ/R5FerbUdNjS1VemNNAg4eCo3Ul8YksbzNXUO8XRg6YlI/Cwpgxq41JVQ Tdhgxd8Rx59b1UgeBj5j/T83eTPBujc2LYHZul8oNcNW5VA8kTPIbSFEy3kDuhtLXtKF XEiLvAlH8BG5qmm6copZv2iMQYeLdo/8C+JmxCggELD7YI2ZREOTU/gHwh6BTLakre75 G8uA== 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=W/tQKYd86i5nc4KgjfqJW6Leh53d55gvFFQz2lW1qD4=; b=WCG10qXR3kfit3xTzESUV9RloZ598Z/xB/R/POtaZhbxBvkinbvQu9obFpUfnQbtTx lpHPIG9+NQ3TAywfsnaYvgCym1RipqCXV/nvw3Q2NqasICYkMM0s0l4aAmSIDl6Vb3Mn xMerz+CLz34F3VqkyzSXSBbmPMPGxUGnbc2BbM3KPySdvMJBihm2xroQbPuOVWzf8q7J 5sKNoXz9sTB0eEwtNVS8imI2qcVor+2fxGuH9Jwb39YkrBdh5RLa1Ji4fEs6cgq6ycej dvk4XBNT2555UVtdE1E+rQCyePXVyU8P7YT/pcNABpt7L/8AfkJH0TM/9gJ2iugmyS+T JH7Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@me.com header.s=1a1hai header.b=n9QgbhF5; 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=QUARANTINE sp=QUARANTINE dis=NONE) header.from=me.com Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id f17-20020a50ee91000000b004a20fa1a03dsi1576906edr.178.2023.02.09.01.21.29; Thu, 09 Feb 2023 01:21:52 -0800 (PST) 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=@me.com header.s=1a1hai header.b=n9QgbhF5; 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=QUARANTINE sp=QUARANTINE dis=NONE) header.from=me.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230153AbjBIJUT (ORCPT + 99 others); Thu, 9 Feb 2023 04:20:19 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:52814 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229988AbjBIJTk (ORCPT ); Thu, 9 Feb 2023 04:19:40 -0500 Received: from mr85p00im-ztdg06011201.me.com (mr85p00im-ztdg06011201.me.com [17.58.23.181]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 7F2695EFA5 for ; Thu, 9 Feb 2023 01:19:12 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=me.com; s=1a1hai; t=1675934352; bh=W/tQKYd86i5nc4KgjfqJW6Leh53d55gvFFQz2lW1qD4=; h=From:To:Subject:Date:Message-Id:MIME-Version; b=n9QgbhF5xfWfwI3MRDgrGUMMLZHrOKyxLp9VnhauH8AAj8kdgktQAT2y+DXYLkoHe XTZ/1omOajE5Gx9lzBMg4E7/3E4avsc+DZdqG2a/cXVcisHxyVVJQdTeF7sIKfyjir IzWR60e5jX5RkdiLK2SwAi6hQEid/RGobXGWzRv9gONXb37Sr+y9SW+IDaqEgRxDeM wLgyOs7q7BWTJwEk/Cx7fLUFTVPuHkPNyJH9mlrUZ5a0tCSaUJ5w3gj1eiSlywCjlI ebsSPQvEZp0Stl/dKmlbzEqf+jm7mJaEG2D2RT6DwNbyFbz+YIS0km2a1Yv04V35d/ 4wq0XDYvxgxsg== Received: from localhost (mr38p00im-dlb-asmtp-mailmevip.me.com [17.57.152.18]) by mr85p00im-ztdg06011201.me.com (Postfix) with ESMTPSA id D25A796235D; Thu, 9 Feb 2023 09:19:11 +0000 (UTC) From: Alain Volmat To: Jonathan Corbet , Rob Herring , Krzysztof Kozlowski , Thomas Gleixner , Marc Zyngier , "David S . Miller" , Eric Dumazet , Jakub Kicinski , Paolo Abeni , Russell King , Patrice Chotard , Giuseppe Cavallaro , Alexandre Torgue , Jose Abreu , Maxime Coquelin , "Rafael J . Wysocki" , Daniel Lezcano , Amit Kucheria , Zhang Rui , Michael Turquette , Stephen Boyd , Philipp Zabel Cc: linux-doc@vger.kernel.org, linux-kernel@vger.kernel.org, devicetree@vger.kernel.org, netdev@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-stm32@st-md-mailman.stormreply.com, linux-pm@vger.kernel.org, linux-clk@vger.kernel.org, Alain Volmat Subject: [PATCH 09/11] dt-bindings: reset: remove stih415/stih416 reset bindings Date: Thu, 9 Feb 2023 10:16:57 +0100 Message-Id: <20230209091659.1409-10-avolmat@me.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20230209091659.1409-1-avolmat@me.com> References: <20230209091659.1409-1-avolmat@me.com> MIME-Version: 1.0 X-Proofpoint-GUID: SZKA_EDCIfu3HN1OxMf2qmWOrx9-D0Lf X-Proofpoint-ORIG-GUID: SZKA_EDCIfu3HN1OxMf2qmWOrx9-D0Lf X-Proofpoint-Virus-Version: =?utf-8?q?vendor=3Dfsecure_engine=3D1=2E1=2E170-?= =?utf-8?q?22c6f66c430a71ce266a39bfe25bc2903e8d5c8f=3A6=2E0=2E138=2C18=2E0?= =?utf-8?q?=2E572=2C17=2E0=2E605=2E474=2E0000000_definitions=3D2020-02-14=5F?= =?utf-8?q?11=3A2020-02-14=5F02=2C2020-02-14=5F11=2C2020-01-23=5F02_signatur?= =?utf-8?q?es=3D0?= X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 mlxscore=0 suspectscore=0 mlxlogscore=865 phishscore=0 adultscore=0 bulkscore=0 spamscore=0 clxscore=1015 malwarescore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2209130000 definitions=main-2302090088 X-Spam-Status: No, score=-2.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM,RCVD_IN_DNSWL_LOW, RCVD_IN_MSPIKE_H2,SPF_HELO_NONE,SPF_PASS autolearn=unavailable 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?1757344707507018318?= X-GMAIL-MSGID: =?utf-8?q?1757344707507018318?= Remove the stih415 and stih416 reset dt-bindings since those two platforms are no more supported. Signed-off-by: Alain Volmat Acked-by: Krzysztof Kozlowski --- include/dt-bindings/reset/stih415-resets.h | 28 ------------ include/dt-bindings/reset/stih416-resets.h | 52 ---------------------- 2 files changed, 80 deletions(-) delete mode 100644 include/dt-bindings/reset/stih415-resets.h delete mode 100644 include/dt-bindings/reset/stih416-resets.h diff --git a/include/dt-bindings/reset/stih415-resets.h b/include/dt-bindings/reset/stih415-resets.h deleted file mode 100644 index 96f7831a1db0..000000000000 --- a/include/dt-bindings/reset/stih415-resets.h +++ /dev/null @@ -1,28 +0,0 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -/* - * This header provides constants for the reset controller - * based peripheral powerdown requests on the STMicroelectronics - * STiH415 SoC. - */ -#ifndef _DT_BINDINGS_RESET_CONTROLLER_STIH415 -#define _DT_BINDINGS_RESET_CONTROLLER_STIH415 - -#define STIH415_EMISS_POWERDOWN 0 -#define STIH415_NAND_POWERDOWN 1 -#define STIH415_KEYSCAN_POWERDOWN 2 -#define STIH415_USB0_POWERDOWN 3 -#define STIH415_USB1_POWERDOWN 4 -#define STIH415_USB2_POWERDOWN 5 -#define STIH415_SATA0_POWERDOWN 6 -#define STIH415_SATA1_POWERDOWN 7 -#define STIH415_PCIE_POWERDOWN 8 - -#define STIH415_ETH0_SOFTRESET 0 -#define STIH415_ETH1_SOFTRESET 1 -#define STIH415_IRB_SOFTRESET 2 -#define STIH415_USB0_SOFTRESET 3 -#define STIH415_USB1_SOFTRESET 4 -#define STIH415_USB2_SOFTRESET 5 -#define STIH415_KEYSCAN_SOFTRESET 6 - -#endif /* _DT_BINDINGS_RESET_CONTROLLER_STIH415 */ diff --git a/include/dt-bindings/reset/stih416-resets.h b/include/dt-bindings/reset/stih416-resets.h deleted file mode 100644 index f682c906ed5a..000000000000 --- a/include/dt-bindings/reset/stih416-resets.h +++ /dev/null @@ -1,52 +0,0 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -/* - * This header provides constants for the reset controller - * based peripheral powerdown requests on the STMicroelectronics - * STiH416 SoC. - */ -#ifndef _DT_BINDINGS_RESET_CONTROLLER_STIH416 -#define _DT_BINDINGS_RESET_CONTROLLER_STIH416 - -#define STIH416_EMISS_POWERDOWN 0 -#define STIH416_NAND_POWERDOWN 1 -#define STIH416_KEYSCAN_POWERDOWN 2 -#define STIH416_USB0_POWERDOWN 3 -#define STIH416_USB1_POWERDOWN 4 -#define STIH416_USB2_POWERDOWN 5 -#define STIH416_USB3_POWERDOWN 6 -#define STIH416_SATA0_POWERDOWN 7 -#define STIH416_SATA1_POWERDOWN 8 -#define STIH416_PCIE0_POWERDOWN 9 -#define STIH416_PCIE1_POWERDOWN 10 - -#define STIH416_ETH0_SOFTRESET 0 -#define STIH416_ETH1_SOFTRESET 1 -#define STIH416_IRB_SOFTRESET 2 -#define STIH416_USB0_SOFTRESET 3 -#define STIH416_USB1_SOFTRESET 4 -#define STIH416_USB2_SOFTRESET 5 -#define STIH416_USB3_SOFTRESET 6 -#define STIH416_SATA0_SOFTRESET 7 -#define STIH416_SATA1_SOFTRESET 8 -#define STIH416_PCIE0_SOFTRESET 9 -#define STIH416_PCIE1_SOFTRESET 10 -#define STIH416_AUD_DAC_SOFTRESET 11 -#define STIH416_HDTVOUT_SOFTRESET 12 -#define STIH416_VTAC_M_RX_SOFTRESET 13 -#define STIH416_VTAC_A_RX_SOFTRESET 14 -#define STIH416_SYNC_HD_SOFTRESET 15 -#define STIH416_SYNC_SD_SOFTRESET 16 -#define STIH416_BLITTER_SOFTRESET 17 -#define STIH416_GPU_SOFTRESET 18 -#define STIH416_VTAC_M_TX_SOFTRESET 19 -#define STIH416_VTAC_A_TX_SOFTRESET 20 -#define STIH416_VTG_AUX_SOFTRESET 21 -#define STIH416_JPEG_DEC_SOFTRESET 22 -#define STIH416_HVA_SOFTRESET 23 -#define STIH416_COMPO_M_SOFTRESET 24 -#define STIH416_COMPO_A_SOFTRESET 25 -#define STIH416_VP8_DEC_SOFTRESET 26 -#define STIH416_VTG_MAIN_SOFTRESET 27 -#define STIH416_KEYSCAN_SOFTRESET 28 - -#endif /* _DT_BINDINGS_RESET_CONTROLLER_STIH416 */ From patchwork Thu Feb 9 09:16:58 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alain Volmat X-Patchwork-Id: 54818 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:adf:eb09:0:0:0:0:0 with SMTP id s9csp228725wrn; Thu, 9 Feb 2023 01:21:32 -0800 (PST) X-Google-Smtp-Source: AK7set+X34omGvEk/IlVlg2tSqfwngxDSyjvJW6+UL8AU7aWUlXFP1JA3nASrt4KndfDsX0DTy+t X-Received: by 2002:a50:cd42:0:b0:4ab:1628:1312 with SMTP id d2-20020a50cd42000000b004ab16281312mr3928075edj.0.1675934492112; Thu, 09 Feb 2023 01:21:32 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1675934492; cv=none; d=google.com; s=arc-20160816; b=IpiWMAxXaDXgZfZTt28N9f38ucyZCIE4jFhrNl/50Qsaq2kgQCJKV3sizaThNTaswQ WmAeHRsBK5P/FZKEdTwfwWVF2g80rYmzN/ca54jN3FjQ87nLbi6Vas3STjsjnmTBWZSE O+ueyuOI8DHyAowBw+GIzzBwXfjWmuL7RaBxojbDVo5aPTWgevdspEOfYcMAmuDFWKNP PPKYiw9Tn15Pb4RZAQ4tuuIkCKczfGAS0xZwN+1C72mtwZYqs/TGoqvXmVge1Cr6PGfQ bp7wA/xwhnC1IbtUj84E0YxmCS2eY05vd0ZbnT9rL+Qa5iFT0XuRODYGKdeFBxXrd4VW Y1fQ== 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=XKcEoiU2gkIsuf8FhslnaifLYaGCRhQ1TwjiGMV9VfI=; b=UcxR8bmg7a0cn1WHtE+VXJW1KKLVWMk1aUbLTq1IzDzGfMu4zVl0ko0Hzcgxdj+RMp hD82jTgb08m0ZalpZRizBBqR3C11R/PNLkV/BIKg2MFAlT8UEJzhryrxpw4+kERr1K9V J7UKFMcTuiHUn89bJMAkRtUE3bpySnsS4+R9vABT8DneUaeuBxatlMW/vY7BZleCwUHi fRxekBCu4q2M6+XJXUJhEh7JmCk80B1NCW6WjmjEexn0aem5fDXqIlSHxKrNu+49Mi3F Qa9WTxYtZWY8UOXc2w6XJ148RaQxB2azcX6FNAhl/pIlat1a38bKK26efo9PY/y4ENWc DIxA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@me.com header.s=1a1hai header.b=CG5JwAgr; 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=QUARANTINE sp=QUARANTINE dis=NONE) header.from=me.com Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id a15-20020aa7d90f000000b004aab2870e39si66697edr.610.2023.02.09.01.21.09; Thu, 09 Feb 2023 01:21:32 -0800 (PST) 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=@me.com header.s=1a1hai header.b=CG5JwAgr; 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=QUARANTINE sp=QUARANTINE dis=NONE) header.from=me.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230199AbjBIJUV (ORCPT + 99 others); Thu, 9 Feb 2023 04:20:21 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:53610 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230165AbjBIJTm (ORCPT ); Thu, 9 Feb 2023 04:19:42 -0500 Received: from mr85p00im-ztdg06021101.me.com (mr85p00im-ztdg06021101.me.com [17.58.23.180]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 422ED611D6 for ; Thu, 9 Feb 2023 01:19:15 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=me.com; s=1a1hai; t=1675934355; bh=XKcEoiU2gkIsuf8FhslnaifLYaGCRhQ1TwjiGMV9VfI=; h=From:To:Subject:Date:Message-Id:MIME-Version; b=CG5JwAgrBupVZ01JDGld5KaTSiptcgPQB1En7wRekjQeEDQNzSi6kGY+ANBrkLzXK RvxLX2w5ClVXMLSpH2jBRCmF04WwIq7Vg7rDaLtXRyw/mvA6T1F1/rO3j6IjwW3zgL BSEHWgA7lw8XlrshKdX2taOdqDYYd2wryuxhNuvwaZZ4NwkCSHDXYel0t5T3el6355 STgoy0w76an0YzoAKdJrOZMeg923Gz5HtBzArEqDQrWGVgpV+rtzSWiTQj30/g1fUu RnMRKaoJgCulSIBH8waq+KIR+4z9SeLBIf/67b6ANcIM4TKUweBvWRAEGE2mZO6+tT LJyolwwr70BDQ== Received: from localhost (mr38p00im-dlb-asmtp-mailmevip.me.com [17.57.152.18]) by mr85p00im-ztdg06021101.me.com (Postfix) with ESMTPSA id 08FBA81141; Thu, 9 Feb 2023 09:19:15 +0000 (UTC) From: Alain Volmat To: Jonathan Corbet , Rob Herring , Krzysztof Kozlowski , Thomas Gleixner , Marc Zyngier , "David S . Miller" , Eric Dumazet , Jakub Kicinski , Paolo Abeni , Russell King , Patrice Chotard , Giuseppe Cavallaro , Alexandre Torgue , Jose Abreu , Maxime Coquelin , "Rafael J . Wysocki" , Daniel Lezcano , Amit Kucheria , Zhang Rui , Michael Turquette , Stephen Boyd , Philipp Zabel Cc: linux-doc@vger.kernel.org, linux-kernel@vger.kernel.org, devicetree@vger.kernel.org, netdev@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-stm32@st-md-mailman.stormreply.com, linux-pm@vger.kernel.org, linux-clk@vger.kernel.org, Alain Volmat Subject: [PATCH 10/11] dt-bindings: clock: remove stih416 bindings Date: Thu, 9 Feb 2023 10:16:58 +0100 Message-Id: <20230209091659.1409-11-avolmat@me.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20230209091659.1409-1-avolmat@me.com> References: <20230209091659.1409-1-avolmat@me.com> MIME-Version: 1.0 X-Proofpoint-ORIG-GUID: e1PY_4y3to8Pai-Bcf2MWlipBBW67qqk X-Proofpoint-GUID: e1PY_4y3to8Pai-Bcf2MWlipBBW67qqk X-Proofpoint-Virus-Version: =?utf-8?q?vendor=3Dfsecure_engine=3D1=2E1=2E170-?= =?utf-8?q?22c6f66c430a71ce266a39bfe25bc2903e8d5c8f=3A6=2E0=2E425=2C18=2E0?= =?utf-8?q?=2E572=2C17=2E0=2E605=2E474=2E0000000_definitions=3D2022-01-14=5F?= =?utf-8?q?01=3A2022-01-14=5F01=2C2020-02-14=5F11=2C2020-01-23=5F02_signatur?= =?utf-8?q?es=3D0?= X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 bulkscore=0 suspectscore=0 clxscore=1015 spamscore=0 adultscore=0 phishscore=0 malwarescore=0 mlxscore=0 mlxlogscore=954 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2209130000 definitions=main-2302090088 X-Spam-Status: No, score=-2.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM,RCVD_IN_DNSWL_LOW, RCVD_IN_MSPIKE_H2,SPF_HELO_NONE,SPF_PASS autolearn=unavailable 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?1757344685579362254?= X-GMAIL-MSGID: =?utf-8?q?1757344685579362254?= Remove the stih416 clock dt-bindings since this platform is no more supported. Signed-off-by: Alain Volmat Acked-by: Krzysztof Kozlowski --- include/dt-bindings/clock/stih416-clks.h | 17 ----------------- 1 file changed, 17 deletions(-) delete mode 100644 include/dt-bindings/clock/stih416-clks.h diff --git a/include/dt-bindings/clock/stih416-clks.h b/include/dt-bindings/clock/stih416-clks.h deleted file mode 100644 index 74302278024e..000000000000 --- a/include/dt-bindings/clock/stih416-clks.h +++ /dev/null @@ -1,17 +0,0 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -/* - * This header provides constants clk index STMicroelectronics - * STiH416 SoC. - */ -#ifndef _CLK_STIH416 -#define _CLK_STIH416 - -/* CLOCKGEN A0 */ -#define CLK_ICN_REG 0 -#define CLK_ETH1_PHY 4 - -/* CLOCKGEN A1 */ -#define CLK_ICN_IF_2 0 -#define CLK_GMAC0_PHY 3 - -#endif From patchwork Thu Feb 9 09:16:59 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alain Volmat X-Patchwork-Id: 54820 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:adf:eb09:0:0:0:0:0 with SMTP id s9csp229086wrn; Thu, 9 Feb 2023 01:22:28 -0800 (PST) X-Google-Smtp-Source: AK7set94ePiAvHC0GvQiLL6V+QbbpYLNIsbqKHR74amLDp2L0uE5kyD/PUwNp0l0whoK7aWKUh+F X-Received: by 2002:a17:906:9417:b0:877:573d:e91c with SMTP id q23-20020a170906941700b00877573de91cmr10962329ejx.63.1675934547968; Thu, 09 Feb 2023 01:22:27 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1675934547; cv=none; d=google.com; s=arc-20160816; b=NAghFDVgW5qOm/7sa2hAzV1/sJ/ndM5YPzWITYoAPi1i/TxHwd5Dqkp9IjijshHvQe p+CXMRedwX8sLMJPBtYygxfbtqMY63gNhSFDz1zk4ajGrTEzsugk0iDxW0rmlkJgGKOj LyTneM6D/M0iURYjDtcJbPbhkw/XEf4LEJIppLyktmNZABi1B5HBfL5sW0u+v7aNQ3jl Wma3vwO0g0+/DdRl/tWcG7DMZz7fDL5ID2MyQzOuNAb3izOsNA8Q5hGpeytlXXFBwHE4 sZkRyDprBQQhITESIhbJHIw+0rCl1EthppVFemA3io41WAlreFfJ8Lj7lMZu/hLAaaEp YrAA== 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=SZhlB5Amphohnu89nA8T+9EvfjDSfEbmKX2qUghxvcs=; b=lZsNYAg8Q6CL57wksvKfn/XIn30JFBelr5ik0p/ZUu3YPDBSoN9OMwj2V32N67X3vu hG2pGIGkoF59hsUvxn5kzTh7jiPBUFj7Gb+34WF7if6TS0Zjdu3BCkSCPJ58FYbqIoUV 3I+DVUANxF5FbxHvS1/21O1SFhUfkAM/cUbHMt72mxWdRCrznzZm88F6XOWLUT7siWLx K5UaKLN2Fqy5SbII52qQKu7upV+5E79IuLmw9zceFGq1H/9q29TOk4pBn68or8TVWbJJ RgPvWLR4Y8PExmBN10uivmcsstnM7ltK0mlsBAxm5+NfB0zxmJDa9dByBNdjdG8NH8bU xK0Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@me.com header.s=1a1hai header.b="o/NxLQ9P"; 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=QUARANTINE sp=QUARANTINE dis=NONE) header.from=me.com Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id ka10-20020a170907920a00b0088e71abc787si1748038ejb.517.2023.02.09.01.22.05; Thu, 09 Feb 2023 01:22:27 -0800 (PST) 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=@me.com header.s=1a1hai header.b="o/NxLQ9P"; 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=QUARANTINE sp=QUARANTINE dis=NONE) header.from=me.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230238AbjBIJUe (ORCPT + 99 others); Thu, 9 Feb 2023 04:20:34 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:53840 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230224AbjBIJTp (ORCPT ); Thu, 9 Feb 2023 04:19:45 -0500 Received: from mr85p00im-zteg06021501.me.com (mr85p00im-zteg06021501.me.com [17.58.23.183]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 5A592611C7 for ; Thu, 9 Feb 2023 01:19:19 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=me.com; s=1a1hai; t=1675934358; bh=SZhlB5Amphohnu89nA8T+9EvfjDSfEbmKX2qUghxvcs=; h=From:To:Subject:Date:Message-Id:MIME-Version; b=o/NxLQ9PU1l9X2sTMiXYxKhsPVmuzHGBO9PUsOvwhybe6UaP3w5cBwtG4Zdsj1UEh N95VLTGsgxOg5d+OLa1AF9ChzM4EYIltiU99YPlgqCcEpojXv2bE3I3sXw9N2VlXkx lEvu2MqlCqSNulpnjZvUm8HBJW1R5k2gKvmTSVaDOXNn/K2FWUqCaRpbIeihtVlAVc bdEoU4cx3ZZutCWfUme4wy3t5yKPE8MlpWC+/KKeVimmtCzf9Q37gr2Bp5fHSZYWbb Pg/W84KNZoKWpUAlpaKOmP/kU+Aih71SROAeduaqG184O+t7TI5E+jh/RqI/z9W+fc WdZHNkF4+XPCA== Received: from localhost (mr38p00im-dlb-asmtp-mailmevip.me.com [17.57.152.18]) by mr85p00im-zteg06021501.me.com (Postfix) with ESMTPSA id 255E927945ED; Thu, 9 Feb 2023 09:19:18 +0000 (UTC) From: Alain Volmat To: Jonathan Corbet , Rob Herring , Krzysztof Kozlowski , Thomas Gleixner , Marc Zyngier , "David S . Miller" , Eric Dumazet , Jakub Kicinski , Paolo Abeni , Russell King , Patrice Chotard , Giuseppe Cavallaro , Alexandre Torgue , Jose Abreu , Maxime Coquelin , "Rafael J . Wysocki" , Daniel Lezcano , Amit Kucheria , Zhang Rui , Michael Turquette , Stephen Boyd , Philipp Zabel Cc: linux-doc@vger.kernel.org, linux-kernel@vger.kernel.org, devicetree@vger.kernel.org, netdev@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-stm32@st-md-mailman.stormreply.com, linux-pm@vger.kernel.org, linux-clk@vger.kernel.org, Alain Volmat Subject: [PATCH 11/11] ARM: debug: removal of STiH415/STiH416 related debug uart Date: Thu, 9 Feb 2023 10:16:59 +0100 Message-Id: <20230209091659.1409-12-avolmat@me.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20230209091659.1409-1-avolmat@me.com> References: <20230209091659.1409-1-avolmat@me.com> MIME-Version: 1.0 X-Proofpoint-GUID: 8Huc_KYpmbvx0eZVYoyHvKSEhimig7mi X-Proofpoint-ORIG-GUID: 8Huc_KYpmbvx0eZVYoyHvKSEhimig7mi X-Proofpoint-Virus-Version: =?utf-8?q?vendor=3Dfsecure_engine=3D1=2E1=2E170-?= =?utf-8?q?22c6f66c430a71ce266a39bfe25bc2903e8d5c8f=3A6=2E0=2E138=2C18=2E0?= =?utf-8?q?=2E572=2C17=2E0=2E605=2E474=2E0000000_definitions=3D2020-02-14=5F?= =?utf-8?q?11=3A2020-02-14=5F02=2C2020-02-14=5F11=2C2020-01-23=5F02_signatur?= =?utf-8?q?es=3D0?= X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 mlxscore=0 suspectscore=0 mlxlogscore=999 phishscore=0 adultscore=0 bulkscore=0 spamscore=0 clxscore=1015 malwarescore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2209130000 definitions=main-2302090088 X-Spam-Status: No, score=-2.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM,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?1757344744158662304?= X-GMAIL-MSGID: =?utf-8?q?1757344744158662304?= Remove the entries related to the debug uart addresses for platforms STiH415 and STiH416 which are no more supported. Signed-off-by: Alain Volmat --- arch/arm/Kconfig.debug | 28 ---------------------------- 1 file changed, 28 deletions(-) diff --git a/arch/arm/Kconfig.debug b/arch/arm/Kconfig.debug index c345775f035b..e7307eeb2abb 100644 --- a/arch/arm/Kconfig.debug +++ b/arch/arm/Kconfig.debug @@ -1205,26 +1205,6 @@ choice Say Y here if you want kernel low-level debugging support on ST SPEAr13xx based platforms. - config DEBUG_STIH41X_ASC2 - bool "Use StiH415/416 ASC2 UART for low-level debug" - depends on ARCH_STI - help - Say Y here if you want kernel low-level debugging support - on STiH415/416 based platforms like b2000, which has - default UART wired up to ASC2. - - If unsure, say N. - - config DEBUG_STIH41X_SBC_ASC1 - bool "Use StiH415/416 SBC ASC1 UART for low-level debug" - depends on ARCH_STI - help - Say Y here if you want kernel low-level debugging support - on STiH415/416 based platforms like b2020. which has - default UART wired up to SBC ASC1. - - If unsure, say N. - config DEBUG_STIH418_SBC_ASC0 bool "Use StiH418 SBC ASC0 UART for low-level debug" depends on ARCH_STI @@ -1597,8 +1577,6 @@ config DEBUG_LL_INCLUDE default "debug/renesas-scif.S" if DEBUG_RMOBILE_SCIFA4 default "debug/s3c24xx.S" if DEBUG_S3C24XX_UART || DEBUG_S3C64XX_UART default "debug/s5pv210.S" if DEBUG_S5PV210_UART - default "debug/sti.S" if DEBUG_STIH41X_ASC2 - default "debug/sti.S" if DEBUG_STIH41X_SBC_ASC1 default "debug/sti.S" if DEBUG_STIH418_SBC_ASC0 default "debug/stm32.S" if DEBUG_STM32_UART default "debug/tegra.S" if DEBUG_TEGRA_UART @@ -1728,9 +1706,7 @@ config DEBUG_UART_PHYS default 0xfc00c000 if DEBUG_AT91_SAMA5D4_USART3 default 0xfcb00000 if DEBUG_HI3620_UART default 0xfd883000 if DEBUG_ALPINE_UART0 - default 0xfe531000 if DEBUG_STIH41X_SBC_ASC1 default 0xfe800000 if ARCH_IOP32X - default 0xfed32000 if DEBUG_STIH41X_ASC2 default 0xff690000 if DEBUG_RK32_UART2 default 0xffc02000 if DEBUG_SOCFPGA_UART0 default 0xffc02100 if DEBUG_SOCFPGA_ARRIA10_UART1 @@ -1759,7 +1735,6 @@ config DEBUG_UART_PHYS DEBUG_BCM63XX_UART || DEBUG_ASM9260_UART || \ DEBUG_DIGICOLOR_UA0 || \ DEBUG_AT91_UART || DEBUG_STM32_UART || \ - DEBUG_STIH41X_ASC2 || DEBUG_STIH41X_SBC_ASC1 || \ DEBUG_STIH418_SBC_ASC0 config DEBUG_UART_VIRT @@ -1827,9 +1802,7 @@ config DEBUG_UART_VIRT default 0xfcfe8600 if DEBUG_BCM63XX_UART default 0xfd000000 if DEBUG_SPEAR3XX || DEBUG_SPEAR13XX default 0xfd064200 if DEBUG_AT91_LAN966_FLEXCOM - default 0xfd531000 if DEBUG_STIH41X_SBC_ASC1 default 0xfd883000 if DEBUG_ALPINE_UART0 - default 0xfdd32000 if DEBUG_STIH41X_ASC2 default 0xfe010000 if STM32MP1_DEBUG_UART default 0xfe017000 if DEBUG_MMP_UART2 default 0xfe018000 if DEBUG_MMP_UART3 @@ -1871,7 +1844,6 @@ config DEBUG_UART_VIRT DEBUG_BCM63XX_UART || DEBUG_ASM9260_UART || \ DEBUG_DIGICOLOR_UA0 || \ DEBUG_AT91_UART || DEBUG_STM32_UART || \ - DEBUG_STIH41X_ASC2 || DEBUG_STIH41X_SBC_ASC1 || \ DEBUG_STIH418_SBC_ASC0 config DEBUG_UART_8250_SHIFT