From patchwork Mon Dec 9 16:32:54 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Marc Kleine-Budde X-Patchwork-Id: 181063 Delivered-To: patch@linaro.org Received: by 2002:a92:3001:0:0:0:0:0 with SMTP id x1csp4580167ile; Mon, 9 Dec 2019 08:33:16 -0800 (PST) X-Google-Smtp-Source: APXvYqwKyVnMszpx3fLulW5uwo5Tu3n+ClTQWlnkhWKUY41Zkh23sqDf/ILKhpVITLzDTUg/b3gJ X-Received: by 2002:a9d:708a:: with SMTP id l10mr5664265otj.263.1575909196050; Mon, 09 Dec 2019 08:33:16 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1575909196; cv=none; d=google.com; s=arc-20160816; b=cWWC07mO3+qzhc3SpOk7oHDK452venT8v1TXRa8uiqHmoVmzXyvR8TjP+cl0PB7x3q Rg67oeEVOZVEg6FUhnIQVCilb0NAzxGKkVNvvbfyYTUK5ms4HuoCA8co4QedYEVo3zTd j9qa1elqQGfWEDACtZXqnPPUEJx1lGZC51rkytfhsyQRzjgYqqP06INpGaceGmtNz8m+ thI3AGMXHny5O9OsjzznKiqJnO9R2U0KC25EJNwWVjKiIFN6pfj9frGP4+t3EQR/p9M8 ba5Axvy0PtyARYMNAoFaxaOCcgp/8QNRlsxd7J4xQwM5ffTGiFlD4FLbhKh1b2WNGksR wxmQ== 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 :references:in-reply-to:message-id:date:subject:cc:to:from; bh=7csu5wdzEzZU3PK0hDUnSQ6QFu42oZpQrZ5CmTEWxcM=; b=NiACiByqIBhEWmMUkwy7iNJgXcNhLhNC/8O+yuym+wP6G38YK32UxIJYqz0ygUDMB4 XJRip4yd01wkYM3PIrq15mGzu7F7jA2q1O2sMKFmv7Aew0+ZthwK/5/+IX6P/Se87j7V N2Tt0ZPam1O7vxsGxySK/Y77IxKOW70ExOJZjC03ScnDU1AFi14aYZcRfC/OA3NJXlcH EzwQdcgFUv42XpY1qWGNQkYpZ9eIyXqrvhvQ+pDEjVNbPBYAl77tQGB2V2LZdeGRJNWU 2gSyuToxx25EKvDv5Fu/VSo6VNjeA34rcuoUvS5+xOxiqCSg6RMpMgdDpjirba373tyU aW3w== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of netdev-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=netdev-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 l16si82851otr.106.2019.12.09.08.33.15; Mon, 09 Dec 2019 08:33:16 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of netdev-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of netdev-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=netdev-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726956AbfLIQdK (ORCPT + 9 others); Mon, 9 Dec 2019 11:33:10 -0500 Received: from metis.ext.pengutronix.de ([85.220.165.71]:38007 "EHLO metis.ext.pengutronix.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726903AbfLIQdG (ORCPT ); Mon, 9 Dec 2019 11:33:06 -0500 Received: from heimdall.vpn.pengutronix.de ([2001:67c:670:205:1d::14] helo=blackshift.org) by metis.ext.pengutronix.de with esmtp (Exim 4.92) (envelope-from ) id 1ieLy4-0001up-TJ; Mon, 09 Dec 2019 17:33:04 +0100 From: Marc Kleine-Budde To: netdev@vger.kernel.org Cc: davem@davemloft.net, linux-can@vger.kernel.org, kernel@pengutronix.de, Dan Murphy , Rob Herring , Sean Nyekjaer , Marc Kleine-Budde Subject: [PATCH 11/13] dt-bindings: tcan4x5x: Make wake-gpio an optional gpio Date: Mon, 9 Dec 2019 17:32:54 +0100 Message-Id: <20191209163256.12000-12-mkl@pengutronix.de> X-Mailer: git-send-email 2.24.0 In-Reply-To: <20191209163256.12000-1-mkl@pengutronix.de> References: <20191209163256.12000-1-mkl@pengutronix.de> MIME-Version: 1.0 X-SA-Exim-Connect-IP: 2001:67c:670:205:1d::14 X-SA-Exim-Mail-From: mkl@pengutronix.de X-SA-Exim-Scanned: No (on metis.ext.pengutronix.de); SAEximRunCond expanded to false X-PTX-Original-Recipient: netdev@vger.kernel.org Sender: netdev-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: netdev@vger.kernel.org From: Dan Murphy 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 Reviewed-by: Sean Nyekjaer Tested-by: Sean Nyekjaer Signed-off-by: Marc Kleine-Budde --- Documentation/devicetree/bindings/net/can/tcan4x5x.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) -- 2.24.0 diff --git a/Documentation/devicetree/bindings/net/can/tcan4x5x.txt b/Documentation/devicetree/bindings/net/can/tcan4x5x.txt index e8aa21d9174e..6bdcc3f84bd3 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 {