Received: by 2002:a05:6358:700f:b0:131:369:b2a3 with SMTP id 15csp2734291rwo; Thu, 3 Aug 2023 14:11:43 -0700 (PDT) X-Google-Smtp-Source: APBJJlGVqjMrpk1LtFL4/k/xPT0f35CFT9IvcAtEXlLmw3k5UH7bSq8T1P0P1cDrHYN2Tj2d7QEB X-Received: by 2002:a2e:9d98:0:b0:2b7:3b73:2589 with SMTP id c24-20020a2e9d98000000b002b73b732589mr8695916ljj.32.1691097102961; Thu, 03 Aug 2023 14:11:42 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1691097102; cv=none; d=google.com; s=arc-20160816; b=QAWtF1vJ+lfPnjSKFB9sBh4S1Pt0pSAvft6YngzpJyt0ShM+WSogC7Ef7a7XYiihqv piwXOMMJJu2HiJslzBu8SeVX6r764q/0JjfQ3UcAkJbguq29E+p/ZVZjru98P3jQsag0 wkxGtrxEJlDObnq5Y/KBOcUmpHZrED8n8i/SMRWfJ1DNEZdbqLDg5JZO2rUVn8YWXgDt fMAbz6++JbT/Sk4ASg0cWStAaEC+lkzsErclCTdjDY1xkAMhK3203UbX6TpQaVETW39Z W51Hk9cxjq+UcOi5LkSkdGP546tnYo7rYF6ChT1Vu3yQdmQYEkiprbHehSiNxd1KGLyL +a4g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=gf1shgUQGecS6+2Jrf1Rltefiiin3z+1dw5kwESQLOE=; fh=J2B/Je9nKfICqzE8zBCZBZkAoIz+iHaIQ73Avrj3CTc=; b=pZn5eohANrzQWXWsT4xwCj+xPBieaZO+TsPzAPWZVM/b0PSw5Bgd+KMuiFNHeSyfPO cghSW/+NvbMR08kUo5yfrgQI/Gn/aqEPa29QpCJNS0b/ROliW9IwSobmrqks7rRzpZaU Vtoz4n9oVQgOKITJOL9nG0Lys8pLyXj8OI/mVR2EKprJacod98VNMWZrUc7fjWmgnFKN VS0NTz0+jYN2h9Od8VFlUF5tKPA9WGZd4GC7wU8wvIdjfZiW2CwdfEIbGxy4x8zwjAm2 IqASyFvVU1d1ZANMWWzGpQb01eCLbjZ44cfXYcQWtM4FbI7o8d3/7tokG23eKummGvNx bbZQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20221208 header.b=I6Svwboa; 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=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id pg2-20020a170907204200b0098f99532db2si449364ejb.666.2023.08.03.14.11.13; Thu, 03 Aug 2023 14:11:42 -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=@gmail.com header.s=20221208 header.b=I6Svwboa; 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=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232305AbjHCUyX (ORCPT + 99 others); Thu, 3 Aug 2023 16:54:23 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:57822 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231508AbjHCUyV (ORCPT ); Thu, 3 Aug 2023 16:54:21 -0400 Received: from mail-wr1-x432.google.com (mail-wr1-x432.google.com [IPv6:2a00:1450:4864:20::432]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 0671D19AA; Thu, 3 Aug 2023 13:54:12 -0700 (PDT) Received: by mail-wr1-x432.google.com with SMTP id ffacd0b85a97d-317b31203c7so1299806f8f.2; Thu, 03 Aug 2023 13:54:11 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1691096050; x=1691700850; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=gf1shgUQGecS6+2Jrf1Rltefiiin3z+1dw5kwESQLOE=; b=I6Svwboa/Lf/XyjqjzLySQ9kXd+YTlRJ8bqidzr0kT/mN0bm9TJmPdDtGmjQcXnC0g zBQcpCDi35SqsW4FPFXJHJj1RZUVxAG9y3+pn5FcNg+hMxFImMO4JlkCc7O3h49ok1V8 G/20JB9KiEbch9eu2VgRw53YLAthzMbfB9hN0mvkNqWW9kQrPE/hV2NIulEL5VRoAnXS evmwhdHh7JDKmSF6Y/M4AdK9qWhx3PFjZO4y4hKiuXkoQ6gxswG6Axdus7k3PRoWYMTP 4D7au3z7X+c80V1G7thDEkn34K/tsUprsXm94oz75+/9csJ5cy2vfl5U+fW7nNy78IwX KCLA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1691096050; x=1691700850; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=gf1shgUQGecS6+2Jrf1Rltefiiin3z+1dw5kwESQLOE=; b=QAyDwqr+tXCiilyIAWRVUNmIv0+wqItguYNVWJr7elyyodeagEjx61BZmSuQ7lWtQz 2rY7zNyGEZQuSIFBNegl2/EizZ6d9ZNx/xXIqAT6VbDZHsHTSb/z3d1uCCUhyhFDB++t B51RCI5iY6ooIq7q47cM1skPxVOGdY8FFBY+CQKLg9l7/Tgi44a4JCJyWp3XyS1ZkUAC hob5Aakt9xDi/ZKV1/rtiAgJ5gIMkQVSSMc98uojBSxIIQ1ZdNYMHRqq9YE32W/+xwy9 Ygw6aKZmVRx+rf3Cci1oYmnt+o2TOH8VvqRnkZ7zwljJhYNz5OHbZSWE3uDrLTvG6+kC aDKw== X-Gm-Message-State: ABy/qLYUJh6afTbtPJf/Z2K0SGiqJIkqjDTNYBoM3/40eS/t8GBzXl+h KtliQ9RGix1xix+iVuL7vio= X-Received: by 2002:adf:e105:0:b0:314:11f3:ca94 with SMTP id t5-20020adfe105000000b0031411f3ca94mr8109045wrz.41.1691096050225; Thu, 03 Aug 2023 13:54:10 -0700 (PDT) Received: from jernej-laptop.localnet (82-149-1-233.dynamic.telemach.net. [82.149.1.233]) by smtp.gmail.com with ESMTPSA id d6-20020adff2c6000000b003172510d19dsm743046wrp.73.2023.08.03.13.54.08 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 03 Aug 2023 13:54:09 -0700 (PDT) From: Jernej =?utf-8?B?xaBrcmFiZWM=?= To: linux-sunxi@lists.linux.dev, John Watts Cc: John Watts , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Paul Walmsley , Palmer Dabbelt , Albert Ou , Chen-Yu Tsai , Samuel Holland , Cristian Ciocaltea , Maksim Kiselev , devicetree@vger.kernel.org, linux-riscv@lists.infradead.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] riscv: dts: allwinner: d1: Specify default CAN pins Date: Thu, 03 Aug 2023 22:54:08 +0200 Message-ID: <2151031.irdbgypaU6@jernej-laptop> In-Reply-To: <20230731023701.2581713-1-contact@jookia.org> References: <20230731023701.2581713-1-contact@jookia.org> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM, RCVD_IN_DNSWL_BLOCKED,SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE 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 Dne ponedeljek, 31. julij 2023 ob 04:36:59 CEST je John Watts napisal(a): > There are only one set of CAN pins available on these chips. > Specify these as the default to avoid redundancy in board device trees. > > Signed-off-by: John Watts > --- > arch/riscv/boot/dts/allwinner/sunxi-d1s-t113.dtsi | 4 ++++ > 1 file changed, 4 insertions(+) > > diff --git a/arch/riscv/boot/dts/allwinner/sunxi-d1s-t113.dtsi > b/arch/riscv/boot/dts/allwinner/sunxi-d1s-t113.dtsi index > 4086c0cc0f9d..b27c3fc13b0d 100644 > --- a/arch/riscv/boot/dts/allwinner/sunxi-d1s-t113.dtsi > +++ b/arch/riscv/boot/dts/allwinner/sunxi-d1s-t113.dtsi > @@ -898,6 +898,8 @@ can0: can@2504000 { > interrupts = ; > clocks = <&ccu CLK_BUS_CAN0>; > resets = <&ccu RST_BUS_CAN0>; > + pinctrl-names = "default"; > + pinctrl-0 = <&can0_pins>; > status = "disabled"; > }; > > @@ -907,6 +909,8 @@ can1: can@2504400 { > interrupts = ; > clocks = <&ccu CLK_BUS_CAN1>; > resets = <&ccu RST_BUS_CAN1>; > + pinctrl-names = "default"; > + pinctrl-0 = <&can1_pins>; > status = "disabled"; > }; > };