Received: by 2002:ac0:a582:0:0:0:0:0 with SMTP id m2-v6csp3137895imm; Fri, 19 Oct 2018 05:52:46 -0700 (PDT) X-Google-Smtp-Source: ACcGV61VL8kk4hc/qFYiAX08W6rKY4DBrT+DQgk4xd8T5yiaAav2BqW/cIPVcjd/+w75LKZqhe2N X-Received: by 2002:a17:902:9a8b:: with SMTP id w11-v6mr29302792plp.94.1539953565984; Fri, 19 Oct 2018 05:52:45 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1539953565; cv=none; d=google.com; s=arc-20160816; b=ab5fAHJwnlGqBUPC1HEzaVzFiLU3x2+9uKq3xs1R5EW8MJVenRwvYCeZACnlTC0LEg DUhGLCUsnfX/p7GDQky3Xzgk1BSLdDByxgMO4UbDZN63xTJi8GnexB+PmOxyBvhGGwyq /WEwDVib15wyAVJEi/Taj82WULX99NshdsHwhR7FfnpafJ8VH8mwmqEGbL8S4LXGYFOp GLYDobGMGK8eMMsXf6izQhnw+tr3l9BnrBF9QWs29iitK6v/Xu6EY1nB08kqNNVZP36K G5HV3ICnY40WGwVAXy00E7Uyp9oARhq353/5kIyKtDAjnIoIrt7+lcrP6D/HAKc1RKKT uJEg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:dkim-signature; bh=Fuw1h4GK8wNV4ILgy/wPRw3Q0q49RLc7Bf4oU1kaISQ=; b=rqtrmyri1h1Y/mYTs7BFlOy+qHhjZZ9Ep7H5rBUjpcyjh4xes6+nR9gfQKA946boZI 3FMvpaBsg8oMecieA54rA7qu4/5rme063q73JEdm7+XmAi+tU2ZQW/PCN0QBEAUxy/ZS L1Hu2viXaOXxHcy6i2BB62Sbw7FvcYQlUbwYVG3emGBLhIajWSU6k5GlPMwucrpGX4g6 V+PlzUERoEvf709pEdGR2th25ltO4SZHlYCE0ttIRUK750XzdseE6uQBWCHpzkZTRR2a /Oj/UKbQztbOfjentxhKk9+KOSkgpjZL8u/rMJ2Jvxnp4iJXrIVZ0zpgNaRV98Hw2ntG xdEw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=kvzF+EPF; 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=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id t14-v6si9381583pgg.46.2018.10.19.05.52.30; Fri, 19 Oct 2018 05:52:45 -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; dkim=pass header.i=@gmail.com header.s=20161025 header.b=kvzF+EPF; 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=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727357AbeJSU6F (ORCPT + 99 others); Fri, 19 Oct 2018 16:58:05 -0400 Received: from mail-oi1-f196.google.com ([209.85.167.196]:39954 "EHLO mail-oi1-f196.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727039AbeJSU6F (ORCPT ); Fri, 19 Oct 2018 16:58:05 -0400 Received: by mail-oi1-f196.google.com with SMTP id j68-v6so26705774oib.7; Fri, 19 Oct 2018 05:52:06 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=Fuw1h4GK8wNV4ILgy/wPRw3Q0q49RLc7Bf4oU1kaISQ=; b=kvzF+EPF2m0gTwA5TSFojpjSQROFYxRnmXSZwM94DwPF503ix8ai0lxB7D3x1/Vz6W D+/SIjo/BSoxXugofmPQHVXKHBhbfhqk8dKL2IvCBW6Q+Wr3rXQV6xFoH3zEIJFlwgGY QihBJV6K5L+8WzcMGRTg1T1vcUuxnZeP7QWIUZkfVYdNocCf+TEsxb4vZzSILGLKero5 Tkd5x4lsryHqY9QUpXC5jkpDKA+j5ur7vn7SPrT/QSwU4kZoVzUpJdbg0pzcduCCYy9J SAIxrzLBcHvNC9aSbcbC1KZglyHrL/e64lt2LPPIROfpqX5pq3Gdrj/KkqjNxW10sTza i90g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=Fuw1h4GK8wNV4ILgy/wPRw3Q0q49RLc7Bf4oU1kaISQ=; b=TaQ9xxSQiVezy0bOy9MDC/z+XPXQGD9zrK4Ap1wqWij+3CHk9b3DK7RciR1+wAzUZm iN/rhLVFXekG0GwdmhYhoTEnjBcO6xQ2YJea6Yw2gYLvU88TtmHcZiDCHZ6CNWNo+kP6 XZ/g/MahznTdgGTfb5NLu8AvFfAkMV8g/nD4ZXPb1sRwMbz1jQvRlbJ/boeyPD47j5rr 9+Nj7HzirNdm5xikJrrTnaQT2kleIEuqU266dZVwjkqXy9nFdXABpARdY1pyf2mZbsIU bmFfasvr/sMRHvjw0Dw/stbpiT3+J8On9WKeR+ITmr69JY9vbDr0yJErTeGG8sj6IND6 ztcQ== X-Gm-Message-State: ABuFfoj81AQH+wXcCPv8D3hiVqVZuaMruQANqZNxL3kLrVS37oeioNP7 IdVhfkWYAWAXo9odI/92bCxHozjvrufT6jCOBU4= X-Received: by 2002:aca:3006:: with SMTP id w6-v6mr19052781oiw.342.1539953525489; Fri, 19 Oct 2018 05:52:05 -0700 (PDT) MIME-Version: 1.0 References: <20181019094031.22492-1-qiangqing.zhang@nxp.com> In-Reply-To: <20181019094031.22492-1-qiangqing.zhang@nxp.com> From: Fabio Estevam Date: Fri, 19 Oct 2018 09:51:55 -0300 Message-ID: Subject: Re: [PATCH] ARM: dts: imx6sx-sdb: Add flexcan support To: qiangqing.zhang@nxp.com Cc: Shawn Guo , Sascha Hauer , Sascha Hauer , Fabio Estevam , NXP Linux Team , Rob Herring , Mark Rutland , Dong Aisheng , "open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS" , linux-kernel , "moderated list:ARM/FREESCALE IMX / MXC ARM ARCHITECTURE" Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Joakim, On Fri, Oct 19, 2018 at 6:43 AM Joakim Zhang wrote: > > From: Dong Aisheng > > CAN transceiver is different on RevA and RevB board. > It's active high on RevA while active low on Rev B. > > Signed-off-by: Dong Aisheng > Signed-off-by: Joakim Zhang > --- > arch/arm/boot/dts/imx6sx-sdb.dts | 5 ++++ > arch/arm/boot/dts/imx6sx-sdb.dtsi | 42 +++++++++++++++++++++++++++++++ > 2 files changed, 47 insertions(+) > > diff --git a/arch/arm/boot/dts/imx6sx-sdb.dts b/arch/arm/boot/dts/imx6sx-sdb.dts > index 6dd9bebfe027..092b8de142a8 100644 > --- a/arch/arm/boot/dts/imx6sx-sdb.dts > +++ b/arch/arm/boot/dts/imx6sx-sdb.dts > @@ -10,6 +10,11 @@ > > / { > model = "Freescale i.MX6 SoloX SDB RevB Board"; > + > + /* Transceiver EN/STBY is active low on RevB board */ > + reg_can_stby: regulator-can-stby { > + gpio = <&gpio4 27 GPIO_ACTIVE_LOW>; Don't we need a gpio = <&gpio4 27 GPIO_ACTIVE_HIGH>; and also a "enable-active-high" entries in the imx6sx-sdb-reva.dts?