From patchwork Mon May 24 15:19:52 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Aswath Govindraju X-Patchwork-Id: 12277285 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=-12.1 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_PATCH, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,USER_AGENT_GIT autolearn=ham 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 1DB6FC2B9F7 for ; Mon, 24 May 2021 23:46:14 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (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 CFDE161420 for ; Mon, 24 May 2021 23:46:13 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org CFDE161420 Authentication-Results: mail.kernel.org; dmarc=fail (p=quarantine dis=none) header.from=ti.com 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=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:Message-ID:Date:Subject:CC :To:From:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References: List-Owner; bh=Ekl6EWGlAz3AxnmuKCE5Zc2RoWnTx2leWsvqdCKXsC4=; b=uxvY1dSaya581i zc2oaYO4tjdzPd2tWcK8+PYlBNKg2pRcj71t2vscZL0pOiNSnVoo/ADRx/0xG4PDdUzZXKAaM2LHW ulSaqN3NpV+BCwC4kt1LR3KW7m0XYn79hrgz68usrPviqMIoBtGWtkAKCRgrnPDid0xs2iKHuNwPj 199o5B0WHyLEu22A2CMVs+YGs7LLbznYeYAFGPKQYZe2uOr5OOLAzj3L7A6UWT1yZ0idZXO3r7/c7 s068q+XIlpsPkMFv5fu2ARLDJciSr+zD4ly2wb5CZUr8wkLXhvZJhVXQmYBQcpCZHxbIkU07zdV0W bME/vTtt0+XlxiAQA7Fg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94 #2 (Red Hat Linux)) id 1llKFA-002OWh-LV; Mon, 24 May 2021 23:44:20 +0000 Received: from fllv0015.ext.ti.com ([198.47.19.141]) by bombadil.infradead.org with esmtps (Exim 4.94 #2 (Red Hat Linux)) id 1llCO1-0012Le-DM for linux-arm-kernel@lists.infradead.org; Mon, 24 May 2021 15:20:59 +0000 Received: from lelv0265.itg.ti.com ([10.180.67.224]) by fllv0015.ext.ti.com (8.15.2/8.15.2) with ESMTP id 14OFK6vK118394; Mon, 24 May 2021 10:20:06 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1621869606; bh=kGpI6I5BF57mdUVw4YFYiV1QGy9tp4KteKS2TI1W130=; h=From:To:CC:Subject:Date; b=LNsXPz0XeHyzStqOkKh2FV8gIcdY6KI0G586Rtp6cABgmFnjseLhYgfvlWDDGMf8z Vb1f6dFLa4q3or333sxmTRcHqw9VpIdxm/Yes/76G76mOWl9l9W1pRIyHzG9uHpyvh 5Na3a2o6kVOqnAhj+IDA5QZFo/L7dZrK2KO3/Atg= Received: from DFLE102.ent.ti.com (dfle102.ent.ti.com [10.64.6.23]) by lelv0265.itg.ti.com (8.15.2/8.15.2) with ESMTPS id 14OFK6Zq129447 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Mon, 24 May 2021 10:20:06 -0500 Received: from DFLE114.ent.ti.com (10.64.6.35) by DFLE102.ent.ti.com (10.64.6.23) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2176.2; Mon, 24 May 2021 10:20:05 -0500 Received: from lelv0326.itg.ti.com (10.180.67.84) by DFLE114.ent.ti.com (10.64.6.35) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2176.2 via Frontend Transport; Mon, 24 May 2021 10:20:05 -0500 Received: from gsaswath-HP-ProBook-640-G5.dal.design.ti.com (ileax41-snat.itg.ti.com [10.172.224.153]) by lelv0326.itg.ti.com (8.15.2/8.15.2) with ESMTP id 14OFJv26055198; Mon, 24 May 2021 10:19:58 -0500 From: Aswath Govindraju To: CC: Lokesh Vutla , Vignesh Raghavendra , Kishon Vijay Abraham I , Grygorii Strashko , Aswath Govindraju , Linus Walleij , Bartosz Golaszewski , Rob Herring , Keerthy , David Lechner , Sekhar Nori , , , , Subject: [PATCH v3 0/2] dt-bindings: gpio: davinci: Convert to json-schema Date: Mon, 24 May 2021 20:49:52 +0530 Message-ID: <20210524151955.8008-1-a-govindraju@ti.com> X-Mailer: git-send-email 2.17.1 MIME-Version: 1.0 X-EXCLAIMER-MD-CONFIG: e1e8a2fd-e40a-4ac6-ac9b-f7e9cc9ee180 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20210524_082057_571247_4809EFA2 X-CRM114-Status: GOOD ( 11.33 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org Convert the davinci GPIO device tree binding documentation to json-schema. The GPIO hog node names are defined to end with a 'hog' suffix. All existing GPIO hogs are fixed to follow above naming convention before changing the binding to avoid dtbs_check warnings. changes since v2: - Used gpio-hog.yaml for gpio-hog property - Added constraints on gpio-hog node name - Corrected the gpio hog dt node names to align with the dt-schema changes since v1: - combined the individual compatible properties into one enum - added maxItems and minItems properties for gpio-line-names and interrupts - updated the description of interrupts property - removed the description for properties that are general - updated the pattern property for gpio hog to indicate any sort node name based on its usage - corrected the example wakeup gpio node name Aswath Govindraju (2): ARM: dts: da850-lego-ev3: align GPIO hog names with dt-schema dt-bindings: gpio: gpio-davinci: Convert to json-schema .../devicetree/bindings/gpio/gpio-davinci.txt | 167 ---------------- .../bindings/gpio/gpio-davinci.yaml | 186 ++++++++++++++++++ MAINTAINERS | 2 +- arch/arm/boot/dts/da850-lego-ev3.dts | 10 +- 4 files changed, 192 insertions(+), 173 deletions(-) delete mode 100644 Documentation/devicetree/bindings/gpio/gpio-davinci.txt create mode 100644 Documentation/devicetree/bindings/gpio/gpio-davinci.yaml