| Message ID | 20230423172528.1398158-2-dario.binacchi@amarulasolutions.com |
|---|---|
| State | New |
| Headers |
Return-Path: <linux-amarula+bncBCQ4XFG47UFRBFOUSWRAMGQEIJ4XGBY@amarulasolutions.com> X-Original-To: linux-amarula@patchwork.amarulasolutions.com Delivered-To: linux-amarula@patchwork.amarulasolutions.com Received: from mail-wr1-f69.google.com (mail-wr1-f69.google.com [209.85.221.69]) by ganimede.amarulasolutions.com (Postfix) with ESMTPS id 6505F3F259 for <linux-amarula@patchwork.amarulasolutions.com>; Sun, 23 Apr 2023 19:25:42 +0200 (CEST) Received: by mail-wr1-f69.google.com with SMTP id ffacd0b85a97d-2ffa43cd733sf1936691f8f.1 for <linux-amarula@patchwork.amarulasolutions.com>; Sun, 23 Apr 2023 10:25:42 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1682270742; cv=pass; d=google.com; s=arc-20160816; b=HxcgL64BreSFJArbrBkk+AOAxzC4iMJJngk5pPyBCC4sii4mvc4uJbJvdiHhuld+IT r7ZWPBZ50UYsL1Dd0rTpzSgUTbpIMoUpZV5vcKZTBYruDuprcGx7K84btQVqON+O8ASU eJYJ6nfFv9GCDOBffzuxk1ULGK4+IbzgjP/M7fseVIkFZOrfJIewOv/azr5ImPhBYgpV RbGNYwbswZrIO7hKgBITdqj/CtzXr8C34FhRdhVT73gwqCax1iiVlbLHqNz3P2z9l8LO iJSF97t1+wJDld/IoAnkZ07XkhiExucEmqQJL3iiXifMw4zWwlCWrfrdrv5Oe4Sny7so kxmQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-unsubscribe:list-archive:list-help:list-post:list-id :mailing-list:precedence:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:dkim-signature; bh=dgfMc3LzNiY3MoPcEfRGWpciG09UihEWFxQK8iIzFNk=; b=pQrBSQRNGzUeUepS8hGlOD10cp5Xbd0Iqzoqya3Vf6VQefvL3Ws/A2/mDB4NzlLMoB 6IVOw3ClTuii5YisnDVsHQZ6KkeOLqcdG2Dta2qEQkqQYrVf40pZr90FctsmWr7d5G5G qZawDkSzxL5tMsQjH3Vui0oBFMid8RNcvXn7ZPsDawKwotBbfF6EJIIsC9zEVznS9eFK I2rQVv7L0tiz53cFk3TMb5X1E4BUiNCoHun7+jAE29akVm9edxUoYA+JXYu15JOo9ug1 +Clqy4IlFYzTGM6Bx/apOLNZEPZCDSrLOiweVjVyUrW8lyTS0uAmpNGb03yZaXPo7Lar NmLQ== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=JADuU+he; spf=pass (google.com: domain of dario.binacchi@amarulasolutions.com designates 209.85.220.41 as permitted sender) smtp.mailfrom=dario.binacchi@amarulasolutions.com; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=amarulasolutions.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amarulasolutions.com; s=google; t=1682270742; x=1684862742; h=list-unsubscribe:list-archive:list-help:list-post:list-id :mailing-list:precedence:x-original-authentication-results :x-original-sender:mime-version:references:in-reply-to:message-id :date:subject:cc:to:from:from:to:cc:subject:date:message-id:reply-to; bh=dgfMc3LzNiY3MoPcEfRGWpciG09UihEWFxQK8iIzFNk=; b=FRPFjFHcLlt7+BtZ38ujhOKF5H65K0V+gFWVjxLH0yMnQAbbf8T1HDQir+tpJDRpbB Q4FECwNltelCsadWlZ1xFtsKKwm4Qs5sEAZvzMcfcmp89mez7Jl3HCPjC2S4t9t4Uc8y Ne+uwYxybanUZyTmuhK18w/rtNY/y0klEV/AU= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1682270742; x=1684862742; h=list-unsubscribe:list-archive:list-help:list-post :x-spam-checked-in-group:list-id:mailing-list:precedence :x-original-authentication-results:x-original-sender:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :x-beenthere:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=dgfMc3LzNiY3MoPcEfRGWpciG09UihEWFxQK8iIzFNk=; b=FkbALZyI/vCc5g3JWsOXgI7j3wONv32FqLpefE9sB+pqdA449UsAf2CqHYxXn2MQXr dMzjB7GqPZqTVzUZ5Lw5+uV0mjv/psp+QpQdXId048Z+6SpEjbDhY2wS72GCpBaST6aF 07ETvYi99aBSZg7DL6+4M/KEwO9gYUzvz8TCwz5PRawQULBiiqk7xh4wopM2HJ7r0Vwj am5SbdcYd6ePtov2vyQNpYoLipKZeH1pF5joc35RkZWA1/JxDkVFABrBVPfD1YwKXgYf pT7QG0h83c3C2z5f06I5SinbOdULTefyam6PJ2vzN68eH79CDdsf4HsOubY1Zx+KRrdi GzMQ== X-Gm-Message-State: AAQBX9d/QsSUBpx9WwnL04DiPuYsStrYZXckHnKLEyCAy4ScH2O6EM7N 7qbhq/8MbGy6vyptYBvmxmbhcYsq X-Google-Smtp-Source: AKy350amKKRAOgVOwPzLFMyCaF8wcfGHJkNXWF7gtgINDOUfFtHv5BVRbvvlVVEvdKU33KjfDX1UXA== X-Received: by 2002:adf:f50f:0:b0:2f1:d979:e2f with SMTP id q15-20020adff50f000000b002f1d9790e2fmr1802777wro.12.1682270741856; Sun, 23 Apr 2023 10:25:41 -0700 (PDT) X-BeenThere: linux-amarula@amarulasolutions.com Received: by 2002:a5d:6f0f:0:b0:2f8:883:9c9c with SMTP id ay15-20020a5d6f0f000000b002f808839c9cls14100704wrb.0.-pod-prod-gmail; Sun, 23 Apr 2023 10:25:40 -0700 (PDT) X-Received: by 2002:a5d:428a:0:b0:2ef:f9d:6adf with SMTP id k10-20020a5d428a000000b002ef0f9d6adfmr7636455wrq.35.1682270740470; Sun, 23 Apr 2023 10:25:40 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1682270740; cv=none; d=google.com; s=arc-20160816; b=rwbYMdAV6J+5xODeQvhOKsbKG0H8konz482ELHOOHUltvNGGXaxgldzS/WS3pJRR8W H6N+LhL01PReOC2aYzcfpvdgaUTccSiua6Yg0Wiobi4RXq9tF1XSk3lrlHCwjRk08m5y xZa6WChM8KzS2dJZbTLKzI+z08KZb/j0NlwSfBLLzTXTMwuYNSy3x22g5+Dc+a8ZrmCE HE719K9lsXIQMYq12JMDtQZbMrSnkucf4553NwrtHenNxNR2jBx/wsr5xa/KFhgdYgT8 DgM3jpyY/MVG465EFFUABgMtJ3Paxz8kmGBtGxGtimROuRoNxi58fkwj2JMEVGIkSLv8 WxCA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:dkim-signature; bh=6edtHrRUhMOVgTrX/B7WTyKMw10ZM0V+1t1+5ZMKBJE=; b=dDjfuvRAbxlVG77i4Kxasmb6XZ4pSSgSBJF3HBJuB7qRULPd7cv9a2v1iRHEH1gwEh gkC/2LfNj2c0irgFa2mSAfwibzZVRyy6PZGUax70GlnaNg2QsvNOB4auASBcX8mfgLWh VaeRLYI2kf7YOnZ0G1vG1T7uc9AMpOWnXxsDd9tCJrjSQ39LYLyiv1ZfENf8Mt66u8vV iVQlOJN/oLzKztxZC4+sV94KxVuZXsUxZXOMUe67zjHipkG4McrXTwuvWxegNCMcEBpj z+z12C7bDZJlNLkkeYG31Md5Fd1imFk6PxL5I9VjIM9L+j9S+ag/wqIIrsze2EN/ErQr rRyA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=JADuU+he; spf=pass (google.com: domain of dario.binacchi@amarulasolutions.com designates 209.85.220.41 as permitted sender) smtp.mailfrom=dario.binacchi@amarulasolutions.com; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=amarulasolutions.com Received: from mail-sor-f41.google.com (mail-sor-f41.google.com. [209.85.220.41]) by mx.google.com with SMTPS id s15-20020a5d6a8f000000b002f00e4f4161sor3342483wru.42.2023.04.23.10.25.40 for <linux-amarula@amarulasolutions.com> (Google Transport Security); Sun, 23 Apr 2023 10:25:40 -0700 (PDT) Received-SPF: pass (google.com: domain of dario.binacchi@amarulasolutions.com designates 209.85.220.41 as permitted sender) client-ip=209.85.220.41; X-Received: by 2002:adf:e28b:0:b0:2f8:24f7:cc4a with SMTP id v11-20020adfe28b000000b002f824f7cc4amr7634427wri.57.1682270740105; Sun, 23 Apr 2023 10:25:40 -0700 (PDT) Received: from dario-ThinkPad-T14s-Gen-2i.. ([37.159.119.249]) by smtp.gmail.com with ESMTPSA id j32-20020a05600c1c2000b003f173987ec2sm13511653wms.22.2023.04.23.10.25.38 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 23 Apr 2023 10:25:39 -0700 (PDT) From: Dario Binacchi <dario.binacchi@amarulasolutions.com> To: linux-kernel@vger.kernel.org Cc: Amarula patchwork <linux-amarula@amarulasolutions.com>, michael@amarulasolutions.com, Dario Binacchi <dario.binacchi@amarulasolutions.com>, Alexandre Torgue <alexandre.torgue@foss.st.com>, Krzysztof Kozlowski <krzysztof.kozlowski+dt@linaro.org>, Lee Jones <lee@kernel.org>, Maxime Coquelin <mcoquelin.stm32@gmail.com>, Rob Herring <robh+dt@kernel.org>, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-stm32@st-md-mailman.stormreply.com Subject: [PATCH 1/4] dt-bindings: mfd: stm32f7: add binding definition for CAN3 Date: Sun, 23 Apr 2023 19:25:25 +0200 Message-Id: <20230423172528.1398158-2-dario.binacchi@amarulasolutions.com> X-Mailer: git-send-email 2.32.0 In-Reply-To: <20230423172528.1398158-1-dario.binacchi@amarulasolutions.com> References: <20230423172528.1398158-1-dario.binacchi@amarulasolutions.com> MIME-Version: 1.0 X-Original-Sender: dario.binacchi@amarulasolutions.com X-Original-Authentication-Results: mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=JADuU+he; spf=pass (google.com: domain of dario.binacchi@amarulasolutions.com designates 209.85.220.41 as permitted sender) smtp.mailfrom=dario.binacchi@amarulasolutions.com; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=amarulasolutions.com Content-Type: text/plain; charset="UTF-8" Precedence: list Mailing-list: list linux-amarula@amarulasolutions.com; contact linux-amarula+owners@amarulasolutions.com List-ID: <linux-amarula.amarulasolutions.com> X-Spam-Checked-In-Group: linux-amarula@amarulasolutions.com X-Google-Group-Id: 476853432473 List-Post: <https://groups.google.com/a/amarulasolutions.com/group/linux-amarula/post>, <mailto:linux-amarula@amarulasolutions.com> List-Help: <https://support.google.com/a/amarulasolutions.com/bin/topic.py?topic=25838>, <mailto:linux-amarula+help@amarulasolutions.com> List-Archive: <https://groups.google.com/a/amarulasolutions.com/group/linux-amarula/> List-Unsubscribe: <mailto:googlegroups-manage+476853432473+unsubscribe@googlegroups.com>, <https://groups.google.com/a/amarulasolutions.com/group/linux-amarula/subscribe> |
| Series |
can: bxcan: add support for single peripheral configuration
|
|
Commit Message
Dario Binacchi
April 23, 2023, 5:25 p.m. UTC
Add binding definition for CAN3 peripheral.
Signed-off-by: Dario Binacchi <dario.binacchi@amarulasolutions.com>
---
include/dt-bindings/mfd/stm32f7-rcc.h | 1 +
1 file changed, 1 insertion(+)
Comments
On Sun, 23 Apr 2023, Dario Binacchi wrote: > Add binding definition for CAN3 peripheral. > > Signed-off-by: Dario Binacchi <dario.binacchi@amarulasolutions.com> > --- > > include/dt-bindings/mfd/stm32f7-rcc.h | 1 + > 1 file changed, 1 insertion(+) Applied, thanks
Hey Lee Jones, On 24.04.2023 10:02:29, Lee Jones wrote: > On Sun, 23 Apr 2023, Dario Binacchi wrote: > > > Add binding definition for CAN3 peripheral. > > > > Signed-off-by: Dario Binacchi <dario.binacchi@amarulasolutions.com> > > --- > > > > include/dt-bindings/mfd/stm32f7-rcc.h | 1 + > > 1 file changed, 1 insertion(+) > > Applied, thanks I upstreamed the v2 of this series (https://lore.kernel.org/all/20230427204540.3126234-1-dario.binacchi@amarulasolutions.com/) that doesn't contain this change to net/main without noticing that the DT changes in that series depend on it. This broke the DT compilation of the stm32f746.dtsi in the net/main tree. I don't see the stm32f7-rcc.h changes in linus/master so I'm afraid this will break mainline too :/ What are the possible solutions? I see: 1) revert the stm32f746.dtsi changes via net/main 2) upstream the stm32f7-rcc.h changes via net/main, too 3) upstream the stm32f7-rcc.h changes via you tree, so that it hits mainline in the v6.4 release cycle. I'm in favor of solution number 1. Thoughts? Sorry for the mess, Marc
On 17/05/2023 16:16, Marc Kleine-Budde wrote: > Hey Lee Jones, > > On 24.04.2023 10:02:29, Lee Jones wrote: >> On Sun, 23 Apr 2023, Dario Binacchi wrote: >> >>> Add binding definition for CAN3 peripheral. >>> >>> Signed-off-by: Dario Binacchi <dario.binacchi@amarulasolutions.com> >>> --- >>> >>> include/dt-bindings/mfd/stm32f7-rcc.h | 1 + >>> 1 file changed, 1 insertion(+) >> >> Applied, thanks > > I upstreamed the v2 of this series > (https://lore.kernel.org/all/20230427204540.3126234-1-dario.binacchi@amarulasolutions.com/) > that doesn't contain this change to net/main without noticing that the > DT changes in that series depend on it. > > This broke the DT compilation of the stm32f746.dtsi in the net/main > tree. I don't see the stm32f7-rcc.h changes in linus/master so I'm > afraid this will break mainline too :/ > > What are the possible solutions? I see: > 1) revert the stm32f746.dtsi changes via net/main > 2) upstream the stm32f7-rcc.h changes via net/main, too > 3) upstream the stm32f7-rcc.h changes via you tree, so that it hits > mainline in the v6.4 release cycle. > > I'm in favor of solution number 1. Thoughts? DTS should never go with driver changes or with driver trees, not only because it hides ABI breaks but also for above reasons. The best if you just drop or revert DTS commits, so they can go via platform maintainer. Best regards, Krzysztof
On 17.05.2023 17:23:13, Krzysztof Kozlowski wrote: > On 17/05/2023 16:16, Marc Kleine-Budde wrote: > > Hey Lee Jones, > > > > On 24.04.2023 10:02:29, Lee Jones wrote: > >> On Sun, 23 Apr 2023, Dario Binacchi wrote: > >> > >>> Add binding definition for CAN3 peripheral. > >>> > >>> Signed-off-by: Dario Binacchi <dario.binacchi@amarulasolutions.com> > >>> --- > >>> > >>> include/dt-bindings/mfd/stm32f7-rcc.h | 1 + > >>> 1 file changed, 1 insertion(+) > >> > >> Applied, thanks > > > > I upstreamed the v2 of this series > > (https://lore.kernel.org/all/20230427204540.3126234-1-dario.binacchi@amarulasolutions.com/) > > that doesn't contain this change to net/main without noticing that the > > DT changes in that series depend on it. > > > > This broke the DT compilation of the stm32f746.dtsi in the net/main > > tree. I don't see the stm32f7-rcc.h changes in linus/master so I'm > > afraid this will break mainline too :/ > > > > What are the possible solutions? I see: > > 1) revert the stm32f746.dtsi changes via net/main > > 2) upstream the stm32f7-rcc.h changes via net/main, too > > 3) upstream the stm32f7-rcc.h changes via you tree, so that it hits > > mainline in the v6.4 release cycle. > > > > I'm in favor of solution number 1. Thoughts? > > DTS should never go with driver changes or with driver trees, not only > because it hides ABI breaks but also for above reasons. The best if you > just drop or revert DTS commits, so they can go via platform maintainer. Reverted: https://lore.kernel.org/20230517181950.1106697-1-mkl@pengutronix.de Thanks, Marc
diff --git a/include/dt-bindings/mfd/stm32f7-rcc.h b/include/dt-bindings/mfd/stm32f7-rcc.h index a90f3613c584..8d73a9c51e2b 100644 --- a/include/dt-bindings/mfd/stm32f7-rcc.h +++ b/include/dt-bindings/mfd/stm32f7-rcc.h @@ -64,6 +64,7 @@ #define STM32F7_RCC_APB1_TIM14 8 #define STM32F7_RCC_APB1_LPTIM1 9 #define STM32F7_RCC_APB1_WWDG 11 +#define STM32F7_RCC_APB1_CAN3 13 #define STM32F7_RCC_APB1_SPI2 14 #define STM32F7_RCC_APB1_SPI3 15 #define STM32F7_RCC_APB1_SPDIFRX 16