Received: by 2002:ac2:464d:0:0:0:0:0 with SMTP id s13csp1996732lfo; Sat, 28 May 2022 13:09:31 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyCMeO2/3TUF1AmSvwql7DXf1tgJMCrtS7ffJTHRaeKz3KSmkp0b6QBQHEmG3hHitZnv4+I X-Received: by 2002:a17:902:ce8f:b0:163:cc85:ba89 with SMTP id f15-20020a170902ce8f00b00163cc85ba89mr319394plg.79.1653768570830; Sat, 28 May 2022 13:09:30 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1653768570; cv=none; d=google.com; s=arc-20160816; b=Nkcaeg6AptRpLiLgfJyMy0DJsvoy96LGWMIDjHzo3U5GTzGAjWvdke0pj+vhQ/Pgz3 NUpPze6t9cWrgCcd2oQSfR5C+tO1bJaUwXQ8CFGYwexW3KRDpFuWlILm+VhlwvfNQERK qV9XYOub/cFaBwrnvbHABJ++gibNbPBCDInZB3GxaIHP6WqiAkeqG0gBCeG4eUQ0knKy tnX0jdfamhPoYGI5alN6/HkFcVaoDx9aOXth4tZ2ncJ/J9lVcFkHOOMTu+6e8S4r0l9T Y7Yp3BBcy3pu4lqzy7+8KMYHMub0foofsfWnKqlOiHXQzJDRfiS+u1V0Fw1Ga5QTIhop eyGA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=QHyZnC4rqumt3wHA68GEYa3OZenHl1h51o2C2yqx0hc=; b=eic8oHdxYt1+V08lS8/kPmoPsKJscHEig6p7eg4Vcdz0GNcht3bHgI3xQBWIGuuB8V hsXdCMQABNG8umVSoTybeL1Q/OltckfBsuwRhlv5KUOryUiYu7TPWPWgTgJ3NIVVECfS rTKgC/qsWYkn2d5fqY67Q5Q1uRdyKCl+xkx9rjp8x71FTOMFiflcJXvJZhTxXTCwZXVF gF+8+mdFzzRNkpUEMbCaRCexrpp8wRlD9vse0BHCgAWAbH6YOGz5wb5mIsor8OSymMAP waA45C35vpHwT885nh2/0GatyhbrEXyctIir0oCNC03ZgYyqhMTm+fXgZVuKCAkTlWNj uHAA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@alliedtelesis.co.nz header.s=mail181024 header.b=TfyHid8m; spf=softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=NONE dis=NONE) header.from=alliedtelesis.co.nz Return-Path: Received: from lindbergh.monkeyblade.net (lindbergh.monkeyblade.net. [23.128.96.19]) by mx.google.com with ESMTPS id lp18-20020a17090b4a9200b001e06a140697si1606366pjb.9.2022.05.28.13.09.30 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 28 May 2022 13:09:30 -0700 (PDT) Received-SPF: softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) client-ip=23.128.96.19; Authentication-Results: mx.google.com; dkim=pass header.i=@alliedtelesis.co.nz header.s=mail181024 header.b=TfyHid8m; spf=softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=NONE dis=NONE) header.from=alliedtelesis.co.nz Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 1C12611E1DE; Sat, 28 May 2022 12:23:25 -0700 (PDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S241546AbiEZBaL (ORCPT + 99 others); Wed, 25 May 2022 21:30:11 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:52608 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1345720AbiEZB35 (ORCPT ); Wed, 25 May 2022 21:29:57 -0400 Received: from gate2.alliedtelesis.co.nz (gate2.alliedtelesis.co.nz [IPv6:2001:df5:b000:5::4]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 1CB7F9E9CF for ; Wed, 25 May 2022 18:29:53 -0700 (PDT) Received: from svr-chch-seg1.atlnz.lc (mmarshal3.atlnz.lc [10.32.18.43]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by gate2.alliedtelesis.co.nz (Postfix) with ESMTPS id 8132C2C049A; Thu, 26 May 2022 01:29:50 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=alliedtelesis.co.nz; s=mail181024; t=1653528590; bh=QHyZnC4rqumt3wHA68GEYa3OZenHl1h51o2C2yqx0hc=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=TfyHid8mBhNdVeE9z1SNzToZk5f+vjqJN568qUXTJCEQIJmQQdOIexv4puzSYQkay 7goSMOW+zXuqUK/tC+nq2iAEai/MHtzgTr2pxLCWSYMmzsR5z2QNdo4zAsOH55xKz+ 10Em0E8Ow6wMaM/SseC4kSLz7O1WeRI/ExLsZan5cXHZSxrZfKlPHhcte0NwR4Zf60 SAtveA91mxVeW8aN+LAgMVkwCs0OcmaNpVd7/RzSJbNejD0+6BX3KfhV/JFro7GAZ9 l9LjdbRuCABSXA7Yy950ifyX8FmGojXpmiMyXAju7zsqpBmFyYfWbMXn4kJ0HqXw+W iHJkUBziN/N4Q== Received: from pat.atlnz.lc (Not Verified[10.32.16.33]) by svr-chch-seg1.atlnz.lc with Trustwave SEG (v8,2,6,11305) id ; Thu, 26 May 2022 13:29:50 +1200 Received: from chrisp-dl.ws.atlnz.lc (chrisp-dl.ws.atlnz.lc [10.33.22.30]) by pat.atlnz.lc (Postfix) with ESMTP id 421E813ED7D; Thu, 26 May 2022 13:29:50 +1200 (NZST) Received: by chrisp-dl.ws.atlnz.lc (Postfix, from userid 1030) id 41A572A0088; Thu, 26 May 2022 13:29:50 +1200 (NZST) From: Chris Packham To: robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org, linus.walleij@linaro.org, brgl@bgdev.pl, thierry.reding@gmail.com, u.kleine-koenig@pengutronix.de, lee.jones@linaro.org, andrew@lunn.ch, thomas.petazzoni@free-electrons.com Cc: devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-gpio@vger.kernel.org, linux-pwm@vger.kernel.org, Chris Packham Subject: [PATCH v4 2/3] dt-bindings: gpio: gpio-mvebu: deprecate armadaxp-gpio Date: Thu, 26 May 2022 13:29:45 +1200 Message-Id: <20220526012946.3862776-3-chris.packham@alliedtelesis.co.nz> X-Mailer: git-send-email 2.36.1 In-Reply-To: <20220526012946.3862776-1-chris.packham@alliedtelesis.co.nz> References: <20220526012946.3862776-1-chris.packham@alliedtelesis.co.nz> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable X-SEG-SpamProfiler-Analysis: v=2.3 cv=U+Hs8tju c=1 sm=1 tr=0 a=KLBiSEs5mFS1a/PbTCJxuA==:117 a=oZkIemNP1mAA:10 a=hUIUswXySYZqKnqjVYYA:9 X-SEG-SpamProfiler-Score: 0 x-atlnz-ls: pat X-Spam-Status: No, score=-2.0 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,RDNS_NONE,SPF_HELO_NONE,T_SCC_BODY_TEXT_LINE autolearn=no autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Commit 5f79c651e81e ("arm: mvebu: use global interrupts for GPIOs on Armada XP") the marvell,armadaxp-gpio compatible obsolete. The driver code still exists to handle the armadaxp behaviour but all the in-tree boards use the marvell,armada-370-gpio. Document the marvell,armadaxp-gpio compatible as deprecated. Signed-off-by: Chris Packham --- Notes: This could potentially be squashed into the first commit but it seeme= d more proper to do a straight 1:1 conversion of the old binding then clean things up to match reality. =20 Changes in v4: - New .../devicetree/bindings/gpio/gpio-mvebu.yaml | 24 +++++++------------ 1 file changed, 8 insertions(+), 16 deletions(-) diff --git a/Documentation/devicetree/bindings/gpio/gpio-mvebu.yaml b/Doc= umentation/devicetree/bindings/gpio/gpio-mvebu.yaml index d1695e7bd825..459ec35864fe 100644 --- a/Documentation/devicetree/bindings/gpio/gpio-mvebu.yaml +++ b/Documentation/devicetree/bindings/gpio/gpio-mvebu.yaml @@ -21,17 +21,21 @@ properties: - enum: - marvell,mv78200-gpio - marvell,armada-370-gpio - - marvell,armadaxp-gpio - const: marvell,orion-gpio =20 + - description: Deprecated binding + items: + - const: marvell,armadaxp-gpio + - const: marvell,orion-gpio + deprecated: true + reg: description: | Address and length of the register set for the device. Not used fo= r marvell,armada-8k-gpio. =20 - For the "marvell,armadaxp-gpio" variant a second entry is expected= for - the per-cpu registers. For other variants second entry can be prov= ided, - for the PWM function using the GPIO Blink Counter on/off registers= . + A second entry can be provided, for the PWM function using the GPI= O Blink + Counter on/off registers. minItems: 1 maxItems: 2 =20 @@ -103,18 +107,6 @@ allOf: required: - reg =20 - - if: - properties: - compatible: - contains: - const: marvell,armadaxp-gpio - then: - properties: - reg: - minItems: 2 - reg-names: - minItems: 2 - unevaluatedProperties: true =20 examples: --=20 2.36.1