Received: by 2002:a05:6358:701b:b0:131:369:b2a3 with SMTP id 27csp1884024rwo; Sun, 23 Jul 2023 02:58:18 -0700 (PDT) X-Google-Smtp-Source: APBJJlGbxLbv4ws751/dm4dfYvu8t8NMVJq6PhqrCYCOBI+/DlAa/pW09KIjRf10Iq5koJxIZdUX X-Received: by 2002:a25:2fd3:0:b0:d0e:14fd:567a with SMTP id v202-20020a252fd3000000b00d0e14fd567amr572105ybv.63.1690106298563; Sun, 23 Jul 2023 02:58:18 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1690106298; cv=none; d=google.com; s=arc-20160816; b=TouXvnG4UEPMps44Q6NTKFbaJdui5lUclmFVD5Q0kDNOVbeOa/WyhFYOzJHUphrDqw fzWhnPkQP/mXvAcPeUV+Ydry1Gor7iDc1AN3oIsFv2KbjulsBDSdeOO13O9/+c1PDYz/ JMkDqBT0jr0HWdaA80FPp2FFC1yvcPlOs870ktjHjZYOkBpaf3W1cNXpZwKRKHd2O7BO SkgbucKPH2sYjI1mTt8FiJqlNrF1XpS1yISvy9ZJl2lULGAZY9gLcOv6UUIzjeldnusf lgP/PhCK4t847gttJnlTBnwfa1DhjqRJZ8zEQjR1CiOZH1sCqvUOp3FwMwc3o9+6tguw rn1Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:dkim-signature:date; bh=IO21JPPuUrj/PlAXDeK+XBpU+sX32D1I5JxlNyZ8yxY=; fh=6uhzKq68hAumXL+3mAmGO062g5rOXq2ttgbFzodAcLQ=; b=d6UwfUPSSzsi5EZoEkXdXKSeSUhYxWpf057G+QGwQGtnpwGJF26lnIS739WrldMHGy I/n2lB5Ax4phU0jMHqTd0wmxap6ziKFuP+j6UPAwZic7ryhPgI+PzI1lwM2xZS7MAtpi k2SHpz5XP+UyUmOs1PiZRd+FPHU2iXYlMmd0gUyBNRaJ3P5Lp8tLpnaMnXtl7c9rqphO 8NJicO43OHUEeNPgv2EDDTxFRA3P2EJMqKQ5Aa+BrnGjqJEJcU7bVYhcC0y5Mrwoz8E3 N5hR3hgNAGYBro2eQIPGSDmvlRxWS5AhdhNxNpjtJaZPg6Zo8Kw+52upxRVoJ5H0B5gN lUSw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@jookia.org header.s=key1 header.b=mcwgGlOY; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=jookia.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id bu6-20020a056a00410600b0067ff1a1ccbcsi6744479pfb.63.2023.07.23.02.58.04; Sun, 23 Jul 2023 02:58:18 -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=@jookia.org header.s=key1 header.b=mcwgGlOY; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=jookia.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229689AbjGWJTF (ORCPT + 99 others); Sun, 23 Jul 2023 05:19:05 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:35162 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229653AbjGWJTD (ORCPT ); Sun, 23 Jul 2023 05:19:03 -0400 Received: from out-31.mta1.migadu.com (out-31.mta1.migadu.com [IPv6:2001:41d0:203:375::1f]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 4D6B81A4 for ; Sun, 23 Jul 2023 02:19:00 -0700 (PDT) Date: Sun, 23 Jul 2023 19:18:33 +1000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=jookia.org; s=key1; t=1690103938; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=IO21JPPuUrj/PlAXDeK+XBpU+sX32D1I5JxlNyZ8yxY=; b=mcwgGlOY5K72c1mv4IEZ+ALhpmQdPQLC1UgX47qkA5/+JSNYwpY8Cbd4NhspuL3PWggka9 +Tp2jHAzGIGtZ+JuagzBwKyIzPP4siFbdcgs9wfpdyem9y9iriwEX2r/aqTGuhjvxzxVc8 ffa1A5ycZ+NBiAjPiudgTs4V6MapEdVyYxclJ00yN+6eNL1aELb4lfhWFJ1WSBK6Ym3pvX iHirF0aGQHxKYK4bD6TTz55DuI0c8aHiu3JIsxqxZyBIlO4uLbCcLECpeLw+D+a9YodbAA 1kEm/i/2HNZZMAsB1qWQpVcPCfX4wgOS3u0c0vrGCvo+vo7rBRMASZjEesF1ow== X-Report-Abuse: Please report any abuse attempt to abuse@migadu.com and include these headers. From: John Watts To: linux-sunxi@lists.linux.dev Cc: Wolfgang Grandegger , Marc Kleine-Budde , "David S. Miller" , Eric Dumazet , Jakub Kicinski , Paolo Abeni , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Chen-Yu Tsai , Jernej Skrabec , Samuel Holland , Paul Walmsley , Palmer Dabbelt , Albert Ou , linux-can@vger.kernel.org, netdev@vger.kernel.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, linux-riscv@lists.infradead.org Subject: Re: [PATCH v2 2/4] riscv: dts: allwinner: d1: Add CAN controller nodes Message-ID: References: <20230721221552.1973203-2-contact@jookia.org> <20230721221552.1973203-4-contact@jookia.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20230721221552.1973203-4-contact@jookia.org> X-Migadu-Flow: FLOW_OUT X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_BLOCKED, SPF_HELO_NONE,SPF_NONE,T_SCC_BODY_TEXT_LINE autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Sat, Jul 22, 2023 at 08:15:51AM +1000, John Watts wrote: > ... > + /omit-if-no-ref/ > + can0_pins: can0-pins { > + pins = "PB2", "PB3"; > + function = "can0"; > + }; > ... > + can0: can@2504000 { > + compatible = "allwinner,sun20i-d1-can"; > + reg = <0x02504000 0x400>; > + interrupts = ; > + clocks = <&ccu CLK_BUS_CAN0>; > + resets = <&ccu RST_BUS_CAN0>; > + status = "disabled"; > + }; Just a quick late night question to people with more knowledge than me: These chips only have one pinctrl configuration for can0 and can1. Should the can nodes have this pre-set instead of the board dts doing this? I see this happening in sun4i-a10.dtsi for instance, but it also seems like it could become a problem when it comes to re-using the dtsi for newer chip variants. John.