From patchwork Fri Jul 17 16:04:07 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Rob Herring X-Patchwork-Id: 235729 Delivered-To: patch@linaro.org Received: by 2002:a92:d244:0:0:0:0:0 with SMTP id v4csp1836064ilg; Fri, 17 Jul 2020 09:04:13 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyT2ysf+zdC8JaEcex91BHu3f7JVFeQZ6UIClQ7HOU+FnlNxAAqlUO9IdON7M+QqdxXeZXk X-Received: by 2002:a17:906:a892:: with SMTP id ha18mr9426836ejb.462.1595001853463; Fri, 17 Jul 2020 09:04:13 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1595001853; cv=none; d=google.com; s=arc-20160816; b=lu+1Wy4INK6zj+Pgb0hWtnxjZBOXrlm8f5tYlLdGPJya1KmC5qD04eYQILCYLKLUJa LIUzMVVTRlUJ2KTKmGmvabgdN5x6QcldOdxnAgw/Fkg7i0peXVXXsFxba5EegimN7v5Z +sy3PxgC3Ni5m6C9kwyx3fMiBVA6DyLOdjLkj+JghUoGAEzJIQShtjfs/gU+RQHMGyI/ 3y0CO3RBrPicnlmaXwh8XZEPpobKDw5xkc6HHDcJwVEChVlTaMLg2yh4kqy1MOfAVV8Q I5u72kGbOIk26Rod/4W2aWEz1rzC5lePZvGxnuLI426WyGc7X3PbWL13W5/iMubCjdkv flHQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from; bh=ZZMONCL19UYadzPu6uG68r61s8RwI/fmFOE3TtThbcg=; b=GzZ2WSwTRezxcB+2J6k8uER8WQt6NgEG3nfI3rZOHQOsBey85ibQ2GulZNzCoTsD9e 0RE1724fHS/6B5eeA+9r2cG2uXCKPLdSOVloXJUI6X0ccPLvcmuFLJsvC7chA7kvLBvC n9f+8e/t9xyQMynwfRTYnfgDB+ANpBbIdWgQc4uphRAJmVevpCb74HokAy9be5DLI/1y v3iG1WWer6a73J+j+1GzzR4W/jAeUWZP+yqpk384J6lMBKUxh+DsQ2B6RZ7QZJI65JTR Ed/1nWhkCIKaXKyE/JT2RN6P54ax10Sq3daLI/ZN2QZEFnwEYCP0F+8UPvpeKg95+UcQ 6Kog== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of devicetree-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=devicetree-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 v13si3322654ejb.285.2020.07.17.09.04.13; Fri, 17 Jul 2020 09:04:13 -0700 (PDT) Received-SPF: pass (google.com: domain of devicetree-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 devicetree-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=devicetree-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 S1726344AbgGQQEM (ORCPT + 6 others); Fri, 17 Jul 2020 12:04:12 -0400 Received: from mail-io1-f68.google.com ([209.85.166.68]:35571 "EHLO mail-io1-f68.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726233AbgGQQEM (ORCPT ); Fri, 17 Jul 2020 12:04:12 -0400 Received: by mail-io1-f68.google.com with SMTP id v8so10966652iox.2; Fri, 17 Jul 2020 09:04:11 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=ZZMONCL19UYadzPu6uG68r61s8RwI/fmFOE3TtThbcg=; b=pEu+gzPAAzWrKN2BSJTuIUXO1McQqvZl6VZETKQsNqA/91Rl9p5yA21p/xff9OILzE 1OjnaX9NmTzJvXUCA0/Uxr2rE9celR+6tWh/UDOU7UJFcnig9yynNwBwVgYlJV7WpJ7N I2LVlP5TikP0aJ3JWREU0jPxO4vDACVQr/VRcFLkMyzcMsf2jVoEZDui6tHg79Ke4oaU bf+6oNA7qVsoN3H5/Vfn5zwnoxOiS28BNS1xCK3LqqZc1/KvG0Q/1AP8KUu6kmk1EwLu EoGtzv9fg5phfq+ogCD3UkewC8uz4lKWi4xUgol5EJYvnb3f7T6uD5VP3fnBhK3PGoFk vSnQ== X-Gm-Message-State: AOAM533Y+GIx0ZQVx0UnxkRBL9N+g2JHMvWq+7Gk5B6vr7YLxv5WUCUI mdbfBNvIsFOVlSYPe2InSg8fEDcE8g== X-Received: by 2002:a05:6638:69d:: with SMTP id i29mr11734802jab.47.1595001850880; Fri, 17 Jul 2020 09:04:10 -0700 (PDT) Received: from xps15.herring.priv ([64.188.179.252]) by smtp.googlemail.com with ESMTPSA id e21sm4623586ioe.11.2020.07.17.09.04.09 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 17 Jul 2020 09:04:10 -0700 (PDT) From: Rob Herring To: devicetree@vger.kernel.org Cc: Wolfram Sang , linux-i2c@vger.kernel.org Subject: [PATCH] dt-bindings: i2c-gpio: Use 'deprecated' keyword on deprecated properties Date: Fri, 17 Jul 2020 10:04:07 -0600 Message-Id: <20200717160407.378140-1-robh@kernel.org> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 Sender: devicetree-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org The i2c-gpio binding is the only case of 'not: true' being used for a deprecated property. Update it to use the json-schema 2019.09 'deprecated' keyword instead. Define the type too in order to keep the meta-schema happy. This will disable warnings for these properties until the dtschema tools are updated to handle 'deprecated', but they are only used in a few at91 dts files. Cc: Wolfram Sang Cc: linux-i2c@vger.kernel.org Signed-off-by: Rob Herring --- Documentation/devicetree/bindings/i2c/i2c-gpio.yaml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) -- 2.25.1 diff --git a/Documentation/devicetree/bindings/i2c/i2c-gpio.yaml b/Documentation/devicetree/bindings/i2c/i2c-gpio.yaml index da6129090a8e..78ffcab2428c 100644 --- a/Documentation/devicetree/bindings/i2c/i2c-gpio.yaml +++ b/Documentation/devicetree/bindings/i2c/i2c-gpio.yaml @@ -52,15 +52,15 @@ properties: description: sda and scl gpio, alternative for {sda,scl}-gpios i2c-gpio,sda-open-drain: - # Generate a warning if present - not: true + type: boolean + deprecated: true description: this means that something outside of our control has put the GPIO line used for SDA into open drain mode, and that something is not the GPIO chip. It is essentially an inconsistency flag. i2c-gpio,scl-open-drain: - # Generate a warning if present - not: true + type: boolean + deprecated: true description: this means that something outside of our control has put the GPIO line used for SCL into open drain mode, and that something is not the GPIO chip. It is essentially an inconsistency flag.