Received: by 2002:a05:6a10:8c0a:0:0:0:0 with SMTP id go10csp1118692pxb; Fri, 22 Jan 2021 07:36:41 -0800 (PST) X-Google-Smtp-Source: ABdhPJyMFqNASSX1142RogGhaBgGh1plLDgvdLqU6PQLCdLjU7CoV9yUTgYLUtfWHJHKWxs9gutr X-Received: by 2002:a05:6402:4242:: with SMTP id g2mr3698302edb.103.1611329800964; Fri, 22 Jan 2021 07:36:40 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1611329800; cv=none; d=google.com; s=arc-20160816; b=ogT3NYiFuoZMJDDeptocJ0C/uRT3mzuLdZNO/HDdd5vGA9lsan4WQ+SzimrIob3jbl Q+MbYVeSrcuvPK9qYZTg0yog8GJ9ky+xP0SOznMK6h/OtPqnp94SPCpeVlLALcg8KzCl rE2z+UT4dH1jXTnbNzqK1tLmpuuIYtvS4Rn1DFBIHRFpHL5uIWhr3XdklkVizIjo+Ebk WIrHYWR/0iffy9k+lYaqJpuYvBG1yCv2gvU7+Dq39YekU3jntfbUqKeIMtqLQIFf0sci 7ohgcjE4Yht3w5QcyHT/bsFjO5jBceCi1+BN2PuUyt0rhO8SRrfN9UN4+OjAQwzdD3Hg q3Eg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version; bh=dH4mL8XiIr5tXI9uOJYWrjHPyyDGTmGdAo3u+JoYNyI=; b=idoSzgcuTUjQS9nQiKSfAcsHIrz3x9H5jYnyCiTLY03Don7ZGp5fwxOIvxynf4OCo8 RjcvyLI+EWqf3OLh0nLMt39OIyLhrty8pY2En1WU3B+qpQQoRry+OumgDjH9pslYTLUS Ei18RU/DmrQlDlc3q1QIcapBmJLiQ4YCys5Dn1SsHDMA7EM3rTGtKhZZ8kEkPifuO66T kJ9HUYFKkon/h0upz4P2pK733aDxPA1JUp6PdJQcNJn44idc/aHtzjleYeTygqVB6qnU coVb2uf0a0tm/Dr9ouQacJKmu7Ows+aemRoJqsn1j6tAxZHjw1k061t8rO5FzMcNgJCM PMFg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id i2si1070605ejp.556.2021.01.22.07.36.16; Fri, 22 Jan 2021 07:36:40 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729141AbhAVPf1 (ORCPT + 99 others); Fri, 22 Jan 2021 10:35:27 -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-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!