Received: by 2002:ac0:aa62:0:0:0:0:0 with SMTP id w31-v6csp1216192ima; Wed, 24 Oct 2018 16:57:47 -0700 (PDT) X-Google-Smtp-Source: AJdET5cZULO+OuxCInAiSSC4CnTUWNAD/s+uf+YyYunxDMn2uNJ7pwanrw4zyGaHWW70MNnMcQ6A X-Received: by 2002:a17:902:2924:: with SMTP id g33-v6mr4460642plb.76.1540425467128; Wed, 24 Oct 2018 16:57:47 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1540425467; cv=none; d=google.com; s=arc-20160816; b=eTyCEIp0zvBhPgKAiApMgzOmneLodSS/PgIX8KEf+mewJGuzX94k2hFBQY+VhvR+c/ ieGVD7nojOOP3VcFb1imrd8SSmKczQ2LEC9KL3VwzXce016ziMD0L6H4PM8z/ioOSHRB U2OaTF3+94I7HMyffsRMv7zIqMQ4s1HJlZpYaTgIoWy2hN6jQVvLjk7bhe5xEhm6sovR xBFxgbLSupT58OH35e8MwvBFIWLn8NUs9rpNScnbduHYeNXRmCUWjKTIkuc+j5b+CtoF Nmnb14YH5kI8yRBe2vPEVg8DIFOWMDdUSbgPkSi2jnQ0O5TqivFLTZufaul+xZajRlD3 J2Sg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date; bh=MTVznae+akc6QY8XO51ygXNZquOMNkrNc+AHFN5Uoy4=; b=NfqagW4dixCuEY05/u12cqNTO5txIZ85DplipTUx7uNQ5GBjPWINN64BjIdmL5v32J E0SLlGCuXdWtevHjy+p90ak/AA49sKpLxW/MPqCkNrKxMofklILL1EsCySRhSIohHCvh d/sg/q4UE9usuIPb361uZFQrXvgUlhf2GnosmxVIr1Tgh3MzcvBQQCNZvbx+gkwn33Ey ycWnUL38bXILvzSspm7J387VU19GkhWRJVFCwwSaZqZrVp8RkrLJfvZ6hWNGqCcKOYbF fh2EpcPRD2hgImh7iv1yhVNFyxOjxx+6ESJFwdUzAqcYtl+aWLwpsCliaKo8t3/liWqE ceMA== ARC-Authentication-Results: i=1; mx.google.com; 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=fail (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id i35-v6si5969925plg.361.2018.10.24.16.57.30; Wed, 24 Oct 2018 16:57:47 -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; 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=fail (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726709AbeJYI1T (ORCPT + 99 others); Thu, 25 Oct 2018 04:27:19 -0400 Received: from mail-ot1-f68.google.com ([209.85.210.68]:41482 "EHLO mail-ot1-f68.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726378AbeJYI1T (ORCPT ); Thu, 25 Oct 2018 04:27:19 -0400 Received: by mail-ot1-f68.google.com with SMTP id c32so6861283otb.8; Wed, 24 Oct 2018 16:57:08 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to:user-agent; bh=MTVznae+akc6QY8XO51ygXNZquOMNkrNc+AHFN5Uoy4=; b=gvCK28AVlPzsICbwWR31zhdeIjNqNPloQww768NizE9KSwBRMem1nuxmPcYyt71UOR lbJqsAd+qRwgDCNKueRYQNE6BBUeafCB7KfWq2Ez5z282kFYjIndfN/BJ0kfL25ePxO+ mfXSeekPDI0HkNQxqXnfzUJEaTPG5RPGSutiJvyBCeQg72DUnPoi+vMHysm6iyj6rk8A MuMecavLn3dcnGtfPeRBkpliZLw8ryc/kvU4N368rZkP7lcIx8kfm/96VwpwI9NdtO3Q VcEboKP7l/WI420p/gK5p7vPUBpvRbe2gdPdxzx1edEnsaBTPqwTC9X7bqM2NOSs5SAP cdjw== X-Gm-Message-State: AGRZ1gI8u5RiYJCFkHcFDV0GMZ+ctAkHmjhCabStFfoRcMsWN1/k5lM7 80JLda1B5CALCxMzbFKsEA== X-Received: by 2002:a9d:460e:: with SMTP id y14mr3256543ote.199.1540425428074; Wed, 24 Oct 2018 16:57:08 -0700 (PDT) Received: from localhost (24-155-109-49.dyn.grandenetworks.net. [24.155.109.49]) by smtp.gmail.com with ESMTPSA id 111sm3648927otf.51.2018.10.24.16.57.07 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Wed, 24 Oct 2018 16:57:07 -0700 (PDT) Date: Wed, 24 Oct 2018 18:57:06 -0500 From: Rob Herring To: Joakim Zhang Cc: "linux-can@vger.kernel.org" , "wg@grandegger.com" , "mkl@pengutronix.de" , "mark.rutland@arm.com" , "devicetree@vger.kernel.org" , "linux-kernel@vger.kernel.org" , dl-linux-imx , "A.s. Dong" Subject: Re: [PATCH V1 2/2] Documentation: can: flexcan: Add stop-mode property to device tree Message-ID: <20181024235706.GA22938@bogus> References: <20181023051449.2116-1-qiangqing.zhang@nxp.com> <20181023051449.2116-3-qiangqing.zhang@nxp.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20181023051449.2116-3-qiangqing.zhang@nxp.com> User-Agent: Mutt/1.10.1 (2018-07-13) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Oct 23, 2018 at 05:17:10AM +0000, Joakim Zhang wrote: > From: Dong Aisheng > > The FlexCAN controller can parse the stop-mode property to enable CAN > self wakeup feature. > > Signed-off-by: Dong Aisheng > Signed-off-by: Joakim Zhang > --- > Documentation/devicetree/bindings/net/can/fsl-flexcan.txt | 8 ++++++++ > 1 file changed, 8 insertions(+) > > diff --git a/Documentation/devicetree/bindings/net/can/fsl-flexcan.txt b/Documentation/devicetree/bindings/net/can/fsl-flexcan.txt > index bfc0c433654f..b5ccfc9c14fb 100644 > --- a/Documentation/devicetree/bindings/net/can/fsl-flexcan.txt > +++ b/Documentation/devicetree/bindings/net/can/fsl-flexcan.txt > @@ -24,6 +24,14 @@ Optional properties: > if this property is present then controller is assumed to be big > endian. > > +- stop-mode: register bits of stop mode control, the format is Should have a vendor prefix: fsl,stop-mode > + <&gpr req_gpr req_bit ack_gpr ack_bit>. > + gpr is the phandle to general purpose register node. > + req_gpr is the gpr register offset of CAN stop request. > + req_bit is the bit offset of CAN stop request. > + ack_gpr is the gpr register offset of CAN stop acknowledge. > + ack_bit is the bit offset of CAN stop acknowledge. > + > Example: > > can@1c000 { > -- > 2.17.1 >