Received: by 2002:a05:6a10:16a7:0:0:0:0 with SMTP id gp39csp106990pxb; Mon, 2 Nov 2020 15:31:26 -0800 (PST) X-Google-Smtp-Source: ABdhPJzBtpdfKBTzQrNKnXIfd4O+jhVWDfzIGQ7xnZTDOS9RxWQKtnKeDGU4VfFr/s12H0J9yEIT X-Received: by 2002:a17:906:5402:: with SMTP id q2mr17223643ejo.316.1604359885845; Mon, 02 Nov 2020 15:31:25 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1604359885; cv=none; d=google.com; s=arc-20160816; b=LJKkVetldMwbSQMLxyN4Hqoj4cynBqMvuyaGSY/gaD16atqoykvRTyIzvXUcpdOefY gIssAK3HlaN0zIHn/sNycW3U2RUXPRFVwSrP6crnfdtxodzEH/vn2kj9/P58ZWpVR9Hg qLbMQ+hGNA2TH6I+R6WYqAZde7VUmtcW14X3B+OZ0g23TjmJS4Ml5uRdTxFwVoB61QpQ 8VWxmbxZwWwq+wR4YilQhu3PUms7lA2Qq4Or1ReVtYgsx2/2dH1sHDoaWF+/2RZLnNua iMkDKxByxeXrkTmPA2882HWEW+0uvtpWZ8nnkU3wRctrCGwSiDPeBxn1VxIFJZkoJW0b da8Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:user-agent:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date :dkim-signature; bh=6dMClwFWZnM1qoVyXjF7aKUxG5O0CxFMjL9Qogr5TpU=; b=Nr6Cv2BkBLDPR0O3+977IEZ1t1vdcExxnAdmAHg2apCeCmdDPVwfTpXgYPhWnls4AV IFa7xiGW7RpqCqGpjVMGC01a3QZ7sJ9VNZIBJgqYP+HVDo5hf4QzCcLhI27zLjDz1R61 vj5wpDTGas0LtcArRK7VUJgL9msrV/19zj/K8OUG5q4q+wnCBVWCn1bKr5Da94eTOrNE 83VqBECMYTRAfumsr/lsjcPTF+laKZgWY6JcyrHg20R9le3lztp0CQES5u5DOGB8l7rG soe42IyRHfkpe7sAd7pB9ediUmQ5kjEtmbVIJDcs/e/yFs8EhqnElC0EowZn24ZvQUmU ngFg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b="GVqI/0xL"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id oi22si13271016ejb.466.2020.11.02.15.31.03; Mon, 02 Nov 2020 15:31:25 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b="GVqI/0xL"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726553AbgKBX2s (ORCPT + 99 others); Mon, 2 Nov 2020 18:28:48 -0500 Received: from mail.kernel.org ([198.145.29.99]:33862 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725841AbgKBX2r (ORCPT ); Mon, 2 Nov 2020 18:28:47 -0500 Received: from dragon (80.251.214.228.16clouds.com [80.251.214.228]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 28AAE22280; Mon, 2 Nov 2020 23:28:44 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1604359727; bh=4MjQMzBRiuQQCBZ/m2YpKQucOcQZa7hQO0Ry0R/PWLY=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=GVqI/0xLl0PHdspUgvrvlEYBzXN3PNAvN+q70ACDQLBvKvTxOJ6TzR0ZoJ+NDPPQG a0olQwsE8XKIkqrfR2VV8fXgY7AxgLy5j5kogO6ts8+ZW5w9AbkbiOKFC+TxslySjE z6tb/dovnpfFNLkfRTfXHYx/9BfVysVqDmi+s13E= Date: Tue, 3 Nov 2020 07:28:41 +0800 From: Shawn Guo To: Joakim Zhang Cc: mkl@pengutronix.de, robh+dt@kernel.org, s.hauer@pengutronix.de, kernel@pengutronix.de, linux-imx@nxp.com, victor.liu@nxp.com, linux-can@vger.kernel.org, netdev@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH V4 5/6] dt-bindings: firmware: add IMX_SC_R_CAN(x) macro for CAN Message-ID: <20201102232840.GT31601@dragon> References: <20201021052437.3763-1-qiangqing.zhang@nxp.com> <20201021052437.3763-6-qiangqing.zhang@nxp.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20201021052437.3763-6-qiangqing.zhang@nxp.com> User-Agent: Mutt/1.9.4 (2018-02-28) Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Oct 21, 2020 at 01:24:36PM +0800, Joakim Zhang wrote: > Add IMX_SC_R_CAN(x) macro for CAN. > > Suggested-by: Marc Kleine-Budde > Signed-off-by: Joakim Zhang Acked-by: Shawn Guo > --- > include/dt-bindings/firmware/imx/rsrc.h | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/include/dt-bindings/firmware/imx/rsrc.h b/include/dt-bindings/firmware/imx/rsrc.h > index 54278d5c1856..43885056557c 100644 > --- a/include/dt-bindings/firmware/imx/rsrc.h > +++ b/include/dt-bindings/firmware/imx/rsrc.h > @@ -111,6 +111,7 @@ > #define IMX_SC_R_CAN_0 105 > #define IMX_SC_R_CAN_1 106 > #define IMX_SC_R_CAN_2 107 > +#define IMX_SC_R_CAN(x) (IMX_SC_R_CAN_0 + (x)) > #define IMX_SC_R_DMA_1_CH0 108 > #define IMX_SC_R_DMA_1_CH1 109 > #define IMX_SC_R_DMA_1_CH2 110 > -- > 2.17.1 >