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=-5.5 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,USER_AGENT_SANE_1 autolearn=no 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 C6416C43466 for ; Sun, 20 Sep 2020 19:40:26 +0000 (UTC) Received: from alsa0.perex.cz (alsa0.perex.cz [77.48.224.243]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 2EC8020874 for ; Sun, 20 Sep 2020 19:40:26 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (1024-bit key) header.d=alsa-project.org header.i=@alsa-project.org header.b="FAcPybGD" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 2EC8020874 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=kernel.org Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=alsa-devel-bounces@alsa-project.org Received: from alsa1.perex.cz (alsa1.perex.cz [207.180.221.201]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by alsa0.perex.cz (Postfix) with ESMTPS id 23FB0168D; Sun, 20 Sep 2020 21:39:34 +0200 (CEST) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa0.perex.cz 23FB0168D DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=alsa-project.org; s=default; t=1600630824; bh=/cIIYM6g4nY0eCyGI1R5FR0FtH5zkjZ+AwFjSpPoAkM=; h=Date:From:To:Subject:References:In-Reply-To:Cc:List-Id: List-Unsubscribe:List-Archive:List-Post:List-Help:List-Subscribe: From; b=FAcPybGDYMlkmlL6X5KIHdhhXmG5R/dd+w3l4Vl0XjsvHwBvFF+IqHGbKvQK9rTVU /8tKV8M8G1BGbGvhyxpRX0sG82mI+8T+2HH18nPJYgvpmC9vGNIboWwWjL7QJZ45i6 ZBuJ0lw2SEIXuqqAdSRi2dc71bDyI4E6e0X/8SDs= Received: from alsa1.perex.cz (localhost.localdomain [127.0.0.1]) by alsa1.perex.cz (Postfix) with ESMTP id 1CE4FF8023E; Sun, 20 Sep 2020 21:39:25 +0200 (CEST) Received: by alsa1.perex.cz (Postfix, from userid 50401) id F142FF80256; Sun, 20 Sep 2020 21:39:23 +0200 (CEST) Received: from mail-ed1-f67.google.com (mail-ed1-f67.google.com [209.85.208.67]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by alsa1.perex.cz (Postfix) with ESMTPS id 3FBADF80232 for ; Sun, 20 Sep 2020 21:39:19 +0200 (CEST) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa1.perex.cz 3FBADF80232 Received: by mail-ed1-f67.google.com with SMTP id g4so10886290edk.0 for ; Sun, 20 Sep 2020 12:39:19 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to:user-agent; bh=EjOn6uRQVdPuymFl16y3sShxeseL+O0M4hlLdZpwFpM=; b=t7RyBglIoqj6EY8m6/Yj5a7uBGnF02mJsA9SKpUTaPE22d2hXx2pOwe7/OVf5nbW/S c1P8zfZlNBfy4opvQ2DTat1nS7SmwB9lOsbKLMep6SkN/AlvuIwHMIXbuKsBQjR8nIHQ hrWjU/hHPO4CETXMDAf1Hwyd/0exQEVfujkZHdq8lnv7h/xmziRory2kbtnW0ExkDb20 lTE7PVoDbfgs3vmphWM8Tb3df78/1wP13prxLSLGLkIshlhjtvmOf6U0fqb4ex7GBrdb nNOXqEf4dwG0YEB6jHQZ0oUPY5F8RDXdZTiNBw8a9AwJsExb9q61CngMEI24Dvs+yzF+ C4Vw== X-Gm-Message-State: AOAM530X4w6WrPGaLD9C9QJXtRr3MBjv7B/ObF4Arm20+fnOV4Oj3xJs XmXYt4McjDndbTG665Llqdg= X-Google-Smtp-Source: ABdhPJxm64DrxO2BCAhB/Z2FKAFGkrjja3e7GI7Mop9Y1YiJS/Mzx02Jc3rgIeVCd0fm8AibxTyTyA== X-Received: by 2002:a05:6402:326:: with SMTP id q6mr48977643edw.216.1600630759279; Sun, 20 Sep 2020 12:39:19 -0700 (PDT) Received: from kozik-lap ([194.230.155.191]) by smtp.googlemail.com with ESMTPSA id bf25sm6956900edb.95.2020.09.20.12.39.16 (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Sun, 20 Sep 2020 12:39:18 -0700 (PDT) Date: Sun, 20 Sep 2020 21:39:15 +0200 From: Krzysztof Kozlowski To: Rob Herring Subject: Re: [PATCH v2 01/13] dt-bindings: gpio: add common schema for GPIO controllers Message-ID: <20200920193915.GA31074@kozik-lap> References: <20200917165301.23100-1-krzk@kernel.org> <20200917165301.23100-2-krzk@kernel.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.9.4 (2018-02-28) Cc: Linux-ALSA , Linus Walleij , linux-riscv , Fabio Estevam , "moderated list:ARM/STM32 ARCHITECTURE" , Bartosz Golaszewski , "maintainer:BROADCOM BCM7XXX ARM ARCHITECTURE" , NXP Linux Team , linux-arm-msm , Linux Media Mailing List , devicetree@vger.kernel.org, Ray Jui , Sascha Hauer , linux-unisoc@lists.infradead.org, "moderated list:ARM/Mediatek SoC support" , linux-arm-kernel , Scott Branden , "open list:GPIO SUBSYSTEM" , "linux-kernel@vger.kernel.org" , "open list:MEDIA DRIVERS FOR RENESAS - FCP" , Pengutronix Kernel Team , Shawn Guo X-BeenThere: alsa-devel@alsa-project.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: "Alsa-devel mailing list for ALSA developers - http://www.alsa-project.org" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: alsa-devel-bounces@alsa-project.org Sender: "Alsa-devel" On Fri, Sep 18, 2020 at 08:30:02AM -0600, Rob Herring wrote: > On Thu, Sep 17, 2020 at 10:53 AM Krzysztof Kozlowski wrote: > > > > Convert parts of gpio.txt bindings into common dtschema file for GPIO > > controllers. The schema enforces proper naming of GPIO controller nodes > > and GPIO hogs. > > Did you not see my previous reply about a common schema? We already > have a common GPIO and hog schema in dtschema. Please add to it > whatever is missing. Indeed, I'll enhance the dt-schema. The trouble is that each in-kernel YAML file still has to mention possible gpio-hogs nodes. Is the proper solution to put them in common YAML inside kernel sources? > > My goal is all common schema end up in dtschema, but I haven't pushed > folks to do that yet. Ones I've done are there though. One issue is > what's in dtschema should be GPL/BSD and the existing text bindings > are default GPL, so there's a relicensing exercise. In some cases, the > schema is there but I haven't copied over the descriptions. Right, I'll skip the descriptions when posting to dt-schema. Best regards, Krzysztof