Received: by 2002:ac0:a5a6:0:0:0:0:0 with SMTP id m35-v6csp3504287imm; Sun, 16 Sep 2018 20:37:21 -0700 (PDT) X-Google-Smtp-Source: ANB0VdYNiE17CFPl6hIA2vZ+5sUP2ix04l1UBvdO4jjdcJeAUOStwKHUsUo95Ww+qp6mkU09HjN4 X-Received: by 2002:a62:c9:: with SMTP id 192-v6mr23514179pfa.99.1537155441870; Sun, 16 Sep 2018 20:37:21 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1537155441; cv=none; d=google.com; s=arc-20160816; b=diDh+fERIDUzAYQVZ+7huOWH4Y8hn59GyhMAxsD8QeLdDL3GNL85TGiUr3dZM8hMZg JZKdVAf9gqHBUajmQNoLCsJrEkeCiUzpG39cWjhkKJEWo/1fK6DC4I8jYIUayAdT/tz4 fuTuIgL6BMVS79xX4DhZ3MIfyESk9Ex0AHwjBT1s8TIhVOOIVTTcWmZz197DHAtFrLvS HY9xqfQH5tDWdgRV6g/IbF23CH4SfSasyfsRy5GMrU7PLmlK4u2Oe4wFarAkE0UidVIT IqYKY2ez3U3KlapHIkbsyAS41IGVhO+QLXJyJQceGzR1obc5fHIPs/GNT0m0sTE0sv7E ahwA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:spamdiagnosticmetadata :spamdiagnosticoutput:content-transfer-encoding:mime-version :references:in-reply-to:message-id:subject:cc:to:from:date :dkim-signature; bh=642HJ43O4ZA1PbQ2vuzT3zXfEcCkg7lYAdyJESpoLC8=; b=RWv2pYxmW4TCvZ+rOYBBjtk55E4RGw7gScfcakJFe5U7ElrtNWJW+VLxH0cFgIANLi YTp/76g4eXCAcBwD2vt06pKMStFb/rmm0HYZ9ziapcdOOPDVRXcEmU+grGFMbVdvxd/Y Uc/XfiEl1JAk/rqZGjOidD+qWL/ZGIj1jPI9nq7Uqm6nVcaiunFoy6gqgUHo7wu7YwvL AZsQW3h0UTczHL5YW0Nh8pSNNxhXXTGwOWyKn5H90YYERwkfZBwbaaQ/nzjfPOKGkttj GkJUV53Xmx5qYaIe0XAjauyHxbpLdxgM8HaaUI34KxoYg/+hUNpOKQzY1/o0uUtfopR7 JCpw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@Synaptics.onmicrosoft.com header.s=selector1-synaptics-com header.b=lAoKZhWm; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id 5-v6si14160861plx.27.2018.09.16.20.37.07; Sun, 16 Sep 2018 20:37:21 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@Synaptics.onmicrosoft.com header.s=selector1-synaptics-com header.b=lAoKZhWm; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729038AbeIQJCX (ORCPT + 99 others); Mon, 17 Sep 2018 05:02:23 -0400 Received: from mail-eopbgr710062.outbound.protection.outlook.com ([40.107.71.62]:35539 "EHLO NAM05-BY2-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1727130AbeIQJCW (ORCPT ); Mon, 17 Sep 2018 05:02:22 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=Synaptics.onmicrosoft.com; s=selector1-synaptics-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=642HJ43O4ZA1PbQ2vuzT3zXfEcCkg7lYAdyJESpoLC8=; b=lAoKZhWmUaxPO6XYYvCxIS73mZmUKxK7+iZfNQe/0vHWeh7IuhXpp4jj0x0AIg3kI+oIqPE66YdKh/obZJXTpBR36V8MQvmVXCIyGG3rcOEON/CcixUpjLnditoEcMi5y4Jy5fIrl1Xd/CbYNfrv0LzOwh/+XZofz+S1Zdf7Pdo= Authentication-Results: spf=none (sender IP is ) smtp.mailfrom=Jisheng.Zhang@synaptics.com; Received: from xhacker.debian (124.74.246.114) by CY1PR0301MB1578.namprd03.prod.outlook.com (2a01:111:e400:529c::16) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.1143.18; Mon, 17 Sep 2018 03:36:52 +0000 Date: Mon, 17 Sep 2018 11:33:25 +0800 From: Jisheng Zhang To: Jarkko Nikula , Andy Shevchenko , Mika Westerberg , Wolfram Sang , Mark Rutland , Rob Herring Cc: linux-arm-kernel , , , devicetree@vger.kernel.org Subject: Re: [PATCH v3 2/3] dt-bindings: i2c: designware: add optional pinctrl for bus recovery Message-ID: <20180917113325.13ed122f@xhacker.debian> In-Reply-To: <20180917112830.2a3c9be9@xhacker.debian> References: <20180917112633.252c591c@xhacker.debian> <20180917112830.2a3c9be9@xhacker.debian> X-Mailer: Claws Mail 3.17.1 (GTK+ 2.24.32; x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Originating-IP: [124.74.246.114] X-ClientProxiedBy: TYAPR01CA0134.jpnprd01.prod.outlook.com (2603:1096:404:2d::26) To CY1PR0301MB1578.namprd03.prod.outlook.com (2a01:111:e400:529c::16) X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: bc5a8224-972d-4f20-239f-08d61c4ed106 X-Microsoft-Antispam: BCL:0;PCL:0;RULEID:(7020095)(4652040)(8989137)(4534165)(4627221)(201703031133081)(201702281549075)(8990107)(5600074)(711020)(2017052603328)(7153060)(7193020);SRVR:CY1PR0301MB1578; X-Microsoft-Exchange-Diagnostics: 1;C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ItbPjExqdKg6iyJqvC7BTwJ67V3bqdJwt2J8wmkL3Q1zCfI8KPJbehH+9j5wItFgWqElwBOZTAl+nQFFSOtcSuunGYFC2ZYCKomuyQXdTV34qlefpsmEnbH9YpCP6It8BXyicuXySQKWshEnUCm7HKuszU8RX6uJbazD0ba3C7mRFm9vb+8ZCMxExk6RWVWWuj/Mb9puqJ4dA14egIXjVc3mQPwwfekRcoGXbsQcir6HsG6F64Tnr0XajwD5QhWGJL0IhEF5PDScfeIVn5xPPOnKoL96w4bKJP0lIrwhMBK0OgP+7w8nrF4MIy0OIylBIUjZXty11J+QWbUXitOUazuWTbPK3we7YVfWekI;4:QPvxPXHGfHxilovqgZwmVUnPcmRIA7wg8DlOdxV7wqwGI+TpaXw6B5egLrJD+6DifIKM21Moxdf2UMqUtrZx8g/LbazljojfS6L0GU645Ke5xMZVjAUqJ9C0ewsKU03XA6CicmQCi5/yXleFZE20E99M/l3oBhV9zWvabms/I6eMKKfshveUzsqps5ySKCHPGoU01Gqp5zF5pOq7cLtF/HKc90q/KnWXMhIfOT/p5t3zENBSg0TakfKagTltuM5tSHkELJTBSgjWQT8Bhw9iNQ== X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:; X-MS-Exchange-SenderADCheck: 1 X-Exchange-Antispam-Report-CFA-Test: BCL:0;PCL:0;RULEID:(6040522)(2401047)(5005006)(8121501046)(3231355)(944501410)(52105095)(93006095)(93001095)(3002001)(10201501046)(149027)(150027)(6041310)(20161123564045)(20161123558120)(20161123560045)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(20161123562045)(201708071742011)(7699050);SRVR:CY1PR0301MB1578;BCL:0;PCL:0;RULEID:;SRVR:CY1PR0301MB1578; X-Forefront-PRVS: 0798146F16 X-Forefront-Antispam-Report: SFV:NSPM;SFS:(10009020)(136003)(376002)(346002)(366004)(396003)(39850400004)(199004)(189003)(230700001)(7696005)(76176011)(33896004)(68736007)(52116002)(55016002)(7416002)(81166006)(54906003)(8936002)(50226002)(316002)(110136005)(81156014)(8676002)(6246003)(86362001)(7736002)(305945005)(25786009)(1076002)(6116002)(3846002)(23726003)(4326008)(956004)(446003)(476003)(47776003)(50466002)(6666003)(386003)(6506007)(186003)(26005)(5660300001)(2906002)(229853002)(66066001)(106356001)(11346002)(9686003)(105586002)(97736004)(478600001)(72206003)(486006)(53936002)(16526019)(39210200001);DIR:OUT;SFP:1101;SCL:1;SRVR:CY1PR0301MB1578;H:xhacker.debian;FPR:;SPF:None;LANG:en;PTR:InfoNoRecords;A:1;MX:1; Received-SPF: None (protection.outlook.com: synaptics.com does not designate permitted sender hosts) X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1;CY1PR0301MB1578;23:zKJ83HYqkTbrP7IORiBAtzeugpoY97q+nxQ1fe1?= =?us-ascii?Q?Xu9w4lzoUxjIdUmZl335lH3MOxFXoPwabAwEPOGTqP75MaFzzSkNaK1RfO87?= =?us-ascii?Q?aS38lb5pP37KTmPtgTgiTq2x+vNRw8EBMRmF0+lBr5N+hqRr5kYzvsUxc+1A?= =?us-ascii?Q?WNwPaTX269WZfCiEjQRMwaJ9wZH3ykoIMBl5HzmkqcrdLmH9bCNEDvkBwwVr?= =?us-ascii?Q?6MryfXBfaaLDRmKZJHrnztb10z8iA/w3BRc1zswYHXgZDcFSCQ1BOoSvOBYm?= =?us-ascii?Q?0hNNRevhZLg9Wh3Bw9YGNUYphA5sCKFhEG6PByeJHzI0sWsq/ThUa3CMytF5?= =?us-ascii?Q?Gp/Uh3yhTivHnjZ3W7HYVzPe8VXfj1anE3bI1Ff1/ku4YhHp+7e12LiIjVIN?= =?us-ascii?Q?3buOzmVFJUOMnELZTfLKXeXIrcOfDiphFFRPmIGqJXVgBO02Wtm4LR4Og/oq?= =?us-ascii?Q?kF6Vf4CfklsGII6guuru5uKSsUA3D3S26UTziyKO9Wi9njfVsToF7hna49+N?= =?us-ascii?Q?cW578SS9y96FaZIql2y69cn/A+Tu0MPLqEpoQzYngv3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W3oaHGncRrBxMomDxuh7eAQwUunYG2roThSKKWORz6dshTV8nn1H8CihFmk3XLAxHRt8g1fIi6PP24DD1qJ+WkzC/7bp SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-OriginatorOrg: synaptics.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 17 Sep 2018 03:36:52.5583 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: bc5a8224-972d-4f20-239f-08d61c4ed106 X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 335d1fbc-2124-4173-9863-17e7051a2a0e X-MS-Exchange-Transport-CrossTenantHeadersStamped: CY1PR0301MB1578 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org + DT maintainers On Mon, 17 Sep 2018 11:28:30 +0800 Jisheng Zhang wrote: > Document the pinctrl property for bus recovery. > > Signed-off-by: Jisheng Zhang > --- > Documentation/devicetree/bindings/i2c/i2c-designware.txt | 6 ++++++ > 1 file changed, 6 insertions(+) > > diff --git a/Documentation/devicetree/bindings/i2c/i2c-designware.txt b/Documentation/devicetree/bindings/i2c/i2c-designware.txt > index 1d6a6a8061ba..c1544d1f7b55 100644 > --- a/Documentation/devicetree/bindings/i2c/i2c-designware.txt > +++ b/Documentation/devicetree/bindings/i2c/i2c-designware.txt > @@ -24,6 +24,9 @@ Optional properties : > > - sda-gpios: specify the gpio of the SDA line for gpio recovery > > + - pinctrl: add extra pinctrl to configure i2c pins to gpio function for i2c > + bus recovery, call it "gpio" state > + > Examples : > > i2c@f0000 { > @@ -46,6 +49,9 @@ Examples : > i2c-sda-hold-time-ns = <300>; > i2c-sda-falling-time-ns = <300>; > i2c-scl-falling-time-ns = <300>; > + pinctrl-names = "default", "gpio"; > + pinctrl-0 = <&pinctrl_i2c1>; > + pinctrl-1 = <&pinctrl_i2c1_gpio>; > scl-gpios = <&gpio1 15 GPIO_ACTIVE_HIGH>; > sda-gpios = <&gpio1 16 GPIO_ACTIVE_HIGH>; > };