Received: by 2002:a25:ad19:0:0:0:0:0 with SMTP id y25csp6573976ybi; Wed, 31 Jul 2019 17:16:53 -0700 (PDT) X-Google-Smtp-Source: APXvYqzh143qxphJQseRKq4lHpf22CPR6OcEKLv5xqZ/VSbYT68Fb7qtfPA52/szR9Ig6S2myyuJ X-Received: by 2002:a17:90a:71ca:: with SMTP id m10mr5588851pjs.27.1564618613405; Wed, 31 Jul 2019 17:16:53 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1564618613; cv=none; d=google.com; s=arc-20160816; b=t9W/9Yt2BkkG/1BpLtuiuyHeYAMGu58o6qTd6bEpTgD7i20UxfikNR8afYvg/fpap/ lRm9nx7yR77RdAWPbQlsS20LAzxvJP8YE/sSOhhKMMeNMegFjZXbOusKegB7PNnnWQN9 q5gRvSCgjH2Bw9FpH3ogx+QtkzBxV1WBlBUc6CP4p3Q/WbGLYoBYf+X6MUQRZroNE9kS cxdes0QPbOrgxvHcVdIDPf4SNm6LTDRWS4VDyfoyEL3VdpslWZ5+JgMcpvgO+8oakrG1 IaHKpPon7nrQXqI8h8yY18Vt8o53Ort4SMsru0NvWLEJd41IW9/T17NWg/NaBqJzyfp9 fGyw== 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; bh=kSejrbwgUdMQ99bQrxJUA8zIPWxPSd8aucGAjk9aCgY=; b=XNGSvt2nGk4TQizY+J823nXZ5a6AqTNtWB20214Q070PALHHOv/qI3Dy3liEcygUg1 SZ4JCT2D/TvlhL7yar24lWvdGAeeXe3XZI1E/Vu1TYj8elCxNhO+DzLHxi3wX6cN5bje pdiNRtFhwGZV9KV5wkL7s7k1CWeGfxq4j8Qh9XAwMo9l3izoiBl6GLHRldPTj6DhM54C AGiwYvxlvbn+W0I3akuHKs7ABs637d6LsgnfXSaa7AJ5DXZh9aio2VxZPpuzmU6+GXR+ sbpkXc6TOm3aYUbVPDl3mfdLLyTvGMyjCtIJx08NGXoBBVCC8e7uh7cB3ASV5DGo8kB8 Lo+A== 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=nxp.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id 71si30266233plf.156.2019.07.31.17.16.38; Wed, 31 Jul 2019 17:16:53 -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=nxp.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729558AbfGaXRX (ORCPT + 99 others); Wed, 31 Jul 2019 19:17:23 -0400 Received: from mail-ot1-f68.google.com ([209.85.210.68]:35073 "EHLO mail-ot1-f68.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725793AbfGaXRX (ORCPT ); Wed, 31 Jul 2019 19:17:23 -0400 Received: by mail-ot1-f68.google.com with SMTP id j19so33552435otq.2; Wed, 31 Jul 2019 16:17:22 -0700 (PDT) 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=kSejrbwgUdMQ99bQrxJUA8zIPWxPSd8aucGAjk9aCgY=; b=bH+8O8VJFaTCmEBvljLo0b/Qv1bkCQxEdcJeke7+zSZYcmJ4Krfc4rsOKoruhvMIwY ybvjRmTUUkzTlrhhNp/bVgTMpxy3NgITtJ5qvYriP5gEbIw9byPMqHi/Q7scRSIlQ8W2 rzUJFPAzFtSPfImPz5/lK6uAtayQ6Z0NSXx4JRrL5r1uSzKr2V9SfshmQ+wssK9xBHUN OLZJSh9XY95OxiiQTlGmJyJ5f22nt5cVjois1GLoHzDSWhsBMHYeBJ3Faw1e0szHMNTp UK9+vqeFqERvOAVO9v2loIcjrEyrPCIofTQm0x4/WpfjWbYH7Ra8xEd05jWSSKlh8noC 6ZRg== X-Gm-Message-State: APjAAAUjd3eGjRG0pXjQv/z6iyaaW4s5PMfLZ3/xmiVWLFwQTLSrogR2 6B3N9ehhBT8osIUvOAVqTiXftsimwCs= X-Received: by 2002:a9d:6959:: with SMTP id p25mr10360425oto.118.1564615041816; Wed, 31 Jul 2019 16:17:21 -0700 (PDT) Received: from mail-ot1-f51.google.com (mail-ot1-f51.google.com. [209.85.210.51]) by smtp.gmail.com with ESMTPSA id e78sm24753741oib.50.2019.07.31.16.17.20 (version=TLS1_3 cipher=AEAD-AES128-GCM-SHA256 bits=128/128); Wed, 31 Jul 2019 16:17:21 -0700 (PDT) Received: by mail-ot1-f51.google.com with SMTP id o101so72017209ota.8; Wed, 31 Jul 2019 16:17:20 -0700 (PDT) X-Received: by 2002:a9d:6d0e:: with SMTP id o14mr55638119otp.205.1564615040807; Wed, 31 Jul 2019 16:17:20 -0700 (PDT) MIME-Version: 1.0 References: <20190718094902.15562-1-hui.song_1@nxp.com> In-Reply-To: <20190718094902.15562-1-hui.song_1@nxp.com> From: Li Yang Date: Wed, 31 Jul 2019 18:17:09 -0500 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCH 1/2] arm64: dts: ls1028a: Fix GPIO work fail. To: Hui Song Cc: Shawn Guo , Rob Herring , Mark Rutland , Linus Walleij , Bartosz Golaszewski , "moderated list:ARM/FREESCALE IMX / MXC ARM ARCHITECTURE" , "open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS" , lkml , linux-gpio@vger.kernel.org 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 On Thu, Jul 18, 2019 at 4:59 AM Hui Song wrote: > Change the title to be something like: arm64: dts: ls1028a: fix gpio nodes > From: Song Hui > > Add ls1028a device specify compatible. Please submit a separate patch to update the device tree binding too. > Make gpio as little-endian deal. "Update the nodes to include little-endian property to be consistent with the hardware." > > Signed-off-by: Song Hui > --- > arch/arm64/boot/dts/freescale/fsl-ls1028a.dtsi | 9 ++++++--- > 1 file changed, 6 insertions(+), 3 deletions(-) > > diff --git a/arch/arm64/boot/dts/freescale/fsl-ls1028a.dtsi b/arch/arm64/boot/dts/freescale/fsl-ls1028a.dtsi > index 7975519..488602b 100644 > --- a/arch/arm64/boot/dts/freescale/fsl-ls1028a.dtsi > +++ b/arch/arm64/boot/dts/freescale/fsl-ls1028a.dtsi > @@ -277,33 +277,36 @@ > }; > > gpio1: gpio@2300000 { > - compatible = "fsl,qoriq-gpio"; > + compatible = "fsl,ls1028a-gpio","fsl,qoriq-gpio"; > reg = <0x0 0x2300000 0x0 0x10000>; > interrupts = ; > gpio-controller; > #gpio-cells = <2>; > interrupt-controller; > #interrupt-cells = <2>; > + little-endian; > }; > > gpio2: gpio@2310000 { > - compatible = "fsl,qoriq-gpio"; > + compatible = "fsl,ls1028a-gpio","fsl,qoriq-gpio"; > reg = <0x0 0x2310000 0x0 0x10000>; > interrupts = ; > gpio-controller; > #gpio-cells = <2>; > interrupt-controller; > #interrupt-cells = <2>; > + little-endian; > }; > > gpio3: gpio@2320000 { > - compatible = "fsl,qoriq-gpio"; > + compatible = "fsl,ls1028a-gpio","fsl,qoriq-gpio"; > reg = <0x0 0x2320000 0x0 0x10000>; > interrupts = ; > gpio-controller; > #gpio-cells = <2>; > interrupt-controller; > #interrupt-cells = <2>; > + little-endian; > }; > > usb0: usb@3100000 { > -- > 2.9.5 >