From patchwork Wed Dec 4 17:51:11 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Dan Murphy X-Patchwork-Id: 180813 Delivered-To: patch@linaro.org Received: by 2002:a92:3001:0:0:0:0:0 with SMTP id x1csp920505ile; Wed, 4 Dec 2019 09:53:25 -0800 (PST) X-Google-Smtp-Source: APXvYqyiPcOvAiEP8eGq/Zz3LnIlozU6nad5Fz0rsX4YD9LolZnsfeI/RgrOcMhYToN8kfz1tjZc X-Received: by 2002:a9d:6652:: with SMTP id q18mr3525984otm.321.1575482005031; Wed, 04 Dec 2019 09:53:25 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1575482005; cv=none; d=google.com; s=arc-20160816; b=LtMHEO3n68+jIpZ9PgAHxsNDOuiwSgreEpqh4q2KoT/IV+aBsCsih7M14O7EgB/I6t i9kCUe7og3cv49phnXYlQquR8ASXEQITaKPMleeOun9/pSMthhRDgI7Zzh/eL4OqmY7v r0C8vnFwf/lSHP8A3T/i1f+YlAau60UKwW4MBdbl2sXBZBg675nb25lD3LAGej1PFLfi yKDOmyTqw0ixeme3UPWYBE46duiAF//uG1HMxvOOLSQVsgwt5+nvh42iTJ0JdPWcIjqd kdr4wNCBKU84rasbnE22bRWd/eoPAl8Js65iwnR4PgIlUwT5Fon1XbentaG1KSh0b618 m9VQ== 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:dkim-signature; bh=iL2XbLmD+TrHNi/uMsELiJCOuYQfFmOUVnCynnFZPdc=; b=SvnuONZNE0/ycHdGCvqS+ilZ1GSkYnLu+/nXSs6uG3069zc0XD3Q8ESbd0SmlytZEe rIRdBsGszGl1vVbj61iitDAGbvTxrdBimpN9uMoZJTBvZ2+iBB5cLv6jr4NqNtUcA5aX le/9PTY2MPa6zFCK01fweiQ4XzQ+dDSIkYcggKB+e8pkK7YpuKEop4bxUXYy8SYfHjT6 8wVl/n5OML9TrwGfTw5+LegHS4PBm30p1tW8BM0yrq0fhGtg0O+bH2OGGdXAWs2H2yJ9 We4Hbre+p9Ak01vAr+iDiq6v21AgGhjlYm1XLNwuJ1o7rpg5f+jsM1MODJeMw7HBrNTr hfxQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=C2b+auW9; 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; dmarc=pass (p=QUARANTINE sp=NONE dis=NONE) header.from=ti.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id n8si3627380otr.102.2019.12.04.09.53.22; Wed, 04 Dec 2019 09:53:25 -0800 (PST) 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=@ti.com header.s=ti-com-17Q1 header.b=C2b+auW9; 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; dmarc=pass (p=QUARANTINE sp=NONE dis=NONE) header.from=ti.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728080AbfLDRxV (ORCPT + 27 others); Wed, 4 Dec 2019 12:53:21 -0500 Received: from lelv0143.ext.ti.com ([198.47.23.248]:53190 "EHLO lelv0143.ext.ti.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726934AbfLDRxV (ORCPT ); Wed, 4 Dec 2019 12:53:21 -0500 Received: from lelv0266.itg.ti.com ([10.180.67.225]) by lelv0143.ext.ti.com (8.15.2/8.15.2) with ESMTP id xB4HrFnI109065; Wed, 4 Dec 2019 11:53:15 -0600 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1575481995; bh=iL2XbLmD+TrHNi/uMsELiJCOuYQfFmOUVnCynnFZPdc=; h=From:To:CC:Subject:Date; b=C2b+auW9hcSaC/m3uLidmaCMnA7SYbKMHz9xjCuYyd+VJauLtN1SQUIfHtEotKs5f P3CPluvvS+cg6l+mop5hs8VIxwoB4H7dsiutq7LWDfuRZ5lBqhcSKOu/ZRRbyqBTDI 5cEsEVwxSllLgn9nu7/Ve6zwtjFOlgOUP9/AWcSM= Received: from DFLE109.ent.ti.com (dfle109.ent.ti.com [10.64.6.30]) by lelv0266.itg.ti.com (8.15.2/8.15.2) with ESMTPS id xB4HrFI7040834 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Wed, 4 Dec 2019 11:53:15 -0600 Received: from DFLE100.ent.ti.com (10.64.6.21) by DFLE109.ent.ti.com (10.64.6.30) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1847.3; Wed, 4 Dec 2019 11:53:15 -0600 Received: from fllv0040.itg.ti.com (10.64.41.20) by DFLE100.ent.ti.com (10.64.6.21) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1847.3 via Frontend Transport; Wed, 4 Dec 2019 11:53:15 -0600 Received: from localhost (ileax41-snat.itg.ti.com [10.172.224.153]) by fllv0040.itg.ti.com (8.15.2/8.15.2) with ESMTP id xB4HrF6Y012761; Wed, 4 Dec 2019 11:53:15 -0600 From: Dan Murphy To: CC: , , , Dan Murphy , Rob Herring Subject: [PATCH 1/2] dt-bindings: tcan4x5x: Make wake-gpio an optional gpio Date: Wed, 4 Dec 2019 11:51:11 -0600 Message-ID: <20191204175112.7308-1-dmurphy@ti.com> X-Mailer: git-send-email 2.23.0 MIME-Version: 1.0 X-EXCLAIMER-MD-CONFIG: e1e8a2fd-e40a-4ac6-ac9b-f7e9cc9ee180 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org The wake-up of the device can be configured as an optional feature of the device. Move the wake-up gpio from a requried property to an optional property. Signed-off-by: Dan Murphy CC: Rob Herring --- Documentation/devicetree/bindings/net/can/tcan4x5x.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) -- 2.23.0 Reviewed-by: Sean Nyekjaer diff --git a/Documentation/devicetree/bindings/net/can/tcan4x5x.txt b/Documentation/devicetree/bindings/net/can/tcan4x5x.txt index 27e1b4cebfbd..7cf5ef7acba4 100644 --- a/Documentation/devicetree/bindings/net/can/tcan4x5x.txt +++ b/Documentation/devicetree/bindings/net/can/tcan4x5x.txt @@ -10,7 +10,6 @@ Required properties: - #size-cells: 0 - spi-max-frequency: Maximum frequency of the SPI bus the chip can operate at should be less than or equal to 18 MHz. - - device-wake-gpios: Wake up GPIO to wake up the TCAN device. - interrupt-parent: the phandle to the interrupt controller which provides the interrupt. - interrupts: interrupt specification for data-ready. @@ -23,6 +22,7 @@ Optional properties: reset. - device-state-gpios: Input GPIO that indicates if the device is in a sleep state or if the device is active. + - device-wake-gpios: Wake up GPIO to wake up the TCAN device. Example: tcan4x5x: tcan4x5x@0 {