Received: by 2002:a05:6a10:22f:0:0:0:0 with SMTP id 15csp2673345pxk; Sun, 20 Sep 2020 12:40:38 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxjDWYPt4AEcwEjj37CD3B+VwGEi6xGUkJH4Qqfj8wUG9zcoq+LQivjoXpQoSbhfPH8WHIP X-Received: by 2002:a17:906:fcc8:: with SMTP id qx8mr45526882ejb.13.1600630838325; Sun, 20 Sep 2020 12:40:38 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1600630838; cv=none; d=google.com; s=arc-20160816; b=CNfITYPOJXAEdriZEIssqI2d22rSF5UsTMYDtBM5JGcVeIaK5CJcWESDKiK4ygTPop ZOFI9SxW+REtlGjI/yKELL1TlOHQfp3vOMqzP2f80JaDpFTnJ3SSoYlekMeMVYWFMsqb 2Yp00TNngE1Kdhp+B0F861+s3t0YC9ZO1p0B/F+znSsh6yvC5CPbrh5g/23XymE6elsr cU6XpxIcR/OHFKSS25RIBVs2e2to0qvHYlO3y2V+e0zy5YWkexXfUfy33kCSvuAjKZqL G5BYyuXCfMkwbkq8nGgC4tJntslFXtPHkP4ejSFYuN5q88cbRx/4Jj3O0AvMAHp2LsXu zukw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:user-agent:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date; bh=EjOn6uRQVdPuymFl16y3sShxeseL+O0M4hlLdZpwFpM=; b=hPgl+2Tssy/pq0BsK4RI4gbLq1vrDhAXqcKwPk7THa/ETGoFzoQ4stKYJ02c+4N3ML /CPONRx3zkZpKQKmhC3/tj8t9ymQQFZog7hiOzJuBBj40Y+l7hPw7gLlEyrdDo7diqXi EIVNoUWbl9PM964cKNHmmWxMZtSbriuppslDJgIKUtosCaa1EbZsSb/OtWXODxQ7AF6g Lx8/gljP9oey54ti6//EH1A9N2fdO/qBNc1psHbwvk/DkhJsU8jSX3EO0Zph3sNX2s8F OwdHCw8ytMX7YnFTZ/5lORbxn28XSN347awNmZiKlABY+loH9KWpQErtdWK3M70Mu4pO BlQA== 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 x99si7089153ede.160.2020.09.20.12.40.15; Sun, 20 Sep 2020 12:40:38 -0700 (PDT) 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 S1726367AbgITTjX (ORCPT + 99 others); Sun, 20 Sep 2020 15:39:23 -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-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-kernel@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