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 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=-7.1 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,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 BEA0BC43463 for ; Sun, 20 Sep 2020 19:39:23 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 88E3520897 for ; Sun, 20 Sep 2020 19:39:23 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1600630763; bh=/cIIYM6g4nY0eCyGI1R5FR0FtH5zkjZ+AwFjSpPoAkM=; h=Date:From:To:Cc:Subject:References:In-Reply-To:List-ID:From; b=cbmf1hWKlMEPo7IVvUzZywEF7/KFCRKrgl0XDDcSMn+1fD6lUmoJg99Uy4jWf2eGG A3vaM1UAQW1Nq5nzh8CgmVVr2FXrScYImnEsw1MCawpg2L/EwWIRMuh1D+6Gzjk0K8 JddzwqiIWB7aejoIBcgU2qKMteUZpeV2ehPM1dm4= Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726148AbgITTjW (ORCPT ); Sun, 20 Sep 2020 15:39:22 -0400 Received: from mail-ed1-f66.google.com ([209.85.208.66]:45048 "EHLO mail-ed1-f66.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726109AbgITTjW (ORCPT ); Sun, 20 Sep 2020 15:39:22 -0400 Received: by mail-ed1-f66.google.com with SMTP id b12so10762518edz.11; Sun, 20 Sep 2020 12:39:20 -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=fzV3N2JP7Qn2Un3gsyBkgM9KrmD3SLAd7ErjwLLrv7C0svmYJIw/Su3cN5jzL1n75r zrVBbRp0adJmTob9fvSDvQTeINq0Fe9rGHzxfRP0yd1oHGM5CSes4h1H9lsNN2Af6+NR d0ulDLOpr/hTyADZvhy/M2cTvFeR3SoGBczBJ92jLgWJWYP4aoeh/bgd5MS1ieIJoYVg 6ksqwh1EH+VLlfV5bSMH+63fjGtU1MA8xMNeQOL1kPDGpsLiE949brMg2FIGNi48s+UJ hRtgtzzp0Oyof5RPfv/PXU0EB+6wtwI2PdzADE7pvJ1dNlnFiXqjYGjwyU5Dq6cYL3ef fBbw== X-Gm-Message-State: AOAM531mhHln8/YoTRQVgbf2mjMhbyiq8/5NMP0j+70D/dQvnqboSPB4 aA6R66kZyihQ8588LXmKHUA= 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 Cc: Linus Walleij , Bartosz Golaszewski , Ray Jui , Scott Branden , "maintainer:BROADCOM BCM7XXX ARM ARCHITECTURE" , Shawn Guo , Sascha Hauer , Pengutronix Kernel Team , Fabio Estevam , NXP Linux Team , "open list:GPIO SUBSYSTEM" , devicetree@vger.kernel.org, linux-arm-kernel , "linux-kernel@vger.kernel.org" , linux-unisoc@lists.infradead.org, linux-arm-msm , linux-riscv , Linux Media Mailing List , Linux-ALSA , "moderated list:ARM/STM32 ARCHITECTURE" , "moderated list:ARM/Mediatek SoC support" , "open list:MEDIA DRIVERS FOR RENESAS - FCP" 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) Precedence: bulk List-ID: X-Mailing-List: linux-arm-msm@vger.kernel.org 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 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=-7.0 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS, URIBL_BLOCKED,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 3D0E1C43465 for ; Sun, 20 Sep 2020 19:39:39 +0000 (UTC) Received: from merlin.infradead.org (merlin.infradead.org [205.233.59.134]) (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 B7AE220866 for ; Sun, 20 Sep 2020 19:39:38 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="Li80BbRl" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org B7AE220866 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=kernel.org Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-mediatek-bounces+linux-mediatek=archiver.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=merlin.20170209; h=Sender:Content-Transfer-Encoding: Content-Type:Cc:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:In-Reply-To:MIME-Version:References:Message-ID: Subject:To:From:Date:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=vbVvtkNPGoka8LmcIR5aRl+Wepo94dWDE5o/L7RdaKI=; b=Li80BbRlsuu2Uctiis9lwkCib 3NKMJV5CTzrwGJpByfdF6PshPn9c+EIXtm+q9SSTeOWCFqXh63DmJWMR4+c5K5Zpd395F0s0607UB dPlyC6VoF+h0cO08NrU/IN1VOYQmBgYfXb45QmETKrh2QGmQRfCIrpZFT0+1w0Y4wjEVasS9N2/eY afgjZAgf4Rz6MNc9DZASWPuUAvw9F1dXYxjWyGYSdbojCctNxeM8ie0pnpSYTiEG73mM4RICch9P0 ZQcKd93OnN49utHLH6Biilgf2Rb8A0OtHqY9fwcvRP0aZLtwMpPVjeN0kR68I/6GXgkvg03bYt2kS HR9BMhSKA==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1kK5BJ-0004L9-0k; Sun, 20 Sep 2020 19:39:29 +0000 Received: from mail-ed1-f68.google.com ([209.85.208.68]) by merlin.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1kK5BC-0004JU-GN; Sun, 20 Sep 2020 19:39:23 +0000 Received: by mail-ed1-f68.google.com with SMTP id n22so10856400edt.4; Sun, 20 Sep 2020 12:39:20 -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=rpm3DyCrPyzRvwpSmklVjUKTBPXfHk8SawMEFWDDNQjbV1QAE75ijI2VC7EabassIU kzPGw/gwVV0QChvXFIKgiRQoFOYVSVZd0UMnajFtiMGx4ZfDHmBmtG0zQSQmO/UxKVD/ EvZKx72S7Qg9lhNfAk6wahDbyqcouIFPEGkZtaeZbTsN4mafb4yhto75PqgqTXjVDhss 4VXSgxByRu6B5Eq/8lDvzw6tnUtbmCy5tVGuQoaHpDWSboVFQdyz12CfdPBKnb9F0Gv7 QNp8opZoxgOX/2FWuHCNlyzTj/KNZwKacg6RFZdPOgKDs92UpB+4LO4X/Mo7hTMZxSv9 m8Pw== X-Gm-Message-State: AOAM530dkoEre4Sq+nkuiqHu6FhIvlwYzWjUcGqR1JosmTPx75YweZEz Z4DhYAgJZuxCGR/HEpgzMTk= 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-Disposition: inline In-Reply-To: User-Agent: Mutt/1.9.4 (2018-02-28) X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20200920_153922_539018_9781CB70 X-CRM114-Status: GOOD ( 15.97 ) X-BeenThere: linux-mediatek@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , 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 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "Linux-mediatek" Errors-To: linux-mediatek-bounces+linux-mediatek=archiver.kernel.org@lists.infradead.org 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 _______________________________________________ Linux-mediatek mailing list Linux-mediatek@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-mediatek 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=-7.0 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, 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 887C0C43465 for ; Sun, 20 Sep 2020 19:39:43 +0000 (UTC) Received: from merlin.infradead.org (merlin.infradead.org [205.233.59.134]) (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 3B0FC20866 for ; Sun, 20 Sep 2020 19:39:43 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="rfaqW4Tu" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 3B0FC20866 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=kernel.org Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-riscv-bounces+linux-riscv=archiver.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=merlin.20170209; h=Sender:Content-Transfer-Encoding: Content-Type:Cc:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:In-Reply-To:MIME-Version:References:Message-ID: Subject:To:From:Date:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=NhuSaKy7Gs8w/yaVeCdGLuzKcfCODEJdAwhEWyezlWU=; b=rfaqW4Tu1b4c6ZJRGpuEOnvBx 0wTsdpbceiaKWp1WR2b4TF2DlGqz50Izkx1uATuO1vn4yUDunlTzILgt/IGix8EuzWJE3UUgmfYuS xntyp+k+iZP5nZkjLi9cDjEqPayYsjrOtkBBJbk1e1GnuRvUkFvLsDaxQVZA4DjfroE/VGx1Rf++u n1r7CVgr6FODTORK2ESEiNjmeUovBmPzwn2E1jpzw9MH6pVdNhw8PKl546K2S4VM1EtVN/1ODHaAW Pd3NQSwR0d9X8T95zHDdY9uEO8ZIaJYCzN/t4N1JwdR4y72R1RG5d9EZZScOUxXXKcaknA7GEHMcS eNls3LHeQ==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1kK5BH-0004Ks-Aj; Sun, 20 Sep 2020 19:39:27 +0000 Received: from mail-ed1-f68.google.com ([209.85.208.68]) by merlin.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1kK5BC-0004JU-GN; Sun, 20 Sep 2020 19:39:23 +0000 Received: by mail-ed1-f68.google.com with SMTP id n22so10856400edt.4; Sun, 20 Sep 2020 12:39:20 -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=rpm3DyCrPyzRvwpSmklVjUKTBPXfHk8SawMEFWDDNQjbV1QAE75ijI2VC7EabassIU kzPGw/gwVV0QChvXFIKgiRQoFOYVSVZd0UMnajFtiMGx4ZfDHmBmtG0zQSQmO/UxKVD/ EvZKx72S7Qg9lhNfAk6wahDbyqcouIFPEGkZtaeZbTsN4mafb4yhto75PqgqTXjVDhss 4VXSgxByRu6B5Eq/8lDvzw6tnUtbmCy5tVGuQoaHpDWSboVFQdyz12CfdPBKnb9F0Gv7 QNp8opZoxgOX/2FWuHCNlyzTj/KNZwKacg6RFZdPOgKDs92UpB+4LO4X/Mo7hTMZxSv9 m8Pw== X-Gm-Message-State: AOAM530dkoEre4Sq+nkuiqHu6FhIvlwYzWjUcGqR1JosmTPx75YweZEz Z4DhYAgJZuxCGR/HEpgzMTk= 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-Disposition: inline In-Reply-To: User-Agent: Mutt/1.9.4 (2018-02-28) X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20200920_153922_539018_9781CB70 X-CRM114-Status: GOOD ( 15.97 ) X-BeenThere: linux-riscv@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , 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 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-riscv" Errors-To: linux-riscv-bounces+linux-riscv=archiver.kernel.org@lists.infradead.org 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 _______________________________________________ linux-riscv mailing list linux-riscv@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-riscv 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=-7.0 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, 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 89E36C43465 for ; Sun, 20 Sep 2020 19:40:42 +0000 (UTC) Received: from merlin.infradead.org (merlin.infradead.org [205.233.59.134]) (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 30FCD20672 for ; Sun, 20 Sep 2020 19:40:42 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="PgO4tJSq" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 30FCD20672 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=kernel.org Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=merlin.20170209; h=Sender:Content-Transfer-Encoding: Content-Type:Cc:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:In-Reply-To:MIME-Version:References:Message-ID: Subject:To:From:Date:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=gz8T7gFd7GPshqpXL4dNmPOKxPEG2RZveJOMBOiAVzs=; b=PgO4tJSqx1awORR7xHhRStkux 9bha5QOZR9hk8fHJN9/q782gMRommsvQNfXdXnCzDw1el5oroCRNODYnabzFImv1qWP5afplNJWEb 1+o0reLxOn89QJtPWrroGIgsRhWbElK0zhr83dMFskV530+7tsBMceLyk9KpA2y904PfSBbxCN8dv I1XIankQvQVqSqyQ2hO/jMW9tJzp25q8QDHnjZ2a7teRTRSscsqdZdIDcdkV62K3vjwZ5NYIvbj7s LqhU2jN8iPKZWBeRZOX90hsxfY8hp6FfNOe/01j2oEDX2TdaGkDr8MVxu6XiRL1+5+4ovNLNXBzWV rJv1vmEbA==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1kK5BF-0004KP-8v; Sun, 20 Sep 2020 19:39:25 +0000 Received: from mail-ed1-f68.google.com ([209.85.208.68]) by merlin.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1kK5BC-0004JU-GN; Sun, 20 Sep 2020 19:39:23 +0000 Received: by mail-ed1-f68.google.com with SMTP id n22so10856400edt.4; Sun, 20 Sep 2020 12:39:20 -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=rpm3DyCrPyzRvwpSmklVjUKTBPXfHk8SawMEFWDDNQjbV1QAE75ijI2VC7EabassIU kzPGw/gwVV0QChvXFIKgiRQoFOYVSVZd0UMnajFtiMGx4ZfDHmBmtG0zQSQmO/UxKVD/ EvZKx72S7Qg9lhNfAk6wahDbyqcouIFPEGkZtaeZbTsN4mafb4yhto75PqgqTXjVDhss 4VXSgxByRu6B5Eq/8lDvzw6tnUtbmCy5tVGuQoaHpDWSboVFQdyz12CfdPBKnb9F0Gv7 QNp8opZoxgOX/2FWuHCNlyzTj/KNZwKacg6RFZdPOgKDs92UpB+4LO4X/Mo7hTMZxSv9 m8Pw== X-Gm-Message-State: AOAM530dkoEre4Sq+nkuiqHu6FhIvlwYzWjUcGqR1JosmTPx75YweZEz Z4DhYAgJZuxCGR/HEpgzMTk= 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-Disposition: inline In-Reply-To: User-Agent: Mutt/1.9.4 (2018-02-28) X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20200920_153922_539018_9781CB70 X-CRM114-Status: GOOD ( 15.97 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , 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 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org 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 _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel