Received: by 2002:a05:7412:b10a:b0:f3:1519:9f41 with SMTP id az10csp2554090rdb; Mon, 4 Dec 2023 00:08:14 -0800 (PST) X-Google-Smtp-Source: AGHT+IG9DdefUaCLiPZ3PDJYt054SELBVrxTEDGoi1CHHTzDRXvpgl9/zRjz0AITlacuaI4cYucY X-Received: by 2002:a17:902:760d:b0:1d0:6ffe:a19 with SMTP id k13-20020a170902760d00b001d06ffe0a19mr4198728pll.119.1701677294309; Mon, 04 Dec 2023 00:08:14 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1701677294; cv=none; d=google.com; s=arc-20160816; b=NOjaYrjUl1aG/HOuF7b1+OtXV0bK/WyqGJqjBctXKSCh6Sha1NCTfwJwpzovMbMifa EhlW4V+TVbHQL2IvqJ8AWFPWL+uzDAX585eftOTQazRxCDkO6BvbDOYHZ73TV2331SvA p7CrNzWg3w0dS4KzjBVPgnanExR9B8OU7gFCf4aYYSqXYCwtM3xZmZtHiwyiIYUyICs/ +zHwk8IpkYF0ybnTeG610PNSqceTkghCClAbAq+G9sXXLj9W5ya4T7FXUMSEinK0U43e M0IRUbCZGoyytBriU3PUb6Qpew//vdeAES36gTupExqpTLCvN6uM1HF1VBOkCiVFwCq2 u9sg== 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 :dkim-signature:date; bh=1O43gu5PaMZy8WHsduQMVxyUn86WTVQVBI1S32LITWU=; fh=Fa/E5EnbUOZ83hvaxZ6/772HD84TK9lOqsdi0ORdVOY=; b=puQRogmE8IZtH3rQlzSUDJjXPNEGJF6BiX2Off4FEfi32I1qsC5P+F619QyDusIyQZ uQWCtKa0IQJH+p1KjVs2l38K8cOZ2WkjqxJ2Xgnq5p3t5pJSebakUqQULZA1pkwzG5xZ lHQZq28y5ozC8+uQECBBH0Et5DAARyzUs5+E6rYM/sGKWim6/UuM64tC2CEIDwHFjjbW JlGdLXwA5X+8yj+CkQTkB4RDqvheOrjRbqRML3QVpHF0XDhdHFr5m0WMvCZcydpzRZQX lbkjYRGyxjV3TscYw3bLRZIsHeifrudLn60A2J8dSTJniB6QcrKdvLWpcXQwtmCqmHYZ WmgQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linutronix.de header.s=2020 header.b="C5U/F/Ll"; dkim=neutral (no key) header.i=@linutronix.de header.s=2020e; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.35 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=linutronix.de Return-Path: Received: from groat.vger.email (groat.vger.email. [23.128.96.35]) by mx.google.com with ESMTPS id d21-20020a170902729500b001cf5d324819si7165388pll.154.2023.12.04.00.08.13 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 04 Dec 2023 00:08:14 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.35 as permitted sender) client-ip=23.128.96.35; Authentication-Results: mx.google.com; dkim=pass header.i=@linutronix.de header.s=2020 header.b="C5U/F/Ll"; dkim=neutral (no key) header.i=@linutronix.de header.s=2020e; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.35 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=linutronix.de Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by groat.vger.email (Postfix) with ESMTP id E081A807C5D9; Mon, 4 Dec 2023 00:08:11 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at groat.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1343662AbjLDIH7 (ORCPT + 99 others); Mon, 4 Dec 2023 03:07:59 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:42320 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229543AbjLDIH5 (ORCPT ); Mon, 4 Dec 2023 03:07:57 -0500 Received: from galois.linutronix.de (Galois.linutronix.de [IPv6:2a0a:51c0:0:12e:550::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 42FFBD6; Mon, 4 Dec 2023 00:08:04 -0800 (PST) Date: Mon, 4 Dec 2023 09:08:01 +0100 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020; t=1701677282; 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=1O43gu5PaMZy8WHsduQMVxyUn86WTVQVBI1S32LITWU=; b=C5U/F/LlO+5RNABUNBkv/Ol0xLQtsE8Xh8aRhQPOotP2REzKiRLOKo16IpYzLZEfryw94r 92qaOO7nOBbKtsVbFno4nmCI7i+ir49nMvOG6CaAhQI+02fcdNzjGJGAGiJoAWI4yGx4bk nw5lQLzzQImfrgCKTtwMLE0erH8EXT7yEk1i0RCJ8lPiqtqO+XcKJsTlEWwNuhQDLqnJTO fvNibImQCh16s8aZoD/mpz0tkpAIV8H/Lq5cbsl440uzTP2/lrldHIChZsQ5GAIFWZg1bf sjsmtmoSERHT1UsnNrR/1dn0PdEtiuDXJRiS4mqKx5aNT13wXAED3flKWPgPDw== DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020e; t=1701677282; 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=1O43gu5PaMZy8WHsduQMVxyUn86WTVQVBI1S32LITWU=; b=fXHjAAxs2tbT0NWE56bKj7ScO4A2dt+QV/Gt00hi2wiJr/tZMqeaJXV2fxqbzwTU0jar7L SAZ88CTh1rZJm2Aw== From: Nam Cao To: Emil Renner Berthing Cc: Emil Renner Berthing , Jianlong Huang , Hal Feng , Linus Walleij , Huan Feng , Andy Shevchenko , Drew Fustini , linux-gpio@vger.kernel.org, linux-kernel@vger.kernel.org, stable@vger.kernel.org Subject: Re: [PATCH 2/2] pinctrl: starfive: jh7100: ignore disabled device tree nodes Message-ID: <20231204080801.uo8nzeyU@linutronix.de> References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-Spam-Status: No, score=-0.9 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS,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 groat.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (groat.vger.email [0.0.0.0]); Mon, 04 Dec 2023 00:08:12 -0800 (PST) On Fri, Dec 01, 2023 at 03:43:04PM +0100, Emil Renner Berthing wrote: > I just noticed the Allwinner D1 device trees use /omit-if-no-ref/ in front of > the pin group nodes. I think all current pin group nodes (for the JH7100 at > least) are used by some peripheral, so if you're removing peripherals from the > device tree you should be removing the reference too and this scheme should > work for you. If I am not mistaken, /omit-if-no-ref/ (and similar stuffs like /delete-node/ and /delete-property/) is only for compile-time node removal. It doesn't do anything with device tree overlay. Best regards, Nam