From patchwork Sun Mar 12 14:55:45 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Andi Shyti X-Patchwork-Id: 68362 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:5915:0:0:0:0:0 with SMTP id v21csp758842wrd; Sun, 12 Mar 2023 08:16:48 -0700 (PDT) X-Google-Smtp-Source: AK7set9WAvALMHyATfUbkJ1rUwaxAGvvoAn++habGjlQrXwMcdK3ir7+T1+/nnUk6hs9U4NmOXEG X-Received: by 2002:a17:902:d2cd:b0:198:f8c9:7f4b with SMTP id n13-20020a170902d2cd00b00198f8c97f4bmr8722971plc.2.1678634208152; Sun, 12 Mar 2023 08:16:48 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1678634208; cv=none; d=google.com; s=arc-20160816; b=VJ/x2JZW32+Gd2g5w7CtYWMEWR/iMbuu5kxoQ7ApOqFvMPG+YmmMEfxuYrSOAqVfdY FCCbSVMiLc0YWihoCDwun4pBKr2K1s4cCiti3LnzqzNu895E6Q3BqR6KDD/ins3rjjJW iEn1eReM2fKfXv6dxAy2M98Hr5KgHd2PWQ1d0ceD0x/l3zEjzx3k+2gH20AUEK1b6w4c SBaypmifPNzCejMD9YCz/3DYP1SVgqOoUNufeFsN1Z1cxFK7uHLEjm2ytWd8Auj9v9M5 85WWrivDzVueKOrnpi28U3hxPo2KlBCcwFOlSAtYf8PfC8JQ5rA4RSHorLFCVNjZc2Un e7Yg== 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=gZX/r07zqm6x8cVaeyJ06MnlM5jhS1OGF2q8AaUXyO0=; b=MEdTFtJMQeRL5vx2HWoeQ6yG+i7sGk4XjL0L1eSNTnXNhuxWODaSJRaEx9+D7WX/2o Q4/879gdtFPU4pylv0rfJIoBcA9nBlfkiKYKos7mGoQfuXRrOnOOdsb9GsEipmSBoUmZ YqRcW9wv3OFI11h1m/AhZjQCSRWCLgc/Kfw/1eLHhhb3B3zUtGO6PUz4vK4NJLC9Ig5w +3pvCpeC1cCkUwjO3fj9jWabs3u206l7gcUDMF+zJgS1llGiFRRHwDDDwyQ1S2IGRVzk BAfsJc2/Uy4jYXt1r60Won90b1UyREx+bXpRwuOnFWMcvJbZGn2pxtEEpV1PfFY24arj a2Gg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=LnoitOiw; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id a6-20020a631a46000000b004fc29da6e55si4303087pgm.674.2023.03.12.08.16.29; Sun, 12 Mar 2023 08:16:48 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=LnoitOiw; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-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 S229909AbjCLO4b (ORCPT + 99 others); Sun, 12 Mar 2023 10:56:31 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:60666 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229824AbjCLO4Y (ORCPT ); Sun, 12 Mar 2023 10:56:24 -0400 Received: from sin.source.kernel.org (sin.source.kernel.org [145.40.73.55]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 22BA94D2A0; Sun, 12 Mar 2023 07:56:23 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sin.source.kernel.org (Postfix) with ESMTPS id 1E3FECE0B49; Sun, 12 Mar 2023 14:56:20 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 397E8C433EF; Sun, 12 Mar 2023 14:56:18 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1678632978; bh=Y/oVmiKiguf3cH10Ap6pc0Y9scvYwzwdpgy/O2vWpoM=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=LnoitOiwa4CdiDJ7UKVW2iX3U2fqvvyU4cNdn0FJbUj0C0ohTu/TwxnwZbbiv3bTZ cLE5gziNTQUGFYeaiem7sqkbCN7WfxKvjGZSzr/JFwhONSEMdrqQFnzVk3myB9CDMZ n6KhBS7mGzxBEbpchwlZIJ/tYGhnK89dpqjGN7a2wZqf2S1ATitPgHdFgqcecqz8XB DSXMgDrCIqjLNKiiolTNueynODoqYEyXlSsuwRYpcaZMeGZ1wLlIaxq7yz0r5lm6fb 0ohexcmnsHEACH/4b6UCN5OmAV2M6kEo0RPijzHtVHObPHFLLPtNY4s0gqRWlFRXfN oOZ+nmuvSq6Kw== From: Andi Shyti To: linux-i2c@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Cc: Wolfram Sang , Rob Herring , Krzysztof Kozlowski , Chris Packham , Ryan Chen , Andi Shyti Subject: [PATCH v2 1/2] dt-bindings: i2c: mpc: Mark "fsl,timeout" as deprecated Date: Sun, 12 Mar 2023 15:55:45 +0100 Message-Id: <20230312145546.262492-2-andi.shyti@kernel.org> X-Mailer: git-send-email 2.39.2 In-Reply-To: <20230312145546.262492-1-andi.shyti@kernel.org> References: <20230312145546.262492-1-andi.shyti@kernel.org> MIME-Version: 1.0 X-Spam-Status: No, score=-7.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_HI, SPF_HELO_NONE,SPF_PASS autolearn=ham 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 X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1760175543299758994?= X-GMAIL-MSGID: =?utf-8?q?1760175543299758994?= Now we have the i2c-scl-clk-low-timeout-ms property defined in the i2c schema. Mark "fsl,timeout" as deprecated and update the example. Signed-off-by: Andi Shyti --- Documentation/devicetree/bindings/i2c/i2c-mpc.yaml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Documentation/devicetree/bindings/i2c/i2c-mpc.yaml b/Documentation/devicetree/bindings/i2c/i2c-mpc.yaml index 018e1b944424..bd2dd82471c1 100644 --- a/Documentation/devicetree/bindings/i2c/i2c-mpc.yaml +++ b/Documentation/devicetree/bindings/i2c/i2c-mpc.yaml @@ -43,6 +43,7 @@ properties: fsl,timeout: $ref: /schemas/types.yaml#/definitions/uint32 + deprecated: true description: | I2C bus timeout in microseconds @@ -95,6 +96,6 @@ examples: interrupts = <43 2>; interrupt-parent = <&mpic>; clock-frequency = <400000>; - fsl,timeout = <10000>; + i2c-scl-clk-low-timeout-ms = <10000>; }; ...