Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp36612505rwd; Tue, 11 Jul 2023 03:26:19 -0700 (PDT) X-Google-Smtp-Source: APBJJlHHShKW1zzWpn3B/gZ+ZFBHmjfGJ6W+FslU70PWNku3wqkRUHJq+Rp1wQtLeo3kdIzqJmkR X-Received: by 2002:ac2:58f4:0:b0:4f8:596a:4bb7 with SMTP id v20-20020ac258f4000000b004f8596a4bb7mr10706346lfo.57.1689071179153; Tue, 11 Jul 2023 03:26:19 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1689071179; cv=none; d=google.com; s=arc-20160816; b=wXWwOyXxi9F+G6bO5eID/QGh5CW/tQSzDpet4NyJl8Yo2DQF6gMN40lUyPeiAfixLo ax+17X5eWDTkR+Cgtdz51oK4J5zwirpBugPFIMsu2vbM7/DJW9k/9qeYlhTj3LsMUM/h I4yd7uFwkYDxMD6xMrYh6NjsJq0JnFanrxvqCOT8i5AIwGg6p/hDE4qff1aODFE8Zupt UUuyBfpt8+9L4nMPgvmvlSszoOURqcx+lOVZbBCZ4KFZpQfourNvuCJj6WQ8/VcKq4Pa MTVwcmT8+GSrY4Ay30zn0EKG5CXsaYVsnGt4KHI8o/FaUU7alh22GYPtLFUzGeeYdKEd VDKA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:from :references:cc:to:content-language:subject:user-agent:mime-version :date:message-id:dkim-signature; bh=DdmwbcwKjdUOujh3dcjygwnoj2wjLr34qkQHdcWvyA8=; fh=H8b1+yJVW38TiAnV5ROF7ji4uzuWQNVcO/nqJr8/RJo=; b=XTX8GDDoBIyhknYi3vcyPhOOKI3eGZs2x3QMrP76rvdWnHAQXnph8n/Bc51cBWkP/e w2hFqPdTrlLxv5JGmdFYfdDg15DMoAG0YYSQbEMJVDwc0y+sK3gElISQWqULVR5eN9XP +ZamEIyFh/fTx5inMx3kPJ11QVwH8TYJNu1+rI5kreUNqRMBG2zRBMtGaW1rvm78uMN5 bNo6zIuwuSCPxz0VUeDjpSSx79+OBSAPRqMeAtxvJa13bakV9HORFm1U0uez+Mm3GaTy IMJ2TngLcHat2pyyUW5BDp1hvZ+miCo4SRTMDYGZbPxMPV+IPgveoRNkELqSA/jmnGOL +81Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@foss.st.com header.s=selector1 header.b="uFTS/by5"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=foss.st.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id q26-20020aa7d45a000000b0051e029c13efsi1827813edr.365.2023.07.11.03.25.55; Tue, 11 Jul 2023 03:26:19 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@foss.st.com header.s=selector1 header.b="uFTS/by5"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=foss.st.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230295AbjGKJzN (ORCPT + 99 others); Tue, 11 Jul 2023 05:55:13 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:41420 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229468AbjGKJzL (ORCPT ); Tue, 11 Jul 2023 05:55:11 -0400 Received: from mx07-00178001.pphosted.com (mx08-00178001.pphosted.com [91.207.212.93]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 2AA87A1; Tue, 11 Jul 2023 02:55:09 -0700 (PDT) Received: from pps.filterd (m0046661.ppops.net [127.0.0.1]) by mx07-00178001.pphosted.com (8.17.1.19/8.17.1.19) with ESMTP id 36B7mZns018506; Tue, 11 Jul 2023 11:54:49 +0200 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=foss.st.com; h=message-id : date : mime-version : subject : to : cc : references : from : in-reply-to : content-type : content-transfer-encoding; s=selector1; bh=DdmwbcwKjdUOujh3dcjygwnoj2wjLr34qkQHdcWvyA8=; b=uFTS/by5O6AZ4wmuDrELGNEuEVirQHvqHkLLuMrvZUq/e2+GgD2Ququ4MouK7c20mS3D IadAR81PQdYWPswoOCpEzesJfJIW9ua1qJb4rIfCJGv1sm9A9A25qveIAPujxTVwImr8 5del0PYNYVIF8CadxOBuILKB0JNJxI3+IsVQX8GyUm+65Hex/1drJn8irGrCqYmz7TSv YzDmqrSniEeKlj09EJI3Hm58wPkElus7JrFS4iggJg/lMjbzQpvJ0ousq+jxlk3Do9Of eL8IOZeSb7xNNVoR32hpT2jjT423enamy0MV3fQxL6v1tEvDcDf4J+PT5F2i1OLYmFGe vw== Received: from beta.dmz-eu.st.com (beta.dmz-eu.st.com [164.129.1.35]) by mx07-00178001.pphosted.com (PPS) with ESMTPS id 3rs311s1gf-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Tue, 11 Jul 2023 11:54:49 +0200 Received: from euls16034.sgp.st.com (euls16034.sgp.st.com [10.75.44.20]) by beta.dmz-eu.st.com (STMicroelectronics) with ESMTP id B6896100057; Tue, 11 Jul 2023 11:54:48 +0200 (CEST) Received: from Webmail-eu.st.com (shfdag1node1.st.com [10.75.129.69]) by euls16034.sgp.st.com (STMicroelectronics) with ESMTP id AB76E21515D; Tue, 11 Jul 2023 11:54:48 +0200 (CEST) Received: from [10.201.21.122] (10.201.21.122) by SHFDAG1NODE1.st.com (10.75.129.69) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.21; Tue, 11 Jul 2023 11:54:48 +0200 Message-ID: Date: Tue, 11 Jul 2023 11:54:47 +0200 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.11.0 Subject: Re: [PATCH] ARM: dts: stm32: re-add CAN support on stm32f746 Content-Language: en-US To: Dario Binacchi , CC: Conor Dooley , Krzysztof Kozlowski , Maxime Coquelin , Rob Herring , , , References: <20230704173317.590190-1-dario.binacchi@amarulasolutions.com> From: Alexandre TORGUE In-Reply-To: <20230704173317.590190-1-dario.binacchi@amarulasolutions.com> Content-Type: text/plain; charset="UTF-8"; format=flowed Content-Transfer-Encoding: 7bit X-Originating-IP: [10.201.21.122] X-ClientProxiedBy: EQNCAS1NODE3.st.com (10.75.129.80) To SHFDAG1NODE1.st.com (10.75.129.69) X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.205,Aquarius:18.0.957,Hydra:6.0.591,FMLib:17.11.176.26 definitions=2023-07-11_04,2023-07-06_02,2023-05-22_02 X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,NICE_REPLY_A,RCVD_IN_DNSWL_BLOCKED, RCVD_IN_MSPIKE_H2,SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE, URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Dario On 7/4/23 19:33, Dario Binacchi wrote: > The revert commit 36a6418bb1259 ("Revert "ARM: dts: stm32: add CAN support > on stm32f746"") prevented parsing errors due to the lack of CAN3 binding. > > Now that the binding definition for CAN3 is available in the mainline > thanks to commit 8f3ef556f8e1a ("dt-bindings: mfd: stm32f7: Add binding > definition for CAN3"), we can re-add the CAN support and make the driver > usable again. > > Signed-off-by: Dario Binacchi > --- > ... > + }; > + > + can2: can@40006800 { > + compatible = "st,stm32f4-bxcan"; > + reg = <0x40006800 0x200>; > + iterrupts = <63>, <64>, <65>, <66>; I modified this (bad) line and applied the patch on stm32-next. br Alex > + interrupt-names = "tx", "rx0", "rx1", "sce"; > + resets = <&rcc STM32F7_APB1_RESET(CAN2)>; > + clocks = <&rcc 0 STM32F7_APB1_CLOCK(CAN2)>; > + st,can-secondary; > + st,gcan = <&gcan1>; > + status = "disabled"; > + }; > + > cec: cec@40006c00 { > compatible = "st,stm32-cec"; > reg = <0x40006C00 0x400>;