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: 13134230 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id B3573C636D7 for ; Thu, 9 Feb 2023 09:19:29 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-Id:Date:Subject:Cc:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=OBwJxEMyuwcid05NoDDgGEWdu+mcRMtWmcfuOmpBO+I=; b=BJ/S+KwPjZ5KkZ qhNijNQ5pO5zgxogxXls1jtkl8fmXzF4xQHNZTI5EdFOiVSxPS926WM7GL3B7YiIMweIixsEwu2jy 0xOjsJ40u9UIvmOhgWi6Mv3mF9NSry5k6qFzJoqQ24y2CaY3gmB/JBHKiRrcdSvnDxmhyFjg7Vmlh vM7Vnjhoc9cXeOOZYe9kB4ax0gOoibeD7bjgxruarwItx/4KorL8naChGeGP4+NhqiJ5qLnlCMgCs bOX/vO52EZxiq60HPU8HPzB6ek9U6HE8P1QqlCj+UVANMu8wkC483nelgT7in0AhULd0IuCSnr7FG H8jhNRaAzQbFZDQ+/TGQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1pQ34S-000jdc-Do; Thu, 09 Feb 2023 09:18:25 +0000 Received: from mr85p00im-hyfv06021301.me.com ([17.58.23.188]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1pQ34K-000jZo-Ct for linux-arm-kernel@lists.infradead.org; Thu, 09 Feb 2023 09:18:18 +0000 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-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20230209_011816_486385_B2B88DB9 X-CRM114-Status: GOOD ( 17.19 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org 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: 13134231 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 0FC3FC05027 for ; Thu, 9 Feb 2023 09:19:47 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-Id:Date:Subject:Cc:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=VKUnkMsVPLBF44FDxJI6qIxfDtV40iIf3KqkaRukraU=; b=yOUmyT6QpE7LpA o0sZTp2H6uV3GoHP8f4XBTc+roEBcy+st4atE3RS0OLjo/tuf0aNhOh9bwHdF+0JnInWEMr72mxvq fcgaNKcgs+TtE72DtWS/Gcz8WcRfaUd1n1DF8h1DsQeg4TGIRr4Vw7QPPZhLw3sXVIfRcs694fjqt EkTbKVvXi1AP35YAbGemyX6u9sQuDLLKBxOswK6AluAk+1wTnfatw8nNGKuKoGlqShYbKe5+TyVkl bcP+8ZfgC4JxLHww92Xvf7iBDjxpVp7XnaFixzAuFJA6fYnwcybrJIxxtUNs6XYbttIHza3Rywth0 zDHWaj1av7uJ5k4HqLbA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1pQ34m-000jos-22; Thu, 09 Feb 2023 09:18:44 +0000 Received: from mr85p00im-hyfv06021401.me.com ([17.58.23.190]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1pQ34O-000jcA-3m for linux-arm-kernel@lists.infradead.org; Thu, 09 Feb 2023 09:18:22 +0000 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-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20230209_011820_226660_1CC15D2B X-CRM114-Status: GOOD ( 10.90 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org 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: 13134232 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id ECA89C636D4 for ; Thu, 9 Feb 2023 09:20:04 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-Id:Date:Subject:Cc:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=FoX1pqKF5YY4PoG//+GerTBRlbCeic8BQhXjWE5cjg0=; b=tnwCG9h4wgoADv 4byEoYiMUjBTBPnnkuyb1A/KPr1AOissDpTA3fbenaBgcLKdhS0RJhUZ3oAQ+6fNBmdp7/LqWRI+d SUMva+tFKbO2RgPmEptu40T1ABLlE8yInQGkqwiL+VzXTAnbD4amrB8j3HzG32G0s040JTYTPxCm4 mL8DWRGHY9yExLtcGU2AIJ1tF2Gt9ir5nuaNRy9lZWvT2MnIwyGAZeJmKA3dTM8S3XOBeNLWvEOw7 3yf+3LNKetDVL1GhUMMROS2Zh2J/RLOWQODaTWjIXmuGjiKm9ioyaxU5xaBXB5fdkzGxCN4O+xnCX DkYGjFNYp5IbqUczMDVw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1pQ353-000jzZ-Bw; Thu, 09 Feb 2023 09:19:01 +0000 Received: from mr85p00im-zteg06023901.me.com ([17.58.23.192]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1pQ34S-000je8-Ap for linux-arm-kernel@lists.infradead.org; Thu, 09 Feb 2023 09:18:26 +0000 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-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20230209_011824_423943_61016408 X-CRM114-Status: GOOD ( 12.16 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org 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: 13134233 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 08950C6379F for ; Thu, 9 Feb 2023 09:20:36 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-Id:Date:Subject:Cc:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=wZpP+dt57BaiU2PD6UV397EwPsGUnt/z8dpW+UKXzhg=; b=2opuA+CZ3QWmjm c0LpDM+y112ZUanvkcYNT+1UChufxNTb9YSe0/+YXKtoIgtZfCfi1iFp0LBk91INWNSxXKsGW3JKw f2zN2koq3646XI5QBB4g0jiEQmJCvFJgKqkHcRwvBh+RLKIoo2mXSCRWiHGdJ73VnEtNORXBrMyaA dMCTF906pypMProBh5q1cFBOm/OKrj7R/vdswMX0LN+sFULDdCC21LeAvs/jy4+4A1SbVVvoUt7Qg KcT+4V5roEB6OFVT3t0OHxB/H+wI/SyVO1lTCgabfH+ZBT7hLun/jJFgNnO8UeOPIhBZzbXBTQJRt V6/pOGp8Zgjw9dnndPhg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1pQ35d-000kJd-9d; Thu, 09 Feb 2023 09:19:38 +0000 Received: from mr85p00im-ztdg06021801.me.com ([17.58.23.195]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1pQ34y-000jvQ-JB for linux-arm-kernel@lists.infradead.org; Thu, 09 Feb 2023 09:18:58 +0000 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-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20230209_011856_668545_F7293435 X-CRM114-Status: GOOD ( 12.17 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org 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: 13134234 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 69070C61DA4 for ; Thu, 9 Feb 2023 09:21:03 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-Id:Date:Subject:Cc:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=KhKf3GCjInHjmo2RTUT4D4VSnl53g0s2cKin1J62D1Y=; b=m1aBgxKvK2e77W 9p6SUu6Xtv4dfra/l6vb8GZglGHp4FbSKwTQlFuCndAVzKeLvt2M7cm8DS8X5AylBDDapqfeObsZS 7dufDOIEqztOYWaSmujar6bHxLq/r/oOY+IcZGOKfM5errkgzrlLkkw2/kX4sx6iF31eAjxllX2je FofPl1R5NzxsxW6uXNdYtd6W/UuQvObd1mBzQPmruUhemPuziEjBJG6qhb2XGo915LP649rYpHEo2 Riu7I2srAAcIBKSHJWf/BRBEj0vZHJUJtzhLmFFAskqhHB0Zj+unRuc1x/iq18BcPguSI/RyciQoN vfiCD7HfQT7RULZWOaSA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1pQ35z-000kXA-0M; Thu, 09 Feb 2023 09:19:59 +0000 Received: from mr85p00im-zteg06022001.me.com ([17.58.23.193]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1pQ353-000jyq-E3 for linux-arm-kernel@lists.infradead.org; Thu, 09 Feb 2023 09:19:02 +0000 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-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20230209_011901_523293_6E8C5C40 X-CRM114-Status: GOOD ( 10.18 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org 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: 13134235 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 1308AC61DA4 for ; Thu, 9 Feb 2023 09:21:23 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-Id:Date:Subject:Cc:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=04yZw1muV6WA9VxSalpgo0PEAymUXXeDIr8R+fxogL0=; b=eR1l9Zb6h1Rfo5 ycTwF2oNpFR0yGd/7yGVbyjDFB02/0uCw5laaxEHE1CN7JbV2kLeWmQ9l5DZs36IAg5BsDllXAiVF L03yJHokbTEpjS94itCV0GOFnwzqSqr3ifT+2SUi+3lPr/f8KDEhJB4ATvlF+sBQESusslg66Dz9a xgVTFYr3oxCct/MmpvD6fnjbASBU7i1q5uQ08mRbvzLVnBoWGsDJMyELK6ebBjT1SKbGz+3CMbDdO IJAauD/xOs2SAKNbKRA1nqk1wpe/mBIOnHFhJ/+vijDN0jsKHvY1z0Nq1kgnFd3j1+NnudQIjKzLC nifE/7IMAS5UcKJXK/5w==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1pQ36J-000kj9-Vw; Thu, 09 Feb 2023 09:20:20 +0000 Received: from mr85p00im-zteg06023901.me.com ([17.58.23.192]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1pQ354-000k0x-QC for linux-arm-kernel@lists.infradead.org; Thu, 09 Feb 2023 09:19:04 +0000 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-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20230209_011902_910661_C1C62879 X-CRM114-Status: GOOD ( 17.98 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org 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: 13134236 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id A3D38C61DA4 for ; Thu, 9 Feb 2023 09:21:42 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-Id:Date:Subject:Cc:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=jzXuv/wIYRgMoenuZWlsy2hPZQ4ibJ4sof7Vvgo+0ME=; b=ClgOAfXdAJdQ+y QIJJsJ7FjIyAPAuqBAUYe3YiCRKci7Rh8+/5sgMvZ4IpvyFXG8vqBSF2V0EEXNreqYCdypQgthlny H1Q3gU+dNSZzfiCGfojsFKf2lkSBuTY8bTRq8mRBmmHhxCPcha5pH0k4xQ8CPe9MMHwNXioyQIasi Ee4q/LGxXgcNPmoeIlUX+HOUmSFB6tbFWKteBXpCvcX72GxmJwJxzt2cANFFPZ0nyhO2KCh/QtR9i 07t1xDqK+Qd/G5+z36PMcLCJcKF8UtIKh1haP+jXoHOtxAi+LdMY2jG6Rky5V6o0ptblpRmrBu/KL 2EEZ1rSmJVt2WK5PJQZQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1pQ36d-000kwU-T8; Thu, 09 Feb 2023 09:20:40 +0000 Received: from mr85p00im-ztdg06021801.me.com ([17.58.23.195]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1pQ358-000k3L-30 for linux-arm-kernel@lists.infradead.org; Thu, 09 Feb 2023 09:19:07 +0000 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-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20230209_011906_186924_50D0B015 X-CRM114-Status: GOOD ( 13.38 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org 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: 13134237 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 3FA1EC61DA4 for ; Thu, 9 Feb 2023 09:22:18 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-Id:Date:Subject:Cc:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=turOliFhLo4N8+ZJ/XdEb8QmbKjyizry9ynvuYp/9n8=; b=SUhnGFJ/AFGv2S lyfjJ7DYrW0s4kyl/rAsiSa8kpGQc53EEWkZ+cX4TNlmaonnwXF82Htzv2Y44ckgDoQ8YA2rnxBnk i5YABt3hytBLx4hyYoowvUKRYoxy0Ob8BzNyKXBYT48Ti9+eRyjjaWlCiGuOB+EgWq8hRIaWqxovF WTIEnDRVxswdfQ9lIjGmty1CXHVPCHvmrWZz5oTcwaUw2bq4QELZHNpMHnc4kbDKBsC+vypYc/ba4 T6r6bG2dXUNRsLaF2mNdkijEehFeeIQtRN8YDfAhu0Sc1NAc4OIpqWbvWMVHGxZTrlNJdPd0ifxvH VXn68qsyBB0Ts8ix8ehg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1pQ37B-000lG4-EQ; Thu, 09 Feb 2023 09:21:13 +0000 Received: from mr85p00im-zteg06021901.me.com ([17.58.23.194]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1pQ35D-000k5u-8X for linux-arm-kernel@lists.infradead.org; Thu, 09 Feb 2023 09:19:15 +0000 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-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20230209_011911_368890_7E1614D1 X-CRM114-Status: GOOD ( 11.14 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org 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: 13134238 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 785B0C61DA4 for ; Thu, 9 Feb 2023 09:22:52 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-Id:Date:Subject:Cc:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=mAZe/aIJWvpKPrU8rz4fpTPn5A4/MwLf94qucUnb5QI=; b=wirTj+5wt66A0q 0WTbTxakSbxPg2nqeRYKFQCvLUFstMBi+DTOvUvBH4habDdTFjaBwJNDqcaXTDgJIKmL0FMGsRZN+ dOEIm026LM4cUdkocdk3syUeDI5/Uk/y09N6PyfohUfTh199kMz6ihfwc9sF0DrvJMC59EG+kuCna akMc/z2XseiPbfnLD3D2Mhyrv3HUMem72YxwVhkPr43qixJbe/Xi5wZ/Z1n5XSpCaCNRf+aYgHg94 Avw55lF3EYdL9GvVUloOUa0kPXPQGVPQwY+xWiqzmNf6wccLJsjrhepxGQsuRIxeqoDjrROqtae21 x0s3fSo+gXlhBHZJ+8rg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1pQ37c-000lUl-NA; Thu, 09 Feb 2023 09:21:41 +0000 Received: from mr85p00im-ztdg06011201.me.com ([17.58.23.181]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1pQ35F-000k7B-06 for linux-arm-kernel@lists.infradead.org; Thu, 09 Feb 2023 09:19:15 +0000 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-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20230209_011913_093642_AFE5E1D6 X-CRM114-Status: GOOD ( 11.12 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org 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: 13134239 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 7A028C61DA4 for ; Thu, 9 Feb 2023 09:23:19 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-Id:Date:Subject:Cc:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=zv4fRPk/u1IVLIT+MMKAoXl+F2ZL8vdGtPR/lzVuIbI=; b=hpqyNGXuortoJw E4xoAne5Ca7SwlisLLZL975sMLtPurJoyxLIrWUA1QDLZxL7wz7xmP8HcxRMDGPSK0m9wx64eWV4j rdkRnDDkvAHVcRbf6VkTGIPfc878riWHUd7NM6mLJQbVmwaFjxqtzfgG0oeDt7uxVEeXSTPLTdUdx X9XKDWhu93CcOuVmr0px83uPhj2JUSYGlLF0/Hs+GVt9r4zoLHkl66Fv/PV0nOVf0yf1SoH1Le2Lj EdFEfOjt1+VBCmN6lshw0GRaN9+xj8YN5BD1JfNb/js+VV6DRaSr4rV2kOL/5qQBj0RuScd+jYE/E XRZ8hDy1cG0HGcsL9u7g==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1pQ389-000lnX-4B; Thu, 09 Feb 2023 09:22:13 +0000 Received: from mr85p00im-ztdg06021101.me.com ([17.58.23.180]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1pQ35J-000k91-EF for linux-arm-kernel@lists.infradead.org; Thu, 09 Feb 2023 09:19:19 +0000 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-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20230209_011917_525283_D7BF7F0A X-CRM114-Status: UNSURE ( 9.42 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org 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: 13134240 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 017C0C61DA4 for ; Thu, 9 Feb 2023 09:23:46 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-Id:Date:Subject:Cc:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=cD3/HeiiYju9mDRCU+8900pqpxTv+NuTImI6emIQMJY=; b=G8nRelv1U5c8oQ B+Dt57ZxK2m4eWkGwrgQgwfda+wznVnsc58KhkId+2MXe1myHjc7x9BDiOsFtKKTjjBe/QSnw/UJ2 xGitCAdPvIfcq7gl9dHcerJtPUE/k+qOCDe5j8xywywGY8UGFBHI7DJGAYbKrurfuxuO7HMxONUb4 FUX93+pVQkI33J1SYSw/2l94gDuKV0Bm00R05PjZCeKHbfqfby/vqtelVTspicmnX90xzyN7YvTof uTj51saQkUyOmwT6zZkl03Z8GhUamRbLMItRVowoftLH9iJaClz3km7hqDw9dhNS9iGrTHKXZLboJ ctshy69o4oLDSBxmfSfw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1pQ38d-000m3j-SD; Thu, 09 Feb 2023 09:22:44 +0000 Received: from mr85p00im-zteg06021501.me.com ([17.58.23.183]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1pQ35O-000kAs-C4 for linux-arm-kernel@lists.infradead.org; Thu, 09 Feb 2023 09:19:24 +0000 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-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20230209_011922_503899_5E84B391 X-CRM114-Status: GOOD ( 10.68 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org 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