Received: by 2002:a25:8b91:0:0:0:0:0 with SMTP id j17csp4838232ybl; Wed, 22 Jan 2020 05:40:26 -0800 (PST) X-Google-Smtp-Source: APXvYqxT6I/fpR5eqrM6hVEbW1VRKMwRi+gvNpjC2h0VnFOUiJ4f+OnS+C4V2R5xpNaylKsZ5Mct X-Received: by 2002:a05:6830:2009:: with SMTP id e9mr7505664otp.160.1579700426538; Wed, 22 Jan 2020 05:40:26 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1579700426; cv=none; d=google.com; s=arc-20160816; b=JEtjDzdQVgW9WViPeWv/m1iadXn6SRAaSiXuv0xXxPc7nAPiBC9v6yUR2HaIUfpgpO IfAesNHbXeXNqsxQl9Z1FPFYsFRnsmieXJGNKJpjxm3ps45cTWRMxqr3QV+ig51fVdEz TO+optoQYol9qws0zPz8WmKGavjsD9DKLlhJ1Qnc7/j02GRZPLOfR1ZcPHPmuIsGMCko 3VnNn2NjLvl+b8/hskv9AIcgLYllTuOSB30FKUgDbs/m7ZAVrRihbLIFzQAwS+mIFgyX QBsSm8dorydK0bJWguxrWYZ8ZEwGMeOybkbKxR/CO4xrunB7AJ58iLvIB6BooTHI/LfM f3Ag== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-language :content-transfer-encoding:in-reply-to:mime-version:user-agent:date :message-id:from:references:cc:to:subject:dkim-signature; bh=co1m/tnZ+ImTwD3yuXyZxVaG3wlifWau9XX6MEe8Chg=; b=LFRWAWUWFPAXF5Wq31IdrlLm26iwEkSLK9/NPtn3JWuyEvdBlM1sto3SmWnuDAvSyI oKMYsWPkODnPA5tSGDr9Ts6miiouS8bDXapqFiEDuJa/lQqKCE4uEnIYHOk1J0IY2d3P Z6LhvY265+bq50ZkWCIAS4WsMqHmY5PgRCSDPpWORgQQR7xqEQ4woJajel84UP/WdEaw HCrMs5986FnAKqOrd00rM9zNa5mpD2sAIIt7F/BW8AvXpQ8U3C49zwxxoQvKjOaiLM+6 kN0MsMnbgmFnNF1KTXoDbewlHJlz7I+CGG9r8K73zXRxYNbwyzKCvlWW8PA/mYblMwc2 QQcQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=taziyYJQ; 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 z22si9939400otq.94.2020.01.22.05.40.14; Wed, 22 Jan 2020 05:40:26 -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=taziyYJQ; 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 S1729094AbgAVNjU (ORCPT + 99 others); Wed, 22 Jan 2020 08:39:20 -0500 Received: from fllv0016.ext.ti.com ([198.47.19.142]:46584 "EHLO fllv0016.ext.ti.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725790AbgAVNjU (ORCPT ); Wed, 22 Jan 2020 08:39:20 -0500 Received: from fllv0034.itg.ti.com ([10.64.40.246]) by fllv0016.ext.ti.com (8.15.2/8.15.2) with ESMTP id 00MDd0cM057467; Wed, 22 Jan 2020 07:39:00 -0600 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1579700340; bh=co1m/tnZ+ImTwD3yuXyZxVaG3wlifWau9XX6MEe8Chg=; h=Subject:To:CC:References:From:Date:In-Reply-To; b=taziyYJQlSzT2GyfKCypQhi5IB6lZr9GRxURow+X6+pPSQokO3HMZ5n1Ktm1eOZV+ QOsv5YUsmbCQO9rciykyNX8OSaR8Ff8g2cuKfD4CCH/IloXOHZA9/Fm6d1FFzbQAcT LwBwM8c5O1wWlnzNP20hbrcxQGLBFFveLKn91q14= Received: from DFLE115.ent.ti.com (dfle115.ent.ti.com [10.64.6.36]) by fllv0034.itg.ti.com (8.15.2/8.15.2) with ESMTPS id 00MDd05r065172 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Wed, 22 Jan 2020 07:39:00 -0600 Received: from DFLE112.ent.ti.com (10.64.6.33) by DFLE115.ent.ti.com (10.64.6.36) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1847.3; Wed, 22 Jan 2020 07:38:59 -0600 Received: from fllv0040.itg.ti.com (10.64.41.20) by DFLE112.ent.ti.com (10.64.6.33) 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, 22 Jan 2020 07:38:59 -0600 Received: from [10.250.65.13] (ileax41-snat.itg.ti.com [10.172.224.153]) by fllv0040.itg.ti.com (8.15.2/8.15.2) with ESMTP id 00MDcxqI104110; Wed, 22 Jan 2020 07:38:59 -0600 Subject: Re: [PATCH 1/3] dt-bindings: net: can: m_can: Add Documentation for stb-gpios To: Faiz Abbas , , , , , CC: , , , , , , , , References: <20200122080310.24653-1-faiz_abbas@ti.com> <20200122080310.24653-2-faiz_abbas@ti.com> From: Dan Murphy Message-ID: Date: Wed, 22 Jan 2020 07:35:52 -0600 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.4.1 MIME-Version: 1.0 In-Reply-To: <20200122080310.24653-2-faiz_abbas@ti.com> Content-Type: text/plain; charset="utf-8"; format=flowed Content-Transfer-Encoding: 8bit Content-Language: en-US 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 Faiz On 1/22/20 2:03 AM, Faiz Abbas wrote: > The CAN transceiver on some boards has an STB pin which is > used to control its standby mode. Add an optional property > stb-gpios to toggle the same. > > Signed-off-by: Faiz Abbas > Signed-off-by: Sekhar Nori > --- > Documentation/devicetree/bindings/net/can/m_can.txt | 2 ++ > 1 file changed, 2 insertions(+) > > diff --git a/Documentation/devicetree/bindings/net/can/m_can.txt b/Documentation/devicetree/bindings/net/can/m_can.txt > index ed614383af9c..cc8ba3f7a2aa 100644 > --- a/Documentation/devicetree/bindings/net/can/m_can.txt > +++ b/Documentation/devicetree/bindings/net/can/m_can.txt > @@ -48,6 +48,8 @@ Optional Subnode: > that can be used for CAN/CAN-FD modes. See > Documentation/devicetree/bindings/net/can/can-transceiver.txt > for details. > +stb-gpios : gpio node to toggle the STB (standby) signal on the transceiver > + The m_can.txt is for the m_can framework.  If this is specific to the platform then it really does not belong here. If the platform has specific nodes then maybe we need a m_can_platform.txt binding for specific platform nodes.  But I leave that decision to Rob. Also I prefer you spell out standby like the gpios are spelled out in the tcan binding. Dan > Example: > SoC dtsi: > m_can1: can@20e8000 {