From patchwork Fri Jan 18 23:43:37 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Martin Blumenstingl X-Patchwork-Id: 10771827 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id ADAD11390 for ; Fri, 18 Jan 2019 23:44:06 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 9B0772FAD3 for ; Fri, 18 Jan 2019 23:44:06 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 8C32B2FB44; Fri, 18 Jan 2019 23:44:06 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-5.2 required=2.0 tests=BAYES_00,DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED,DKIM_VALID,FREEMAIL_FROM,MAILING_LIST_MULTI,RCVD_IN_DNSWL_MED autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 421BE2FAD3 for ; Fri, 18 Jan 2019 23:44:06 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:Cc:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-Id:Date:Subject:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=Kea5NjYs8rMm0/M18sP609+8Umk9KycmviDiwJlOOqc=; b=m2sZlIJumc3THC Mr64kHF1hO2CMxxFvxNnKQNpfDpH0T5MpEiXC3yeAbrv/cSAuHyVuZKuJ2ROlwIGq7XxjKwo2xrpr qPeG1QqSZq3H/Cwy34vnYX9NecAAAqtAaq1/cYS6PwuwnVWf351NX6wQusWkgJ56FxNhU6ZRERqe+ CNzeL2BaBOcjXG4fxmr716ViLbGXd/qe7nO2GJPm47/j+ar9v6Fmub7+J2f/uKHITu8o1/OGzixgY Kj8i4CZSRwav0r8pNEp0euF7E62tB6uN+zIdFe9WyWFLFCWD5P1JojwHqhaAkXteciJAM3grxzA1W soRsqKSFzRQX/DEDLltw==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.90_1 #2 (Red Hat Linux)) id 1gkdnu-00054G-UW; Fri, 18 Jan 2019 23:44:02 +0000 Received: from mail-wr1-x441.google.com ([2a00:1450:4864:20::441]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1gkdni-0004sU-5O; Fri, 18 Jan 2019 23:43:51 +0000 Received: by mail-wr1-x441.google.com with SMTP id v13so17068857wrw.5; Fri, 18 Jan 2019 15:43:49 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=ZMi2KnKdLTkomqgDyETnU89SoNC5t5pFsNQhVgdxAsk=; b=R7zFH8QmzxDxUva/dxd35XSbZuKcbQwf7kO+t7wVTRNnoU88SlmsdRqgF3LnpY+83s cqab5l8YqCrzID/lngSv1SRpEKvGolxjzBasn9u8A4a6dEeHA6Ax+7bAgyRo49FWnNGu x63YoI9Jj31EWSEWdv/7v6H962jZ90AnvaI2YZwZU2EswEpeNdJKyywVEvE/M0bnhGJh b5yNo6/7qkX9MTVpCXdrHojVx/bnjq1bIf5hEk+D0/XtI4BCusKwtKCRWdl/KidAOaZi bVzJcPTdmAY0VWlTwTHhKArc07ga8AkY8dNaTGMkNLvS9DPccxfWReW4P37P9XPKQsMc DZyQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=ZMi2KnKdLTkomqgDyETnU89SoNC5t5pFsNQhVgdxAsk=; b=TTS+gOXnhqo5cO6PbzSOjOnl0/A4jj/erNbC6B4gmf8nXTu7lB6iWU0gRW7jM5j96w XjwT9YyHNmM7jCslP8kZFmYDwdb/3CarmrQ9Vepnj2IZgiLiIS8BsAz2zeAu8VWIBiEp rpdsHgSMSq8LzP7zd39nt7OxvPMV7emJxbjsqYAv/tevgZUWs11rlS41y0ib+XawxT9t 1hkLYhE6sl9AKR0d1FKwlrWFHZNxJCl8DoYEcDl+8/RuXCfr1vZB44jXXQEoHOhuswJ/ g6TB2ihyTnTKGH8SCRvPvaa5+jw/XLHkvv6rX4DSqWytXQsItC+HV79sVh0dtUifrsF4 Jz6A== X-Gm-Message-State: AJcUukcpj1SjVuT4xRv5Wqcf4T1xxNd6YsWz/PccFd2TeSABgXU7Utve ENeCFalu7X25AUQVszGz00G41k7q X-Google-Smtp-Source: ALg8bN4g84Xd0gKFdHPXGt8CIQhNFPIzZ5EV5+dktJPoN1l35xvgbXIeLNawIALCArqn2BGrHMnVjA== X-Received: by 2002:adf:e509:: with SMTP id j9mr19605782wrm.76.1547855028053; Fri, 18 Jan 2019 15:43:48 -0800 (PST) Received: from blackbox.darklights.net (p200300DCD73A810039E290CB771389D7.dip0.t-ipconnect.de. [2003:dc:d73a:8100:39e2:90cb:7713:89d7]) by smtp.googlemail.com with ESMTPSA id j8sm108970024wmd.0.2019.01.18.15.43.46 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 18 Jan 2019 15:43:47 -0800 (PST) From: Martin Blumenstingl To: linux-amlogic@lists.infradead.org, khilman@baylibre.com Subject: [PATCH 1/3] ARM: dts: meson8b: ec100: enable the Ethernet PHY interrupt Date: Sat, 19 Jan 2019 00:43:37 +0100 Message-Id: <20190118234339.16050-2-martin.blumenstingl@googlemail.com> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20190118234339.16050-1-martin.blumenstingl@googlemail.com> References: <20190118234339.16050-1-martin.blumenstingl@googlemail.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20190118_154350_200088_0BC5D84D X-CRM114-Status: GOOD ( 10.00 ) X-BeenThere: linux-amlogic@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Martin Blumenstingl , linux-arm-kernel@lists.infradead.org Sender: "linux-amlogic" Errors-To: linux-amlogic-bounces+patchwork-linux-amlogic=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP The INTR32 pin of the IP101GR Ethernet PHY is routed to the GPIOH_3 pad on the SoC. Enable the interrupt function of the PHY's INTR32 pin to switch it from it's default "receive error" mode to "interrupt pin" mode. Signed-off-by: Martin Blumenstingl --- arch/arm/boot/dts/meson8b-ec100.dts | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/arch/arm/boot/dts/meson8b-ec100.dts b/arch/arm/boot/dts/meson8b-ec100.dts index cba0006e2de0..1a41d89d1fa5 100644 --- a/arch/arm/boot/dts/meson8b-ec100.dts +++ b/arch/arm/boot/dts/meson8b-ec100.dts @@ -169,6 +169,10 @@ eth_phy0: ethernet-phy@0 { /* IC Plus IP101A/G (0x02430c54) */ reg = <0>; + icplus,select-interrupt; + interrupt-parent = <&gpio_intc>; + /* GPIOH_3 */ + interrupts = <17 IRQ_TYPE_LEVEL_LOW>; }; }; }; From patchwork Fri Jan 18 23:43:38 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Martin Blumenstingl X-Patchwork-Id: 10771831 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 0E114139A for ; Fri, 18 Jan 2019 23:44:24 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id F0EFE2FBBB for ; Fri, 18 Jan 2019 23:44:23 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id E4EB72FC9F; Fri, 18 Jan 2019 23:44:23 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-5.2 required=2.0 tests=BAYES_00,DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED,DKIM_VALID,FREEMAIL_FROM,MAILING_LIST_MULTI,RCVD_IN_DNSWL_MED autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 68B912FBBB for ; Fri, 18 Jan 2019 23:44:23 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:Cc:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-Id:Date:Subject:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=124+1H3KBTSG9r04WiitS/o4g2xsm4c8aThhWqem14Y=; b=PCKHoe2j2+bN8d A0dx6abYoMtCuyslz02IFfhDJo5U+MAC63zrI08pfv4iQunBw5ej2TTeWmNmH+ZcaNMgrq7S47bJ4 fsnWpYP9uM8xzgEb3+ID/yNlkrICLnXjNoqkjdl8n2ZcDW1DP/Uj3rgbriuX70NK3qWrolGoDRnGs fW+b0XDeGBeI+zdWV3RjeuuN7yiz/Tc9UEagy4VB3L42jRoaXq5APMYM0WPzwquWlIp451RpFrEFJ D+3BUXlz7c/PIf1Lbl5x2CH/Q/JYJp0Yj9XwVwW63SWTBQ0oTb13bZhSR8V5rzucSiTonPVrgkINo 2S/2Mv3cJDoZjkTl9WbA==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.90_1 #2 (Red Hat Linux)) id 1gkdoD-0005NA-IE; Fri, 18 Jan 2019 23:44:21 +0000 Received: from mail-wr1-x442.google.com ([2a00:1450:4864:20::442]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1gkdni-0004sh-Sg; Fri, 18 Jan 2019 23:43:52 +0000 Received: by mail-wr1-x442.google.com with SMTP id s12so17066775wrt.4; Fri, 18 Jan 2019 15:43:50 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=b8iF22LUkWvDIB7WAhLCpBIoGZvslkNjok08zXr0mj0=; b=d9aPAOV2/D7Q9MSjwWsBeAzy2Ek4MR+9VgFXqUXcDx0oYFVvvxAphA2Am9lbALMGee t2mTo+1j1ArxT/am2d1iOVp5XxwH09xTjztVRbJu3Gp7nUSJ5z+fsJ397dfcd3fwBhvE RtlUk614gUNiXU1yjMMJEAExfV9rX2+UMjTiLLHzyPEfC2cCrgEIUTTKIq91bAwEcvbt zBEQEQNKXtA6DwiTIm1YCtUyRxQKeq4phlqiS5Gdkt8M/i0QCI+8Ul70uCwQtF3CqGjj hj52Fk7Pu0bdfS7H4FWYMca6zPu3fxrDbHhSUbJ1udxHJ1v9DbOGFfPA9AoKNFb2Va8c NzOQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=b8iF22LUkWvDIB7WAhLCpBIoGZvslkNjok08zXr0mj0=; b=pdoxFxgGJEN6Gtkgp5t2JrGONIX65tpZh4PpFYMsNK2aaoT1ikA0ijirI1Fk6fQjUA RKslpuXHi3QIpw1Ax0k87GTblLvErC0tPP72oaeP0f9r1Cpd6T43wNtQY+y3v9KLN8x8 /Iy1JOeVXTiFLphGLEsmhDxB13TFaixJ1hryQDupw19q+NE5j75lu+gdD7vD27gE4NWA +mPofJa/BLWD3bmZ5eZsscnlbtHQQgwcb7tzjzTTAJG/qD3uQdBS1D5ijgbCRb1sCXHG A070ug0PKe9SMJtbQPaba03gPPsEn+6vVxJMYrWIAaz/upAx91A/zyfNXQ2IlS+2Vtch 8BAA== X-Gm-Message-State: AJcUukeJxKlQT7jPE5fgZfPrW9WFb5LV8bCADQafg3OjGwpnK6FJnyDB AxTmaSgLIVN24OEr322F+LvfUhwF X-Google-Smtp-Source: ALg8bN7AvZAmhdmvwEScHfxu11cEgns7itF8yUOocUoncn40SsYi4VVXD+BBd0ONIDKsNJPfOeOZHw== X-Received: by 2002:adf:f903:: with SMTP id b3mr19304216wrr.82.1547855029164; Fri, 18 Jan 2019 15:43:49 -0800 (PST) Received: from blackbox.darklights.net (p200300DCD73A810039E290CB771389D7.dip0.t-ipconnect.de. [2003:dc:d73a:8100:39e2:90cb:7713:89d7]) by smtp.googlemail.com with ESMTPSA id j8sm108970024wmd.0.2019.01.18.15.43.48 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 18 Jan 2019 15:43:48 -0800 (PST) From: Martin Blumenstingl To: linux-amlogic@lists.infradead.org, khilman@baylibre.com Subject: [PATCH 2/3] ARM: dts: meson8b: ec100: improve the description of the regulators Date: Sat, 19 Jan 2019 00:43:38 +0100 Message-Id: <20190118234339.16050-3-martin.blumenstingl@googlemail.com> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20190118234339.16050-1-martin.blumenstingl@googlemail.com> References: <20190118234339.16050-1-martin.blumenstingl@googlemail.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20190118_154350_921959_6B3A13CA X-CRM114-Status: GOOD ( 12.60 ) X-BeenThere: linux-amlogic@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Martin Blumenstingl , linux-arm-kernel@lists.infradead.org Sender: "linux-amlogic" Errors-To: linux-amlogic-bounces+patchwork-linux-amlogic=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP USB_VBUS is a controlled by a Silergy SY6288CCAC-GP 2A Power Distribution Switch. The name of it's enable GPIO signal is USB_PWR_EN. VCC5V is supplied by the main power input called PWR_5V_STB. The name of it's enable GPIO signal is 3V3_5V_EN. VCC3V3, VCC_DDR3_1V5 and VCCK (the CPU power supply) each use a separate Silergy SY8089AAC-GP 2A step down regulator. They are all supplied by the board's main 5V. VCC3V3 and VCC_DDR3_1V5 are fixed regulators while the voltage of VCCK can be changed by changing it's feedback voltage via PWM_C. VCC1V8 is an ABLIC S-1339D18-M5001-GP fixed voltage regulator which is supplied by VCC3V3. VCC_RTC is a Global Mixed-mode Technology Inc. G918T12U-GP LDO which. It is supplied by either VCC3V3 (when the board is powered) or the RTC coin cell battery. Signed-off-by: Martin Blumenstingl --- arch/arm/boot/dts/meson8b-ec100.dts | 68 +++++++++++++++++++++++++++++ 1 file changed, 68 insertions(+) diff --git a/arch/arm/boot/dts/meson8b-ec100.dts b/arch/arm/boot/dts/meson8b-ec100.dts index 1a41d89d1fa5..5ecd787e9265 100644 --- a/arch/arm/boot/dts/meson8b-ec100.dts +++ b/arch/arm/boot/dts/meson8b-ec100.dts @@ -88,6 +88,9 @@ }; usb_vbus: regulator-usb-vbus { + /* + * Silergy SY6288CCAC-GP 2A Power Distribution Switch. + */ compatible = "regulator-fixed"; regulator-name = "USB_VBUS"; @@ -95,11 +98,20 @@ regulator-min-microvolt = <5000000>; regulator-max-microvolt = <5000000>; + vin-supply = <&vcc_5v>; + + /* + * signal name from the schematics: USB_PWR_EN + */ gpio = <&gpio_ao GPIOAO_5 GPIO_ACTIVE_HIGH>; enable-active-high; }; vcc_5v: regulator-vcc5v { + /* + * supplied by the main power input which called PWR_5V_STB + * in the schematics + */ compatible = "regulator-fixed"; regulator-name = "VCC5V"; @@ -107,6 +119,9 @@ regulator-min-microvolt = <5000000>; regulator-max-microvolt = <5000000>; + /* + * signal name from the schematics: 3V3_5V_EN + */ gpio = <&gpio GPIODV_29 GPIO_ACTIVE_LOW>; regulator-boot-on; @@ -114,12 +129,18 @@ }; vcck: regulator-vcck { + /* + * Silergy SY8089AAC-GP 2A continuous, 3A peak, 1MHz + * Synchronous Step Down Regulator. + */ compatible = "pwm-regulator"; regulator-name = "VCCK"; regulator-min-microvolt = <860000>; regulator-max-microvolt = <1140000>; + vin-supply = <&vcc_5v>; + pwms = <&pwm_cd 0 1148 0>; pwm-dutycycle-range = <100 0>; @@ -128,19 +149,66 @@ }; vcc_1v8: regulator-vcc1v8 { + /* + * ABLIC S-1339D18-M5001-GP + */ compatible = "regulator-fixed"; regulator-name = "VCC1V8"; regulator-min-microvolt = <1800000>; regulator-max-microvolt = <1800000>; + + vin-supply = <&vcc_3v3>; }; vcc_3v3: regulator-vcc3v3 { + /* + * Silergy SY8089AAC-GP 2A continuous, 3A peak, 1MHz + * Synchronous Step Down Regulator. Also called + * VDDIO_AO3.3V in the schematics. + */ compatible = "regulator-fixed"; regulator-name = "VCC3V3"; regulator-min-microvolt = <3300000>; regulator-max-microvolt = <3300000>; + + vin-supply = <&vcc_5v>; + }; + + vcc_ddr3: regulator-vcc-ddr3 { + /* + * Silergy SY8089AAC-GP 2A continuous, 3A peak, 1MHz + * Synchronous Step Down Regulator. Also called + * DDR3_1.5V in the schematics. + */ + compatible = "regulator-fixed"; + + regulator-name = "VCC_DDR3_1V5"; + regulator-min-microvolt = <1500000>; + regulator-max-microvolt = <1500000>; + + vin-supply = <&vcc_5v>; + + regulator-boot-on; + regulator-always-on; + }; + + vcc_rtc: regulator-vcc-rtc { + /* + * Global Mixed-mode Technology Inc. G918T12U-GP + */ + compatible = "regulator-fixed"; + + regulator-name = "VCC_RTC"; + regulator-min-microvolt = <900000>; + regulator-max-microvolt = <900000>; + + /* + * When the board is powered then the input is VCC3V3, + * otherwise power is taken from the coin cell battery. + */ + vin-supply = <&vcc_3v3>; }; }; From patchwork Fri Jan 18 23:43:39 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Martin Blumenstingl X-Patchwork-Id: 10771835 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id DE4091390 for ; Fri, 18 Jan 2019 23:44:42 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id C8F1F2FBBB for ; Fri, 18 Jan 2019 23:44:42 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id BA2122FC9F; Fri, 18 Jan 2019 23:44:42 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-5.2 required=2.0 tests=BAYES_00,DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED,DKIM_VALID,FREEMAIL_FROM,MAILING_LIST_MULTI,RCVD_IN_DNSWL_MED, UPPERCASE_50_75 autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 5061F2FBBB for ; Fri, 18 Jan 2019 23:44:42 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:Cc:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-Id:Date:Subject:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=IT+lXFw2sJDW+cXr+XkEKn/dk57WzPcbuOAIe05Kj8Y=; b=fASmQ5VBLwy8CO h/GufMrBYuKXy4X8Vd3fEFER+ym5hiewV+jECYxZIdeHfc1ZbV8c7tQLroUvF6N/nHOsIoIMvxeyM pENGg3YZUq9pA2XqD95y5P65IlL2sTPsl8X+/JrDuKW/lsCJzvrOJJPakQQmWX/Lk/iRrPQxTgTFO bIZyMsVOCAfyO4K1WadUJuZudTec9rh2kjAf78wgXFCs6cs9Ow/jcM1+PgmVqtGV8gyigJUlbdkNP LJefgHoB/IY1JPAa5i3bwdNgHclwIIsCZTPdUhnGVtRH9takLzgwM+D5WkjWpKo7FCfWoEMackSwf 7fwbzacX83q9QXumhjkA==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.90_1 #2 (Red Hat Linux)) id 1gkdoW-0005gt-C5; Fri, 18 Jan 2019 23:44:40 +0000 Received: from mail-wr1-x441.google.com ([2a00:1450:4864:20::441]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1gkdnj-0004tA-Sx; Fri, 18 Jan 2019 23:43:53 +0000 Received: by mail-wr1-x441.google.com with SMTP id t6so17000368wrr.12; Fri, 18 Jan 2019 15:43:51 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=JrTHYLjAfqH/LuOKfXauzd+5MsTXoqD9khhUxUFncuc=; b=BPYg7qpaZFjAc7NNQRxZmfxiV+7x0dKNUqPiB26iok4tLYZJhmO1Yk2HRcBEN60mob Ox4YXc3CgEXxW+2PbZFOoOhhiU+5OOIKQDb9M/o7XkpsZBrKQaomMsriqrKU6RMdC2jl FqusnfMbQ+czsDrxJZPMrjndv7cnmAF0fDJSt2stmZiZwMBfKAnTH5pAkhhzVwMMNrkM 9Bx1huBitgYtq1TQhO07fJYU84xRDaLjdCfj5JdRVz56gSUrAKxXkc2tSFw0V7kh0zUR ez/6B5xOCVMQUsijwZvmsPOhr1ZVviKwIBp+PFO/TLlzAXxXSJfj84cvQx4byEBCpFJ3 lO7g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=JrTHYLjAfqH/LuOKfXauzd+5MsTXoqD9khhUxUFncuc=; b=kzQZgkqExZTr09GcANDACitc1ALnnyZYyTt1BRHnuq5+oX4svZKOVew+i7DrU85zrV H4OaGQ1XI6Dt92fOsayl+Zdg6h0Wb7uEgSc4WYno3R1UOrp6akbZ8P7BH9v6TW8nDMOn +VmjIa6LOFpcIzBMAaSjJ0n/LcI8Lxr2vR7u7t0+nfsame/0zzf6rQ4ktElJp4CJ90iO w3iIpVQCogAXmsbk34Z4Kq/BkNhrCa13Uq5JUsySsKS296X0RPMDNXp0hTdwDYs1h5d2 Hj84Hzmc4JexV/Rt9fxdakBDOC4ugoZatJ4SZcpF3PPZhrFNUDm4n9Z4pm5fwz8BobLC IbzA== X-Gm-Message-State: AJcUukdGnTi3aL1QctGr9VVnFJr8G+ObVF1OZkBWRsLOz2GPlIqpjQyC svYoGTMgKdxqpnN0X+s+SPmPaaG/ X-Google-Smtp-Source: ALg8bN4RVl5PElSfM/oj+M/ToPesknq8DM7ILVmATxDEfk0+W0FQ7TMHx58BvnX1ctSqh2vdTao+8Q== X-Received: by 2002:adf:9246:: with SMTP id 64mr19635198wrj.130.1547855030195; Fri, 18 Jan 2019 15:43:50 -0800 (PST) Received: from blackbox.darklights.net (p200300DCD73A810039E290CB771389D7.dip0.t-ipconnect.de. [2003:dc:d73a:8100:39e2:90cb:7713:89d7]) by smtp.googlemail.com with ESMTPSA id j8sm108970024wmd.0.2019.01.18.15.43.49 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 18 Jan 2019 15:43:49 -0800 (PST) From: Martin Blumenstingl To: linux-amlogic@lists.infradead.org, khilman@baylibre.com Subject: [PATCH 3/3] ARM: dts: meson8b: ec100: add the GPIO line names Date: Sat, 19 Jan 2019 00:43:39 +0100 Message-Id: <20190118234339.16050-4-martin.blumenstingl@googlemail.com> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20190118234339.16050-1-martin.blumenstingl@googlemail.com> References: <20190118234339.16050-1-martin.blumenstingl@googlemail.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20190118_154351_928378_B753A1B7 X-CRM114-Status: UNSURE ( 9.13 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-amlogic@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Martin Blumenstingl , linux-arm-kernel@lists.infradead.org Sender: "linux-amlogic" Errors-To: linux-amlogic-bounces+patchwork-linux-amlogic=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP This adds the GPIO line names from the schematics to get them displayed in the debugfs output of each GPIO controller. Signed-off-by: Martin Blumenstingl --- arch/arm/boot/dts/meson8b-ec100.dts | 50 +++++++++++++++++++++++++++++ 1 file changed, 50 insertions(+) diff --git a/arch/arm/boot/dts/meson8b-ec100.dts b/arch/arm/boot/dts/meson8b-ec100.dts index 5ecd787e9265..b35b1c6b8fdc 100644 --- a/arch/arm/boot/dts/meson8b-ec100.dts +++ b/arch/arm/boot/dts/meson8b-ec100.dts @@ -288,6 +288,56 @@ }; }; +&gpio_ao { + gpio-line-names = "Linux_TX", "Linux_RX", + "SLP_S5_N", "USB2_OC_FLAG#", + "HUB_RST", "USB_PWR_EN", + "I2S_IN", "SLP_S1_N", + "TCK", "TMS", "TDI", "TDO", + "HDMI_CEC", "5640_IRQ", + "MUTE", "S805_TEST#"; +}; + +&gpio { + gpio-line-names = /* Bank GPIOX */ + "WIFI_SD_D0", "WIFI_SD_D1", "WIFI_SD_D2", + "WIFI_SD_D3", "BTPCM_DOUT", "BTPCM_DIN", + "BTPCM_SYNC", "BTPCM_CLK", "WIFI_SD_CLK", + "WIFI_SD_CMD", "WIFI_32K", "WIFI_PWREN", + "UART_B_TX", "UART_B_RX", "UART_B_CTS_N", + "UART_B_RTS_N", "BT_EN", "WIFI_WAKE_HOST", + /* Bank GPIOY */ + "", "", "", "", "", "", "", "", "", "", + "", "", + /* Bank GPIODV */ + "VCCK_PWM_C", "I2C_SDA_A", "I2C_SCL_A", + "I2C_SDA_B", "I2C_SCL_B", "VDDEE_PWM_D", + "VDDEE_PWM 3V3_5V_EN", + /* Bank GPIOH */ + "HDMI_HPD", "HDMI_I2C_SDA", "HDMI_I2C_SCL", + "RMII_IRQ", "RMII_RST#", "RMII_TXD1", + "RMII_TXD0", "AV_select_1", "AV_select_2", + "MCU_Control_S", + /* Bank CARD */ + "SD_D1_B", "SD_D0_B", "SD_CLK_8726MX", + "SD_CMD_8726MX", "SD_D3_B", "SD_D2_B", + "CARD_EN_DET (CARD_DET)", + /* Bank BOOT */ + "NAND_D0 (EMMC)", "NAND_D1 (EMMC)", + "NAND_D2 (EMMC)", "NAND_D3 (EMMC)", + "NAND_D4 (EMMC)", "NAND_D5 (EMMC)", + "NAND_D6 (EMMC)", "NAND_D7 (EMMC)", + "NAND_CS1 (EMMC)", "NAND_CS2 iNAND_RS1 (EMMC)", + "NAND_nR/B iNAND_CMD (EMMC)", "NAND_ALE (EMMC)", + "NAND_CLE (EMMC)", "nRE_S1 NAND_nRE (EMMC)", + "nWE_S1 NAND_nWE (EMMC)", "", "", "SPI_CS", + /* Bank DIF */ + "RMII_RXD1", "RMII_RXD0", "RMII_CRS_DV", + "RMII_50M_IN", "GPIODIF_4", "GPIODIF_5", + "RMII_TXEN", "CPUETH_25MOUT", "RMII_MDC", + "RMII_MDIO"; +}; + &pwm_cd { status = "okay"; pinctrl-0 = <&pwm_c1_pins>;