Received: by 2002:ac0:a5a6:0:0:0:0:0 with SMTP id m35-v6csp3500660imm; Sun, 16 Sep 2018 20:31:34 -0700 (PDT) X-Google-Smtp-Source: ANB0VdYteu90OHNl0YJWbs79nk6gnO4+FTFv18NplGjjoefo0LD1u6OHiB6u2Rw8NtDULetzrXTd X-Received: by 2002:a63:fc55:: with SMTP id r21-v6mr20031028pgk.377.1537155094507; Sun, 16 Sep 2018 20:31:34 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1537155094; cv=none; d=google.com; s=arc-20160816; b=wRBbIyW2/6TLEA1qspmKfap3P4V0X5G2edhcSMdTARR5pC/muBh0gYMfWaErMxN2C6 dc5xIF5GctxZj/SJEEAkpoDzQ5cZnidJTgGyHLVmLM4sV3T+mITO1TcUv+Sna92k/YcB yhVlWUD0e4PEb/rTo7gHhbqjnRAdzDiyeZNlfAA3hGvbD+FnvSNkcWzqr+7HV7TX5TsE diDw85OfATpIuNj6ebQi9R5f27w/Qjv54iESbqftNACYXAi1TwyyxQ3P8Qt2/I5YOY57 GFEpSUGKa9LoalBUocTUtOOtG0mpk9qvVEiarH5WBWphI+teLA6ZIE8RLQyF9JWvpXAZ g3og== 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=4cmwYGxLe8gg4jOzWNSNzOrWo3eIpy4vFF+AovXAqzg=; b=llgqNE05hvj0KBO2SK5Zz6G9BNtMiqz2vyA5agOmy5Ru3snavXS12+/nyGJFPlFaS2 Nls7WBOnA9bIPWfeqGaGMCtFFw05a7H5kpmjuWcK4d/yl83X5ykwX7cuTFwK6rmc6VlO OKGZkKw1femZK17e1wRdz5MhUPz2mtoTsC+5783JHm7XYSzj5reGFxHc3eGtFwq+d6/1 j/Fq7OxW6fbHcQL+8R0bdz+ggI3qT2mQTYEf/51tiHGVmcqE14FfBlwfx67V+7QdafFY qZ5KpIMisVnZBrkEGNKJubE1wiYCNUcVnk8enqPQmc6gb8aSXlUIYgPYakDEYALqvhci 6XVQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@Synaptics.onmicrosoft.com header.s=selector1-synaptics-com header.b=pRgfh248; 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 m124-v6si15504405pfm.303.2018.09.16.20.31.19; Sun, 16 Sep 2018 20:31:34 -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=pRgfh248; 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 S1729610AbeIQI4g (ORCPT + 99 others); Mon, 17 Sep 2018 04:56:36 -0400 Received: from mail-sn1nam02on0079.outbound.protection.outlook.com ([104.47.36.79]:26118 "EHLO NAM02-SN1-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1729322AbeIQI4f (ORCPT ); Mon, 17 Sep 2018 04:56:35 -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=4cmwYGxLe8gg4jOzWNSNzOrWo3eIpy4vFF+AovXAqzg=; b=pRgfh248Y1WXP81Drsixp2Ry+32krFJuu0KCqUn2q27fDiOuInnaS3aV92TKTZx7JAT8LEiIgHPfJEcqFZsY77aGuvSZcfuBa/C+IDhq8fcnPzMEjvjMASa3AJEA13fv3PariRAqTvmZ/cjS2dEJvLYs1nxXlgqAyzM+MsS6cUU= Authentication-Results: spf=none (sender IP is ) smtp.mailfrom=Jisheng.Zhang@synaptics.com; Received: from xhacker.debian (124.74.246.114) by SN1PR0301MB1583.namprd03.prod.outlook.com (2a01:111:e400:5232::17) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.1143.17; Mon, 17 Sep 2018 03:31:08 +0000 Date: Mon, 17 Sep 2018 11:27:41 +0800 From: Jisheng Zhang To: Jarkko Nikula , Andy Shevchenko , Mika Westerberg , Wolfram Sang Cc: linux-arm-kernel , , Subject: [PATCH v3 1/3] dt-bindings: i2c: designware: add optional gpio recovery properties Message-ID: <20180917112741.7c3d6514@xhacker.debian> In-Reply-To: <20180917112633.252c591c@xhacker.debian> References: <20180917112633.252c591c@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: KAWPR01CA0081.jpnprd01.prod.outlook.com (2603:1096:402:c::17) To SN1PR0301MB1583.namprd03.prod.outlook.com (2a01:111:e400:5232::17) X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: e2c88991-7ec0-429b-08c2-08d61c4e032e X-Microsoft-Antispam: BCL:0;PCL:0;RULEID:(7020095)(4652040)(8989137)(4534165)(4627221)(201703031133081)(201702281549075)(8990107)(5600074)(711020)(2017052603328)(7153060)(7193020);SRVR:SN1PR0301MB1583; X-Microsoft-Exchange-Diagnostics: 1;SN1PR0301MB1583;3:mPDPau0y29rZUlJt+N8ZhA8EenMHAQsiUSspVCLLxrfNMgHLf/RG/r5xyDVDY+xm5qe/DJCn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BGJYkY6A4+5tIRs5LOhrh+QV0k84gr/EHLphABSc3cPf0ZzV972t4ey3X6AsV0Ta0UAwg3OB5N6vKNR17J2Yrg6KUEjIS1SluhHilICddJcIyTppue/jDMdl/Gw9tLm3jhv1kd6RG/HW2bO81I1HLzwIM56sZF4bE4BKtdajNQ0ZMi9D0BJ6Su2of2YF+hI7Eu4UnqgxUxCvOYpDWiO+Psy8/rgrBg3fHV3Mg9XOcCt44DeS/4Tlca47tnAdLpcHj/fsEfMuEgpQhoBJP2tf;4:hHBiEgA+g1aPzbrJ3OM8089llxDcZkYVSck/HCuuTgOA+VbfvHF5yUbIeKRhy7FGHQGLOoXzNMkx48DSMKlNHsQdWazANQO88DrxATZq2jBgN3fGPSiXZiU3TJjdraHBcRUv89nO8kte4bL5YPAFwk1tKuMbsi5FhIcyl0Ly0fDmeFf6dkjjOxszZK5KwmgaJpqBwW3m7VOz78O0S/PH17BgOJz4Vgnh6rrc7xAYtZCwV+FrPFRs2iePviSWcFK/HAl8UAQgmsQ1im1RKB3qog== 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)(10201501046)(3002001)(149027)(150027)(6041310)(20161123562045)(20161123558120)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(20161123564045)(20161123560045)(201708071742011)(7699050);SRVR:SN1PR0301MB1583;BCL:0;PCL:0;RULEID:;SRVR:SN1PR0301MB1583; X-Forefront-PRVS: 0798146F16 X-Forefront-Antispam-Report: SFV:NSPM;SFS:(10009020)(366004)(396003)(39850400004)(376002)(346002)(136003)(199004)(189003)(3846002)(53936002)(6116002)(446003)(11346002)(478600001)(8676002)(68736007)(50226002)(81156014)(23726003)(8936002)(33896004)(2906002)(50466002)(97736004)(72206003)(81166006)(26005)(16526019)(4326008)(25786009)(52116002)(7696005)(76176011)(186003)(6666003)(86362001)(7736002)(47776003)(386003)(6506007)(5660300001)(956004)(66066001)(106356001)(9686003)(55016002)(230700001)(305945005)(476003)(575784001)(110136005)(54906003)(105586002)(1076002)(486006)(316002)(39210200001);DIR:OUT;SFP:1101;SCL:1;SRVR:SN1PR0301MB1583;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;SN1PR0301MB1583;23:/Vz2RVQAmiwXjY2T5SWk0AbgXlURS7UzxQkleg8?= =?us-ascii?Q?CnWKPTHfL5+JEpTso8nmjKhitGvEMd4rteo85k5jgLkPChs/SFsBkCEre1wU?= =?us-ascii?Q?BT0v3QJmOhaogeuK4N7FtUWLuKwMQHCbx0KBzK9mnMX5pH1j1vJsHS6KA5bt?= =?us-ascii?Q?rivA6Z9oSVKNloS/jKRD7NCx6+LV0fL+5nXpxG9wcYfTEMNy5w70ci7GAHbR?= =?us-ascii?Q?h6CFCYLkfp0Of4hGBhkIeAV+gaiOIwG4SrV86jxl+zt2aMY+2ojzrWYQozah?= =?us-ascii?Q?Ov0rS0H0d5CyvEUpm4lts9bfmbK82nn4s22cdV400r/clNGGzgqHHK5nf4bK?= =?us-ascii?Q?j5y+F03GcrPlwc2ACr72xY/5d3xifE6gUTHKFDMcYWkgGXbuDcLTiL6N4N1z?= =?us-ascii?Q?5FkpeBiBibZQyBNeBrTknjjAD3tVjnQTz23Nn4huZgCAdMy/lUeD6DmRsIJU?= =?us-ascii?Q?7x3CHBDSsIFGzy+r6doqiSeioP5zXsxNZOa81lMrh+YPSiI16zPsZRjiWUih?= =?us-ascii?Q?GhR0rmQp6LolZYAsDr6pHzH/vJ4R7zpjpgz09G6TNPBNN3MvLRT5d4q3tLVU?= =?us-ascii?Q?y2nAvmWgaIvlqYjWU1f1xJb7Oz/kn7CoEFti3Weq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put: 1:99 SpamDiagnosticMetadata: NSPM X-OriginatorOrg: synaptics.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 17 Sep 2018 03:31:08.7634 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: e2c88991-7ec0-429b-08c2-08d61c4e032e X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 335d1fbc-2124-4173-9863-17e7051a2a0e X-MS-Exchange-Transport-CrossTenantHeadersStamped: SN1PR0301MB1583 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Document the scl-gpios and sda-gpios properties 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 fbb0a6d8b964..1d6a6a8061ba 100644 --- a/Documentation/devicetree/bindings/i2c/i2c-designware.txt +++ b/Documentation/devicetree/bindings/i2c/i2c-designware.txt @@ -20,6 +20,10 @@ Optional properties : - i2c-sda-falling-time-ns : should contain the SDA falling time in nanoseconds. This value which is by default 300ns is used to compute the tHIGH period. + - scl-gpios: specify the gpio of the SCL line for gpio recovery + + - sda-gpios: specify the gpio of the SDA line for gpio recovery + Examples : i2c@f0000 { @@ -42,6 +46,8 @@ Examples : i2c-sda-hold-time-ns = <300>; i2c-sda-falling-time-ns = <300>; i2c-scl-falling-time-ns = <300>; + scl-gpios = <&gpio1 15 GPIO_ACTIVE_HIGH>; + sda-gpios = <&gpio1 16 GPIO_ACTIVE_HIGH>; }; i2c@1120000 { -- 2.19.0