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 1C7F8C43469 for ; Sun, 20 Sep 2020 19:39:26 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id D668220897 for ; Sun, 20 Sep 2020 19:39:25 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1600630765; bh=/cIIYM6g4nY0eCyGI1R5FR0FtH5zkjZ+AwFjSpPoAkM=; h=Date:From:To:Cc:Subject:References:In-Reply-To:List-ID:From; b=BCtm5hM569yz0gwqOVUnQ2mm/p9h6Y7d/NVhA09ByiUXw40Sm1Un63Zekf+2TfhKA kgF8pNkynrxrBaOAmYw4wYQCytW/BFLy7dmoT1TgfZohAP8L5tff8ia2nLn6EmuKtI mDSYHmQ8E4BhRlokukPOo2xssFxarP5iN2yIyHk4= Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726343AbgITTjW (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-renesas-soc@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