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,SIGNED_OFF_BY, SPF_HELO_NONE,SPF_PASS 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 16EF5C433E2 for ; Mon, 13 Jul 2020 18:49:19 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id EE74120738 for ; Mon, 13 Jul 2020 18:49:18 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1594666159; bh=tnlvgD9eepT+cbbC25Paro2u8v1tIseDBOi49YWykyU=; h=Date:From:To:Cc:Subject:References:In-Reply-To:List-ID:From; b=1pYpV4pilfei0bzZ/ftST1BxsZHOWVO71p8bY5MhqyjJqKv+JqtyoLgrthdA6EWmi xQHbaMoLPCxJYSwiSZ1W05QY+nlCcNXxaccDGetzxw1cbqBYnmcKKu/zXzzGSiYJz4 dqDQ3pCEDi7wku/UUnBlg8jSnR+08eyV+m8tstc0= Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726352AbgGMStP (ORCPT ); Mon, 13 Jul 2020 14:49:15 -0400 Received: from mail-io1-f66.google.com ([209.85.166.66]:42617 "EHLO mail-io1-f66.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726318AbgGMStP (ORCPT ); Mon, 13 Jul 2020 14:49:15 -0400 Received: by mail-io1-f66.google.com with SMTP id c16so14615258ioi.9; Mon, 13 Jul 2020 11:49:14 -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; bh=aCiNzIRb/i94Ziy734zDNgavUVaioKgtYqD7ynObnzs=; b=cr54V41iD9tHY4LzUb2WF14//fCINN6nW+m+eJ3JJvh0XXahlqEdtGIVKl7VxmKT/S n7cg2BXl8hCV4HbLGmMiNjXgBHaQeDhVL7eo/q4W/uc3fVpvot54RQtiNnYJveSwYTzW YAPb4wwc3DDI+mDedtKKq7RITKcg5xGgGsrPax6N/nVVLgW5JCpq26qIp0aSBhSTGuJ/ FDwqXywFIdqTLl5vJVJlcnZWVmMETfNWsIBfkUMF144nWu0fBZixGB9LCu3XXg+UA1rv /fYvcEl7CN1nyUpqGPQwczwj/CFNCRMBlY/H5t4+EPhQyo0yDl7btJ+2ZoR8G8OMUAjJ tn1Q== X-Gm-Message-State: AOAM532U6+OwN4+uSZwiJLwfbizxKxjJdQwnmBCC6xJUgtY6F3asyAaj ryTY+kElo4PCE82ZglF25VRShCVXfw== X-Google-Smtp-Source: ABdhPJyVVOPkjyR90yMteRSvUYPNKDibQo0H6E/faM4KxNHcY8WN8jZW0+XXxFQSfGxNOEFzwbd61w== X-Received: by 2002:a5e:a60d:: with SMTP id q13mr1124826ioi.199.1594666153909; Mon, 13 Jul 2020 11:49:13 -0700 (PDT) Received: from xps15 ([64.188.179.252]) by smtp.gmail.com with ESMTPSA id s12sm9067267ilk.58.2020.07.13.11.49.12 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 13 Jul 2020 11:49:13 -0700 (PDT) Received: (nullmailer pid 527876 invoked by uid 1000); Mon, 13 Jul 2020 18:49:11 -0000 Date: Mon, 13 Jul 2020 12:49:11 -0600 From: Rob Herring To: Lubomir Rintel Cc: linux-i2c@vger.kernel.org, Thomas Gleixner , Daniel Lezcano , Linus Walleij , Jason Cooper , Bartosz Golaszewski , devicetree@vger.kernel.org, linux-rtc@vger.kernel.org, Rob Herring , linux-kernel@vger.kernel.org, linux-gpio@vger.kernel.org, Alessandro Zummo , Alexandre Belloni , Marc Zyngier Subject: Re: [PATCH v3 1/5] dt-bindings: gpio: Convert mrvl-gpio to json-schema Message-ID: <20200713184911.GA527802@bogus> References: <20200616223353.993567-1-lkundrak@v3.sk> <20200616223353.993567-2-lkundrak@v3.sk> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20200616223353.993567-2-lkundrak@v3.sk> Sender: linux-rtc-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-rtc@vger.kernel.org On Wed, 17 Jun 2020 00:33:49 +0200, Lubomir Rintel wrote: > This converts the mrvl-gpio binding to DT schema format using json-schema. > > Various fixes were done during the conversion, such as adding more > properties that are in fact mandatory or extending the examples to > include child nodes with extra GPIO blocks. > > The compatible strings are a mess. It is not clear why so many of them > are needed; the driver doesn't really seem to differentiate between the > models. Some of them, like marvell,pxa93x-gpio and marvell,pxa1928-gpio > are not used at all, so it's not known how many interrupts they utilize. > On the other hand, mrvl,pxa-gpio has been seen in the tree, but it > doesn't end up in any actual DTB file. > > In any case -- the schema merely copies whatever was in the original > binding document, so it's hopefully no more wrong that the original. > > Signed-off-by: Lubomir Rintel > > --- > Changes since v2: > - Don't make ranges property mandatory > > Changes since v1: > - Drop marvell,pxa1928-gpio > - Drop ranges from example with no gcb child nodes > - Add default GPL-2.0-only license tag > - Fill in maintainers from MAINTAINERS file > > .../devicetree/bindings/gpio/mrvl-gpio.txt | 48 ----- > .../devicetree/bindings/gpio/mrvl-gpio.yaml | 173 ++++++++++++++++++ > 2 files changed, 173 insertions(+), 48 deletions(-) > delete mode 100644 Documentation/devicetree/bindings/gpio/mrvl-gpio.txt > create mode 100644 Documentation/devicetree/bindings/gpio/mrvl-gpio.yaml > Applied, thanks!