Received: by 2002:a05:7412:6592:b0:d7:7d3a:4fe2 with SMTP id m18csp1867325rdg; Sat, 12 Aug 2023 22:35:13 -0700 (PDT) X-Google-Smtp-Source: AGHT+IGYgr8Vvo17wiT7zPmVeTn+CfnZCTkuZRn6qjhTYtpwUERl3bjuFHa5KVsA89tcETDFCye1 X-Received: by 2002:a17:906:3115:b0:99c:5707:f458 with SMTP id 21-20020a170906311500b0099c5707f458mr4826433ejx.72.1691904913164; Sat, 12 Aug 2023 22:35:13 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1691904913; cv=none; d=google.com; s=arc-20160816; b=YJMMkc9iZ8Xs7uyEMOq4tHf2BLMi8oqH1PBfiDrKs/kP291d3q3sHMfpVUCn7/fLIE MN9cR7p8uf5cIpqil8MQFjAkpfPi8QbIBT5l8Nco7rMovTsG1yILw0+0PLDcf9LbmMNg GDGpIriiJcn8ccwxRxmdLJ8pOrC85dKfkbkq55BmwCKgWAg0omjKsASnqv/SC5gmyd5k ChGaAao190poJlN6eQ3KG4RG9OlSvkw4M3kjXn70s8GSn3eaYHMybrszKSmOATiQzW4G r78sPInudBg4TMpWVigEEa+M1BluEJHeDUTj8lUE4mU1ITAWaepG9YV9M/wx9IQH75rO bvIA== 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=a6J4O4LcgB0OvYhD9lsAZN0hjV+jYfip4h50cDdtwXM=; fh=XNA46w3N0nUDMWXva8P4KNw78btehFX2RenSOwOD8/o=; b=hoyvIeDBWFJihl9l0A/3NH3gM70IaV9qxywcbacWg7N9CJA6JGn4528KIaSSA2CJXR oV+LGj2/fKhYdDHQPxOM1MYjKUgMemkOn/iIJtTa4asfA3qG7F/Pyl8LBFe1h393Rlpj pJWVnEtdkeYbMfUy3Pu/mHIbzAIoRHae2Fuv2dj9dSb5CU4hxskA2EPZC+4hrAhJYQxl jY8J464KH5WTuOeGn1Pj226DwusR89BJWG9gsB2Cgjgwz1uXDyoZmYndiuYPHAjSFlDX TiAxZ0tuKr3Ch7clRwckTxJN5ScR/RdN7A1csP+k/jfsxaQki+PrbtJZbATejz40zZEz QEFQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@jookia.org header.s=key1 header.b=rVBhQaLL; 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 q10-20020a170906940a00b0099bd8bc3fa2si5824396ejx.530.2023.08.12.22.34.48; Sat, 12 Aug 2023 22:35:13 -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=rVBhQaLL; 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 S229499AbjHMEXp (ORCPT + 99 others); Sun, 13 Aug 2023 00:23:45 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:52432 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229490AbjHMEXo (ORCPT ); Sun, 13 Aug 2023 00:23:44 -0400 Received: from out-81.mta1.migadu.com (out-81.mta1.migadu.com [IPv6:2001:41d0:203:375::51]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 9F4A61709 for ; Sat, 12 Aug 2023 21:23:45 -0700 (PDT) Date: Sun, 13 Aug 2023 14:23:23 +1000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=jookia.org; s=key1; t=1691900622; 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=a6J4O4LcgB0OvYhD9lsAZN0hjV+jYfip4h50cDdtwXM=; b=rVBhQaLLGPc/hJvDQWXmWex9rEukDK7PwJImulIVytTKqLck/I3R6y9nlyEyvADT9RWl6X +VxaxBClb+sTt5ZPIP0lKXHybhiZaZrez04tQyrqu8zeSSayPCxU82o80rG7MfikOgLW8k BuvyNjZYuR/TNHeBx6ER2XBiQb7rgab5aU2wz35zbz7b9ALUJW9fqf6I51foFfFBkjAXcX CiIONMTYk7ZycnK+dmm/Ex0GC4VnP1MyUbdtu38lnvuY+/lpQV7acfjg1THU3Z2jstbUYg SYXdL44Fym4wk1gzUBET2HWn4pGvLnkhIoh7c6RzFLlQ/Oj7ozQHOgrWAEiKqw== X-Report-Abuse: Please report any abuse attempt to abuse@migadu.com and include these headers. From: John Watts To: Chen-Yu Tsai Cc: linux-sunxi@lists.linux.dev, Rob Herring , Krzysztof Kozlowski , Conor Dooley , Paul Walmsley , Palmer Dabbelt , Albert Ou , Jernej Skrabec , Samuel Holland , Maksim Kiselev , Marc Kleine-Budde , Cristian Ciocaltea , devicetree@vger.kernel.org, linux-riscv@lists.infradead.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH v3] riscv: dts: allwinner: d1: Add CAN controller nodes Message-ID: References: <20230807191952.2019208-1-contact@jookia.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: 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,SPF_HELO_NONE,SPF_NONE 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 On Sun, Aug 13, 2023 at 12:17:27PM +0800, Chen-Yu Tsai wrote: > > Signed-off-by: John Watts > > --- > > Changes in v3: > > - Set default pinctrl for can controller > > - Moved can nodes to proper location > > - Moved can pins to proper location > > > > .../boot/dts/allwinner/sunxi-d1s-t113.dtsi | 34 +++++++++++++++++++ > > 1 file changed, 34 insertions(+) > > > > diff --git a/arch/riscv/boot/dts/allwinner/sunxi-d1s-t113.dtsi b/arch/riscv/boot/dts/allwinner/sunxi-d1s-t113.dtsi > > index d59b4acf183a..24f2e70d5886 100644 > > --- a/arch/riscv/boot/dts/allwinner/sunxi-d1s-t113.dtsi > > +++ b/arch/riscv/boot/dts/allwinner/sunxi-d1s-t113.dtsi > > @@ -52,6 +52,18 @@ pio: pinctrl@2000000 { > > #gpio-cells = <3>; > > #interrupt-cells = <3>; > > > > + /omit-if-no-ref/ > > Just FYI this likely ends up doing nothing if you also have them > referenced through a default pinctrl setting. They end up always > referenced and always included. For the D1 series it looks like no > peripheral has default pinctrl setting given. > > We can still keep it though. It would help when future chip variants > specify different pinmuxes. Oops, thanks for pointing that out. I'll try to avoid that mistake in future. > The compatible string should be the first property. In other sunxi SoC dtsi > files, we put the pinctrl just before the "status" property if it's present > to specify a default pin muxing. Oh that makes sense. > > I can fix it up while applying. Please do! > ChenYu Thanks, John.