From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-14.0 required=3.0 tests=BAYES_00,INCLUDES_CR_TRAILER, INCLUDES_PATCH,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 296F7C433DB for ; Fri, 22 Jan 2021 15:36:02 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id E17F123AA1 for ; Fri, 22 Jan 2021 15:36:01 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728937AbhAVPf4 (ORCPT ); Fri, 22 Jan 2021 10:35:56 -0500 Received: from mail-ot1-f42.google.com ([209.85.210.42]:39442 "EHLO mail-ot1-f42.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729201AbhAVPds (ORCPT ); Fri, 22 Jan 2021 10:33:48 -0500 Received: by mail-ot1-f42.google.com with SMTP id i30so5416144ota.6; Fri, 22 Jan 2021 07:33:32 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=dH4mL8XiIr5tXI9uOJYWrjHPyyDGTmGdAo3u+JoYNyI=; b=oBZF5E+O37tD7mXR5R+EPg9fv910Lpu+09blql9o9OFNIXlAa7Xk8ZO2/8cO9xlbGO UVocxpLqd9EJSnsBnBLFvWH1UWCieaV9zAwdZi7c36nIbX6j9BNtqOMBpyXWtz3eJZeg v54pFzwxUTrj1l5KBPeEgoH7C/YOhFvmKcgQgXkkOWpG5rIseUHnkb+2h6P/Vh4QEOLq xPIA384o3j6iIS9JqPdk77hi5743O+oAJY47PSJOTT5cSE0gxXUDz0TGPfgFHg4htnen 1pbIx7Pgg3RziKq3x9IwBWoKCJ3Kn0IdpagQ+cDbIl/aYzSXraveBeiwuO2q4LhH85JE UJiQ== X-Gm-Message-State: AOAM530SDdgFbkjH7APXSWICE7kywA6J+4sIhJ9XaIgTxTlVwcR8mrqk JKWYD9Vf3NHNg2PquWTzWtXgFIxX0sTg9NiRRkw= X-Google-Smtp-Source: ABdhPJzvvYGMEOddIwDfbu1Ch1Ldzr38ZXPQBNQ7cEfEJMp99F9DE2EAd0/mfH2G3gSE7PO0L9iUsXXe2XtRwLJdvX0= X-Received: by 2002:a05:6830:2313:: with SMTP id u19mr534710ote.321.1611329586496; Fri, 22 Jan 2021 07:33:06 -0800 (PST) MIME-Version: 1.0 References: <20210108152447.116871-1-f.suligoi@asem.it> In-Reply-To: From: "Rafael J. Wysocki" Date: Fri, 22 Jan 2021 16:32:55 +0100 Message-ID: Subject: Re: [PATCH v1] Documentation: ACPI: add new rule for gpio-line-names To: Andy Shevchenko , Flavio Suligoi Cc: Mika Westerberg , Andy Shevchenko , "Rafael J . Wysocki" , Len Brown , "open list:GPIO SUBSYSTEM" , ACPI Devel Maling List , Linux Kernel Mailing List Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, Jan 8, 2021 at 5:03 PM Andy Shevchenko wrote: > > On Fri, Jan 8, 2021 at 5:28 PM Flavio Suligoi wrote: > > > > The gpio-line-names lists must respect some rules. > > > > This patch adds a new rule in documentation, to avoid > > the use of duplicate names in the same gpiochip. > > Thanks! > Reviewed-by: Andy Shevchenko > > > Signed-off-by: Flavio Suligoi > > --- > > Documentation/firmware-guide/acpi/gpio-properties.rst | 1 + > > 1 file changed, 1 insertion(+) > > > > diff --git a/Documentation/firmware-guide/acpi/gpio-properties.rst b/Documentation/firmware-guide/acpi/gpio-properties.rst > > index b36aa3e743d8..4e264c16ddff 100644 > > --- a/Documentation/firmware-guide/acpi/gpio-properties.rst > > +++ b/Documentation/firmware-guide/acpi/gpio-properties.rst > > @@ -146,6 +146,7 @@ following rules (see also the examples): > > other words, it is not mandatory to fill all the GPIO lines > > - empty names are allowed (two quotation marks ``""`` correspond to an empty > > name) > > + - names inside one GPIO controller/expander must be unique > > > > Example of a GPIO controller of 16 lines, with an incomplete list with two > > empty names:: > > -- Applied as 5.12 material, thanks!