From patchwork Sun Mar 12 14:55:44 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Andi Shyti X-Patchwork-Id: 6484 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:5915:0:0:0:0:0 with SMTP id v21csp749823wrd; Sun, 12 Mar 2023 07:57:59 -0700 (PDT) X-Google-Smtp-Source: AK7set8CfQ9OfROiMcgt916gwulSreZ2M1e7ZqqpFnH2k6fTFyf+SC7yVEiXlfYpz7EABaGRYr1J X-Received: by 2002:a17:90a:191c:b0:237:50b6:7835 with SMTP id 28-20020a17090a191c00b0023750b67835mr32596698pjg.20.1678633078993; Sun, 12 Mar 2023 07:57:58 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1678633078; cv=none; d=google.com; s=arc-20160816; b=INNagqLjR83XROdKZFBz6Vvs7ILWV9Mj8HVVOQIj0Vb/UVLd/HX6OzHAo0xiTiUal8 wSU9jxv5D35xLMhH0ystZHTidyOZf6FT8ym4Mt8fZZhqwkiV+OHK8G0MhDRF7SSX6n2b G1BzAstJg5hTn4KfIqjnCuLkMK+8JlrE0iCQC18DeviZAdIYq+Dz4q59rUR7VHqIfRB3 cu71B3LHvvrmcZUSk6aSdHf1Yez3uTk4KawrtEzoDTkxVe3n760miz62WHQU6XDl0RhR tJaYwyqlHf4Sh1PQyliwJdRadaqTbmtc+KhcZdZQWJqBNzcCpH/AEBS9ipwQ2nixyLQj MPPQ== 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 :message-id:date:subject:cc:to:from:dkim-signature; bh=4exx7QDKmEmBSqdCSfeKSeZFGG3ZgCuDJjxXT6vWdRw=; b=waM57LMVpnY2acNxaJqSHFSmobAgXSqokkzn/v+5wuVSmfVm4ig/zr6eGeBkmjfezw j+gTmyTN5EYOEj0+cTmg0AmjbYwN9UZ1jpfhKcEqD0vQqtoKPOsPN0AZokVRwXrHYToa aLWHxh00/j2h/VS3K64h3uaB3jTk9gSF/OwoNttgrZDQCYZmU8EjHFBGx42xj2/mo2Ox xQl+rZP83yVxmYCOkTxwMHU4lP4aQt9x7+jvvV2A7eRn/TkuhfDAaClEClWLqcFW0M0w +zxw0MROe7KLlxwzzRK0Z7J7BfQENF0ZQcQWQOZ2uMN++QrvlAJklDH4jrkmVfZ1RmGq EKiw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=TkhbKouQ; 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 d13-20020a170903230d00b0019acba4e8ebsi4813765plh.124.2023.03.12.07.57.44; Sun, 12 Mar 2023 07:57:58 -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=TkhbKouQ; 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 S229771AbjCLO4V (ORCPT + 99 others); Sun, 12 Mar 2023 10:56:21 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:60540 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229552AbjCLO4T (ORCPT ); Sun, 12 Mar 2023 10:56:19 -0400 Received: from sin.source.kernel.org (sin.source.kernel.org [IPv6:2604:1380:40e1:4800::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id EF08F367E2; Sun, 12 Mar 2023 07:56:18 -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 4B6A0CE018B; Sun, 12 Mar 2023 14:56:17 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 344B0C433D2; Sun, 12 Mar 2023 14:56:15 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1678632975; bh=O9VyONJV8bXTAXAxdO735juF7mWGhqxueQgOPD3Zlm4=; h=From:To:Cc:Subject:Date:From; b=TkhbKouQoYVY70rnKG1cvJ7droHy3VCb7v7YFdXd9jNqnliBVvH5cUWNv8yd9oJ2c jDPIq1tLBWM0B3pzVqJL+rMgtxWjVipSbCRqojuOC6Vn2DqHJgkR51oFYQZU22leFl KMUgn9yhIYHmDUOAqJc+RzV0/iU011B7fDqHuAKP2zNCMvD4ZYb8VfvWXulJIA4Jxr Q8I3qcZ2qrlgPp3/SsY6aen6vbGU65eyeQDCr66sgOu43+sjHb3RSV0Gp6yHZ5HfOh R3+mROzUfqKHGE3Z+bsyFAHvCmucaU/v+uhhfiQ71Fe+NKBdHGa6EkaSV7S1pdeWCy 8WUPijadr5unw== 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 0/2] Add the clock stretching i2c property Date: Sun, 12 Mar 2023 15:55:44 +0100 Message-Id: <20230312145546.262492-1-andi.shyti@kernel.org> X-Mailer: git-send-email 2.39.2 MIME-Version: 1.0 X-Spam-Status: No, score=-4.4 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED, 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?1760169968118261274?= X-GMAIL-MSGID: =?utf-8?q?1760174359359359602?= Hello, fter a discussion between Krzysztof and Ryan[1], it has become apparent that the i2c binding is lacking the definition of a property that needs to be added at a more generic level. This property is also used by the mpc i2c controller, which has been updated in the second patch. The DTS schema change has been sent as github pull reqest[2]. Thanks Krzysztof for the review. Thank you, Andi [1] https://lore.kernel.org/all/c41ee6b5-ddb4-1253-de54-a295b3bab2cc@linaro.org/ [2] https://github.com/devicetree-org/dt-schema/pull/102 Changelog ========= v1 -> v2: - Removed the binding patch and send through a different channel - To ensure back compatibility, which was broken in v1, the legacy "fsl,timeout" has not been removed and marked as deprecated. In the driver the that property is checked anyway as a fallback in case the main i2c-scl-clk-low-timeout-ms is missing. Andi Shyti (2): dt-bindings: i2c: mpc: Mark "fsl,timeout" as deprecated i2c: mpc: Use i2c-scl-clk-low-timeout-ms i2c property Documentation/devicetree/bindings/i2c/i2c-mpc.yaml | 3 ++- drivers/i2c/busses/i2c-mpc.c | 11 ++++++++++- 2 files changed, 12 insertions(+), 2 deletions(-)