Message ID | 20230104141245.8407-1-aford173@gmail.com |
---|---|
State | New |
Headers |
Return-Path: <linux-kernel-owner@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:4e01:0:0:0:0:0 with SMTP id p1csp5167117wrt; Wed, 4 Jan 2023 06:19:53 -0800 (PST) X-Google-Smtp-Source: AMrXdXvm4o7R5hRbp7ZV5hPSy03IQpHUFoFWFf48zihjBJLoFZbIA9Qhbo2VTmsp3xPaelAblIM5 X-Received: by 2002:a50:ef0c:0:b0:47e:5b70:de7d with SMTP id m12-20020a50ef0c000000b0047e5b70de7dmr54164498eds.20.1672841992932; Wed, 04 Jan 2023 06:19:52 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1672841992; cv=none; d=google.com; s=arc-20160816; b=DidM6WU8Jw/JW9RKK+l9921w6Q/Nb3w3Obo2qXSnM9PAs3NcMS86gxz2bxh7eHWzGb 67439Gk1SLkcK4FoXjJ+eqf8gwVnnGbZKAzzBzrAuziXuPICsJ152s2Jjl5CKDcxL69x 7r//Dx+V/MLCHY3RNaVLC1QBdXp9WOPEY4LUuQJM8QcdKoWsPLKhgU3NGur/xsBIk87u w3Buf0w6i85th6PmKEAlxBI7w8zVU4j8WVPnGAyczdv5h4sfJiPKKy6fFl3Mxncp6eGW 1qaaiPC6QotDcnmYoX5C7phiRbGw9HW7LraifbW9dp47scafcFgK+N9xolmcV5pcPlAf Xsyw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:dkim-signature; bh=U/UGqMaPLn0RLZcUOfGRM9RvG3oDMMZB7aFPu1G+vN0=; b=0856ojPRKc4he7P+wAt6vjtVJD2AVvPqzECy+VKOPsftJqQd8F0iyJW0w2SwooF8f3 siqBEiPoOBrCnIN1CNAs2efXPAKkstmUXKQYxuG8Kul8d142ANnOqDP+MccbGi5YJoba XVALbvHZgpa8VEMRYa5+U7J11liWAhKNuWTr64agko64Mg3lXlFp54gFVd3Ssml1oD8S fKp7Ha+1MZoXSX0eR9ZYuoXgi6xajrk2cfyBaeHcx1VkYbpWFVdru2r5kpuHTxs484t0 aUjFaLGpXXvHaqi6nIYTqPU8LsyBWEDIhow12rHAH9LnBrp4+q9COueE5S1ATV2BPVlV q1Ew== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=dPvuEHDF; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id g5-20020a056402428500b0048e1008c744si7779136edc.147.2023.01.04.06.19.28; Wed, 04 Jan 2023 06:19:52 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=dPvuEHDF; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 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 S239625AbjADONg (ORCPT <rfc822;tmhikaru@gmail.com> + 99 others); Wed, 4 Jan 2023 09:13:36 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:39056 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S239678AbjADOMv (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Wed, 4 Jan 2023 09:12:51 -0500 Received: from mail-il1-x12c.google.com (mail-il1-x12c.google.com [IPv6:2607:f8b0:4864:20::12c]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id CE9B5B1E; Wed, 4 Jan 2023 06:12:49 -0800 (PST) Received: by mail-il1-x12c.google.com with SMTP id a9so7177743ilk.6; Wed, 04 Jan 2023 06:12:49 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=U/UGqMaPLn0RLZcUOfGRM9RvG3oDMMZB7aFPu1G+vN0=; b=dPvuEHDFGE+DgSimMZg76EeydzCN0DS7QJzALtiaoOtgqaP9ZCwW2NrjwDn6Dw85JS adhFdGP4hbufKFHp9QwzxGBiDDdRwOLastqdXNvzQpYvM992GVFM4eb8HVbruHELlImI TVHpCs86NGZcZSutHdtsj+UenvnjVQj1pSEVtvVWQvp8E+A639t6MU01+jfUCcy6IdCd d9C8n+SHAEbRt3rPajHupQ1vg2cMLSG1h2+0zqC5hyy33fH+tsCQ5psssa7m3X8VB0Mv 0qguy7pb3fgU/AUQfvUgQ8tygNyfWO11YZVbXB5XNzldz2Uvn4SWtALufmPw2cI36G1V pu6g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=U/UGqMaPLn0RLZcUOfGRM9RvG3oDMMZB7aFPu1G+vN0=; b=XKo6/lEyrdPW2DNgznd6JduXMlA+QOF2EHCb0TAFR4Vgy0fKW76jtkySq67IC+VB/B JAOEDNWLiQN982/mAjdSdpiVcID8Wc6e2Wp//zy4E2wUvLBbD3sr2Nf3Molb+i/FS6Of ASGD8mI8tRlQV7DNriSxbvG/MrzQsue7RFlvQM8Nrp2vfBEkI5hPHJ5fKZCcNcq3d7Pv U2x0CPmY0CtTR2kMm7xQm5c03lNYGug17O1nYa5zglLwljaZIbpslfjlL11m3rgGBHrz ay2GlTziDu+X6rGutTAaTsKoGtZzx5fOqCflqgrsBz4FVAZPVS5qI70PxdxhY7Xs+hvq ZJTg== X-Gm-Message-State: AFqh2kpTSKfGTeICLGnq1aIZLkeiFk3anrgYr6CxQP0drwl/6T/6Em8x 418BgNygNf19YJ2c/rdNp8QZuak1YJs= X-Received: by 2002:a92:d586:0:b0:30c:5316:d94 with SMTP id a6-20020a92d586000000b0030c53160d94mr5580126iln.31.1672841568701; Wed, 04 Jan 2023 06:12:48 -0800 (PST) Received: from aford-IdeaCentre-A730.lan ([2601:447:d001:9aea:58ca:a321:54c8:c288]) by smtp.gmail.com with ESMTPSA id ay28-20020a056638411c00b0038a5af5e831sm11353451jab.100.2023.01.04.06.12.47 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 04 Jan 2023 06:12:47 -0800 (PST) From: Adam Ford <aford173@gmail.com> To: linux-renesas-soc@vger.kernel.org Cc: aford@beaconembedded.com, Adam Ford <aford173@gmail.com>, Geert Uytterhoeven <geert+renesas@glider.be>, Magnus Damm <magnus.damm@gmail.com>, Rob Herring <robh+dt@kernel.org>, Krzysztof Kozlowski <krzysztof.kozlowski+dt@linaro.org>, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH 1/4] arm64: dts: beacon-renesom: Fix gpio expander reference Date: Wed, 4 Jan 2023 08:12:42 -0600 Message-Id: <20230104141245.8407-1-aford173@gmail.com> X-Mailer: git-send-email 2.34.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-1.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_ENVFROM_END_DIGIT, FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: <linux-kernel.vger.kernel.org> X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1754101965681675377?= X-GMAIL-MSGID: =?utf-8?q?1754101965681675377?= |
Series |
[1/4] arm64: dts: beacon-renesom: Fix gpio expander reference
|
|
Commit Message
Adam Ford
Jan. 4, 2023, 2:12 p.m. UTC
The board used to originally introduce the Beacon Embedded
RZ/G2[M/N/H] boards had a GPIO expander with address 20, but
this was change when the final board went to production.
The production boards changed both the part itself and
the address. With the incorrect address, the LCD cannot
come up. If the LCD fails, the rcar-du driver fails to come up,
and that also breaks HDMI.
Pre-release board were not shipped to the general public, so it
should be safe to push this as a fix. Anyone with a production
board would have video fail due to this GPIO expander change.
Fixes: a1d8a344f1ca ("arm64: dts: renesas: Introduce r8a774a1-beacon-rzg2m-kit")
Signed-off-by: Adam Ford <aford173@gmail.com>
Comments
On Wed, Jan 4, 2023 at 8:12 AM Adam Ford <aford173@gmail.com> wrote: > > The board used to originally introduce the Beacon Embedded > RZ/G2[M/N/H] boards had a GPIO expander with address 20, but > this was change when the final board went to production. > > The production boards changed both the part itself and > the address. With the incorrect address, the LCD cannot > come up. If the LCD fails, the rcar-du driver fails to come up, > and that also breaks HDMI. > > Pre-release board were not shipped to the general public, so it > should be safe to push this as a fix. Anyone with a production > board would have video fail due to this GPIO expander change. > Geert, Is this patch OK as-is? This is more critical to me than the other patches in the series. adam > Fixes: a1d8a344f1ca ("arm64: dts: renesas: Introduce r8a774a1-beacon-rzg2m-kit") > Signed-off-by: Adam Ford <aford173@gmail.com> > > diff --git a/arch/arm64/boot/dts/renesas/beacon-renesom-baseboard.dtsi b/arch/arm64/boot/dts/renesas/beacon-renesom-baseboard.dtsi > index 8166e3c1ff4e..8b6fe235a8f0 100644 > --- a/arch/arm64/boot/dts/renesas/beacon-renesom-baseboard.dtsi > +++ b/arch/arm64/boot/dts/renesas/beacon-renesom-baseboard.dtsi > @@ -437,20 +437,6 @@ wm8962_endpoint: endpoint { > }; > }; > > - /* 0 - lcd_reset */ > - /* 1 - lcd_pwr */ > - /* 2 - lcd_select */ > - /* 3 - backlight-enable */ > - /* 4 - Touch_shdwn */ > - /* 5 - LCD_H_pol */ > - /* 6 - lcd_V_pol */ > - gpio_exp1: gpio@20 { > - compatible = "onnn,pca9654"; > - reg = <0x20>; > - gpio-controller; > - #gpio-cells = <2>; > - }; > - > touchscreen@26 { > compatible = "ilitek,ili2117"; > reg = <0x26>; > @@ -482,6 +468,21 @@ hd3ss3220_out_ep: endpoint { > }; > }; > }; > + > + gpio_exp1: gpio@70 { > + compatible = "onnn,pca9654"; > + reg = <0x70>; > + gpio-controller; > + #gpio-cells = <2>; > + gpio-line-names = > + "lcd_reset", > + "lcd_pwr", > + "lcd_select", > + "backlight-enable", > + "Touch_shdwn", > + "LCD_H_pol", > + "lcd_V_pol"; > + }; > }; > > &lvds0 { > -- > 2.34.1 >
Hi Adam, On Wed, Jan 4, 2023 at 3:12 PM Adam Ford <aford173@gmail.com> wrote: > The board used to originally introduce the Beacon Embedded > RZ/G2[M/N/H] boards had a GPIO expander with address 20, but > this was change when the final board went to production. > > The production boards changed both the part itself and > the address. With the incorrect address, the LCD cannot > come up. If the LCD fails, the rcar-du driver fails to come up, > and that also breaks HDMI. > > Pre-release board were not shipped to the general public, so it > should be safe to push this as a fix. Anyone with a production > board would have video fail due to this GPIO expander change. > > Fixes: a1d8a344f1ca ("arm64: dts: renesas: Introduce r8a774a1-beacon-rzg2m-kit") > Signed-off-by: Adam Ford <aford173@gmail.com> Thanks for your patch! > --- a/arch/arm64/boot/dts/renesas/beacon-renesom-baseboard.dtsi > +++ b/arch/arm64/boot/dts/renesas/beacon-renesom-baseboard.dtsi > @@ -437,20 +437,6 @@ wm8962_endpoint: endpoint { > }; > }; > > - /* 0 - lcd_reset */ > - /* 1 - lcd_pwr */ > - /* 2 - lcd_select */ > - /* 3 - backlight-enable */ > - /* 4 - Touch_shdwn */ > - /* 5 - LCD_H_pol */ > - /* 6 - lcd_V_pol */ > - gpio_exp1: gpio@20 { > - compatible = "onnn,pca9654"; > - reg = <0x20>; > - gpio-controller; > - #gpio-cells = <2>; > - }; > - > touchscreen@26 { > compatible = "ilitek,ili2117"; > reg = <0x26>; > @@ -482,6 +468,21 @@ hd3ss3220_out_ep: endpoint { > }; > }; > }; > + > + gpio_exp1: gpio@70 { > + compatible = "onnn,pca9654"; According to the patch description, the actual part was changed, too? > + reg = <0x70>; > + gpio-controller; > + #gpio-cells = <2>; > + gpio-line-names = > + "lcd_reset", > + "lcd_pwr", > + "lcd_select", > + "backlight-enable", > + "Touch_shdwn", > + "LCD_H_pol", > + "lcd_V_pol"; > + }; > }; The rest LGTM. Gr{oetje,eeting}s, Geert -- Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68k.org In personal conversations with technical people, I call myself a hacker. But when I'm talking to journalists I just say "programmer" or something like that. -- Linus Torvalds
On Wed, Jan 11, 2023 at 10:29 AM Geert Uytterhoeven <geert@linux-m68k.org> wrote: > > Hi Adam, > > On Wed, Jan 4, 2023 at 3:12 PM Adam Ford <aford173@gmail.com> wrote: > > The board used to originally introduce the Beacon Embedded > > RZ/G2[M/N/H] boards had a GPIO expander with address 20, but > > this was change when the final board went to production. > > > > The production boards changed both the part itself and > > the address. With the incorrect address, the LCD cannot > > come up. If the LCD fails, the rcar-du driver fails to come up, > > and that also breaks HDMI. > > > > Pre-release board were not shipped to the general public, so it > > should be safe to push this as a fix. Anyone with a production > > board would have video fail due to this GPIO expander change. > > > > Fixes: a1d8a344f1ca ("arm64: dts: renesas: Introduce r8a774a1-beacon-rzg2m-kit") > > Signed-off-by: Adam Ford <aford173@gmail.com> > > Thanks for your patch! > > > --- a/arch/arm64/boot/dts/renesas/beacon-renesom-baseboard.dtsi > > +++ b/arch/arm64/boot/dts/renesas/beacon-renesom-baseboard.dtsi > > @@ -437,20 +437,6 @@ wm8962_endpoint: endpoint { > > }; > > }; > > > > - /* 0 - lcd_reset */ > > - /* 1 - lcd_pwr */ > > - /* 2 - lcd_select */ > > - /* 3 - backlight-enable */ > > - /* 4 - Touch_shdwn */ > > - /* 5 - LCD_H_pol */ > > - /* 6 - lcd_V_pol */ > > - gpio_exp1: gpio@20 { > > - compatible = "onnn,pca9654"; > > - reg = <0x20>; > > - gpio-controller; > > - #gpio-cells = <2>; > > - }; > > - > > touchscreen@26 { > > compatible = "ilitek,ili2117"; > > reg = <0x26>; > > @@ -482,6 +468,21 @@ hd3ss3220_out_ep: endpoint { > > }; > > }; > > }; > > + > > + gpio_exp1: gpio@70 { > > + compatible = "onnn,pca9654"; > > According to the patch description, the actual part was changed, too? humm.. I was under the impression it was after talking with one of the hardware developers, but clearly it's using the same compatible name. I will investigate this further. One way or the other, I'll redo the commit message. adam > > > + reg = <0x70>; > > + gpio-controller; > > + #gpio-cells = <2>; > > + gpio-line-names = > > + "lcd_reset", > > + "lcd_pwr", > > + "lcd_select", > > + "backlight-enable", > > + "Touch_shdwn", > > + "LCD_H_pol", > > + "lcd_V_pol"; > > + }; > > }; > > The rest LGTM. > > Gr{oetje,eeting}s, > > Geert > > -- > Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68k.org > > In personal conversations with technical people, I call myself a hacker. But > when I'm talking to journalists I just say "programmer" or something like that. > -- Linus Torvalds
On Wed, Jan 11, 2023 at 11:05 AM Adam Ford <aford173@gmail.com> wrote: > > On Wed, Jan 11, 2023 at 10:29 AM Geert Uytterhoeven > <geert@linux-m68k.org> wrote: > > > > Hi Adam, > > > > On Wed, Jan 4, 2023 at 3:12 PM Adam Ford <aford173@gmail.com> wrote: > > > The board used to originally introduce the Beacon Embedded > > > RZ/G2[M/N/H] boards had a GPIO expander with address 20, but > > > this was change when the final board went to production. > > > > > > The production boards changed both the part itself and > > > the address. With the incorrect address, the LCD cannot > > > come up. If the LCD fails, the rcar-du driver fails to come up, > > > and that also breaks HDMI. > > > > > > Pre-release board were not shipped to the general public, so it > > > should be safe to push this as a fix. Anyone with a production > > > board would have video fail due to this GPIO expander change. > > > > > > Fixes: a1d8a344f1ca ("arm64: dts: renesas: Introduce r8a774a1-beacon-rzg2m-kit") > > > Signed-off-by: Adam Ford <aford173@gmail.com> > > > > Thanks for your patch! > > > > > --- a/arch/arm64/boot/dts/renesas/beacon-renesom-baseboard.dtsi > > > +++ b/arch/arm64/boot/dts/renesas/beacon-renesom-baseboard.dtsi > > > @@ -437,20 +437,6 @@ wm8962_endpoint: endpoint { > > > }; > > > }; > > > > > > - /* 0 - lcd_reset */ > > > - /* 1 - lcd_pwr */ > > > - /* 2 - lcd_select */ > > > - /* 3 - backlight-enable */ > > > - /* 4 - Touch_shdwn */ > > > - /* 5 - LCD_H_pol */ > > > - /* 6 - lcd_V_pol */ > > > - gpio_exp1: gpio@20 { > > > - compatible = "onnn,pca9654"; > > > - reg = <0x20>; > > > - gpio-controller; > > > - #gpio-cells = <2>; > > > - }; > > > - > > > touchscreen@26 { > > > compatible = "ilitek,ili2117"; > > > reg = <0x26>; > > > @@ -482,6 +468,21 @@ hd3ss3220_out_ep: endpoint { > > > }; > > > }; > > > }; > > > + > > > + gpio_exp1: gpio@70 { > > > + compatible = "onnn,pca9654"; > > > > According to the patch description, the actual part was changed, too? After a bit of some investigation, the part was changed to nxp,pca9538. It appears to be the same driver and the same ".data" structure is used. This probably explains why I didn't see any issues when I was testing this. Unfortunately, the hardware engineer who made this hardware change is not around to ask why the change was made. I'll do a V2 since, I don't see this in renesas-devel. adam > > humm.. I was under the impression it was after talking with one of the > hardware developers, but clearly it's using the same compatible name. > I will investigate this further. One way or the other, I'll redo the > commit message. > > adam > > > > > + reg = <0x70>; > > > + gpio-controller; > > > + #gpio-cells = <2>; > > > + gpio-line-names = > > > + "lcd_reset", > > > + "lcd_pwr", > > > + "lcd_select", > > > + "backlight-enable", > > > + "Touch_shdwn", > > > + "LCD_H_pol", > > > + "lcd_V_pol"; > > > + }; > > > }; > > > > The rest LGTM. > > > > Gr{oetje,eeting}s, > > > > Geert > > > > -- > > Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68k.org > > > > In personal conversations with technical people, I call myself a hacker. But > > when I'm talking to journalists I just say "programmer" or something like that. > > -- Linus Torvalds
Hi Adam, On Fri, Jan 13, 2023 at 2:17 PM Adam Ford <aford173@gmail.com> wrote: > On Wed, Jan 11, 2023 at 11:05 AM Adam Ford <aford173@gmail.com> wrote: > > On Wed, Jan 11, 2023 at 10:29 AM Geert Uytterhoeven > > <geert@linux-m68k.org> wrote: > > > On Wed, Jan 4, 2023 at 3:12 PM Adam Ford <aford173@gmail.com> wrote: > > > > The board used to originally introduce the Beacon Embedded > > > > RZ/G2[M/N/H] boards had a GPIO expander with address 20, but > > > > this was change when the final board went to production. > > > > > > > > The production boards changed both the part itself and > > > > the address. With the incorrect address, the LCD cannot > > > > come up. If the LCD fails, the rcar-du driver fails to come up, > > > > and that also breaks HDMI. > > > > > > > > Pre-release board were not shipped to the general public, so it > > > > should be safe to push this as a fix. Anyone with a production > > > > board would have video fail due to this GPIO expander change. > > > > > > > > Fixes: a1d8a344f1ca ("arm64: dts: renesas: Introduce r8a774a1-beacon-rzg2m-kit") > > > > Signed-off-by: Adam Ford <aford173@gmail.com> > > > > --- a/arch/arm64/boot/dts/renesas/beacon-renesom-baseboard.dtsi > > > > +++ b/arch/arm64/boot/dts/renesas/beacon-renesom-baseboard.dtsi > > > > @@ -437,20 +437,6 @@ wm8962_endpoint: endpoint { > > > > }; > > > > }; > > > > > > > > - /* 0 - lcd_reset */ > > > > - /* 1 - lcd_pwr */ > > > > - /* 2 - lcd_select */ > > > > - /* 3 - backlight-enable */ > > > > - /* 4 - Touch_shdwn */ > > > > - /* 5 - LCD_H_pol */ > > > > - /* 6 - lcd_V_pol */ > > > > - gpio_exp1: gpio@20 { > > > > - compatible = "onnn,pca9654"; > > > > - reg = <0x20>; > > > > - gpio-controller; > > > > - #gpio-cells = <2>; > > > > - }; > > > > - > > > > touchscreen@26 { > > > > compatible = "ilitek,ili2117"; > > > > reg = <0x26>; > > > > @@ -482,6 +468,21 @@ hd3ss3220_out_ep: endpoint { > > > > }; > > > > }; > > > > }; > > > > + > > > > + gpio_exp1: gpio@70 { > > > > + compatible = "onnn,pca9654"; > > > > > > According to the patch description, the actual part was changed, too? > > After a bit of some investigation, the part was changed to > nxp,pca9538. It appears to be the same driver and the same ".data" > structure is used. This probably explains why I didn't see any issues > when I was testing this. Unfortunately, the hardware engineer who > made this hardware change is not around to ask why the change was > made. Yeah, there are lots of compatible parts. > I'll do a V2 since, I don't see this in renesas-devel. Correct, I was waiting for clarification. Looking forward to v2... Thanks! Gr{oetje,eeting}s, Geert -- Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68k.org In personal conversations with technical people, I call myself a hacker. But when I'm talking to journalists I just say "programmer" or something like that. -- Linus Torvalds
diff --git a/arch/arm64/boot/dts/renesas/beacon-renesom-baseboard.dtsi b/arch/arm64/boot/dts/renesas/beacon-renesom-baseboard.dtsi index 8166e3c1ff4e..8b6fe235a8f0 100644 --- a/arch/arm64/boot/dts/renesas/beacon-renesom-baseboard.dtsi +++ b/arch/arm64/boot/dts/renesas/beacon-renesom-baseboard.dtsi @@ -437,20 +437,6 @@ wm8962_endpoint: endpoint { }; }; - /* 0 - lcd_reset */ - /* 1 - lcd_pwr */ - /* 2 - lcd_select */ - /* 3 - backlight-enable */ - /* 4 - Touch_shdwn */ - /* 5 - LCD_H_pol */ - /* 6 - lcd_V_pol */ - gpio_exp1: gpio@20 { - compatible = "onnn,pca9654"; - reg = <0x20>; - gpio-controller; - #gpio-cells = <2>; - }; - touchscreen@26 { compatible = "ilitek,ili2117"; reg = <0x26>; @@ -482,6 +468,21 @@ hd3ss3220_out_ep: endpoint { }; }; }; + + gpio_exp1: gpio@70 { + compatible = "onnn,pca9654"; + reg = <0x70>; + gpio-controller; + #gpio-cells = <2>; + gpio-line-names = + "lcd_reset", + "lcd_pwr", + "lcd_select", + "backlight-enable", + "Touch_shdwn", + "LCD_H_pol", + "lcd_V_pol"; + }; }; &lvds0 {