From patchwork Mon Mar 25 10:14:48 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Neil Armstrong X-Patchwork-Id: 10868741 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 95B511708 for ; Mon, 25 Mar 2019 10:15:17 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 7CC00291F6 for ; Mon, 25 Mar 2019 10:15:17 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 7099B292BF; Mon, 25 Mar 2019 10:15:17 +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_SIGNED, DKIM_VALID,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 0F13F292BE for ; Mon, 25 Mar 2019 10:15:17 +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=Cx9tpu8tZaQwZyVnzph1URv4/l/klR9Ft0rjwq5R88Y=; b=UiyROVqJr1dqan JGF/V9s+9G86dcscq14ZBBlpw46vZfkOkoFA6/V+xw2eLMLxKWGoqPfOb7OIQnBflnp6d1iuQmfIy pQblA6U0YwWDGuVv0100sESKWgy31qyL6tIWDU+5AWauixPI3Lq4Fn6XGCCjiQAShGTSSTZXzENH2 Czwx+W5SjVonvneC6fB7qW6g1pwQSr7k4vWr6Ola3LUzyw60fjyeJMLfDK7hH3RbTZqtJOvG63Vw8 ObEcJxXE+P/cDU3tv9vm0oY6go6qNYL66crg4x1qBX537sRHkf2Piqqn635JE9Ll2pl4ozjbdibIl GA6xf4BbRQ1s1WWxChyg==; 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 1h8MdP-0002BK-TD; Mon, 25 Mar 2019 10:15:15 +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 1h8Md9-0000jw-Lc for linux-amlogic@lists.infradead.org; Mon, 25 Mar 2019 10:15:03 +0000 Received: by mail-wr1-x442.google.com with SMTP id w10so9400681wrm.4 for ; Mon, 25 Mar 2019 03:14:59 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=baylibre-com.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=mONwxENhpKvTTQwCoB1Esyjq9hiq9z607IfSptpkVMk=; b=D9n9W/WrhVnLyL14ZrVWWRMVU7NxLkg4o76ElZp6yLWBsLpiC26p5JWjtySyUyh3v1 +tsIdKdw1UWSZNG+dBtb3nqWgikFvBVS8cH/sTeFTYWimpv+RgvfV8csX8RwXAppaEcW EGvNVHe6Dp7ZawdRJcR2JM/i6a/vWXZbqCypp/8/fBQuRQ1PR6BZYBLSOzd8ofNhJQDT iOKuupwE6xe2HEscaa7jhxLzv+CIXb5e8b4WIQIdve6Q8RKfugFYcpBSqNgwk631FuEc lRJ6zowts3tEWXtdUHq0eHsKYKJaQ4lv9YM+PhS8KsvM1vxIuMFkpOZLr3PMTRsy8gWJ HWnQ== 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=mONwxENhpKvTTQwCoB1Esyjq9hiq9z607IfSptpkVMk=; b=B8sO/B4mtBPVRQSEzQ0RAQtO2DaFdUBzotgprsp3KZH9AMysGzQu05dIy7MtVPfptH saUdScQCfB3ChubacNxTqSgarVquTAn8GTd5KFuHtK7GSVYNbijsn4nvzihtZZ+YzIB+ VH5f7mNgbyYNhr8dXi6y7IMExFAo+RQlLcB2DZzA+ZRDFxMMwsOx2Q5C1ssFPkPzhGit NocbiK6ApnB3KMrIulYksWY4B+42Ph9NXt11OxwKJ9po9XHTEpfKzgAGjvm6aEX/2q78 PS502bG+5Yh6uYhzideh/+b4iiftz8+wgnJBNjQvhz91pxCjr5wKMnwY4evoCchG8qo5 6AOA== X-Gm-Message-State: APjAAAXgIbHyYhr7wEZAN7pX6wf2X7QaxeD51K9FZVOno6UMqV+/hbbF LS5Ac95n7C7miuZYq3TvvngXRQ== X-Google-Smtp-Source: APXvYqwY6vtF1bLLpkIF8ZiE5nBSl9EjUTCXx3wj95kqnSeBvfs2nPQ312T+uvVklUxQjj3p2kR9Gw== X-Received: by 2002:a5d:6706:: with SMTP id o6mr11531637wru.36.1553508896881; Mon, 25 Mar 2019 03:14:56 -0700 (PDT) Received: from bender.baylibre.local (lmontsouris-657-1-212-31.w90-63.abo.wanadoo.fr. [90.63.244.31]) by smtp.gmail.com with ESMTPSA id v14sm20049484wrr.20.2019.03.25.03.14.55 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Mon, 25 Mar 2019 03:14:56 -0700 (PDT) From: Neil Armstrong To: khilman@baylibre.com Subject: [PATCH v3 1/6] arm64: dts: meson-g12a-x96-max: add regulators Date: Mon, 25 Mar 2019 11:14:48 +0100 Message-Id: <20190325101453.3009-2-narmstrong@baylibre.com> X-Mailer: git-send-email 2.21.0 In-Reply-To: <20190325101453.3009-1-narmstrong@baylibre.com> References: <20190325101453.3009-1-narmstrong@baylibre.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20190325_031459_710275_B2372FC2 X-CRM114-Status: UNSURE ( 9.34 ) 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: linux-amlogic@lists.infradead.org, Guillaume La Roque , linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, Neil Armstrong Sender: "linux-amlogic" Errors-To: linux-amlogic-bounces+patchwork-linux-amlogic=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP From: Guillaume La Roque Add system regulators for the X96 Max Set-Top-Box. Still missing * VDD_EE (0.8V - PWM controlled) * VDD_CPU (PWM controlled) Signed-off-by: Guillaume La Roque Signed-off-by: Neil Armstrong Reviewed-by: Martin Blumenstingl --- .../boot/dts/amlogic/meson-g12a-x96-max.dts | 67 +++++++++++++++++++ 1 file changed, 67 insertions(+) diff --git a/arch/arm64/boot/dts/amlogic/meson-g12a-x96-max.dts b/arch/arm64/boot/dts/amlogic/meson-g12a-x96-max.dts index 0edbd00b358f..0ba28491e2b0 100644 --- a/arch/arm64/boot/dts/amlogic/meson-g12a-x96-max.dts +++ b/arch/arm64/boot/dts/amlogic/meson-g12a-x96-max.dts @@ -6,6 +6,8 @@ /dts-v1/; #include "meson-g12a.dtsi" +#include +#include / { compatible = "amediatech,x96-max", "amlogic,u200", "amlogic,g12a"; @@ -21,6 +23,71 @@ device_type = "memory"; reg = <0x0 0x0 0x0 0x40000000>; }; + + flash_1v8: regulator-flash_1v8 { + compatible = "regulator-fixed"; + regulator-name = "FLASH_1V8"; + regulator-min-microvolt = <1800000>; + regulator-max-microvolt = <1800000>; + vin-supply = <&vcc_3v3>; + regulator-always-on; + }; + + dc_in: regulator-dc_in { + compatible = "regulator-fixed"; + regulator-name = "DC_IN"; + regulator-min-microvolt = <5000000>; + regulator-max-microvolt = <5000000>; + regulator-always-on; + }; + + vcc_1v8: regulator-vcc_1v8 { + compatible = "regulator-fixed"; + regulator-name = "VCC_1V8"; + regulator-min-microvolt = <1800000>; + regulator-max-microvolt = <1800000>; + vin-supply = <&vcc_3v3>; + regulator-always-on; + }; + + vcc_3v3: regulator-vcc_3v3 { + compatible = "regulator-fixed"; + regulator-name = "VCC_3V3"; + regulator-min-microvolt = <3300000>; + regulator-max-microvolt = <3300000>; + vin-supply = <&vddao_3v3>; + regulator-always-on; + /* FIXME: actually controlled by VDDCPU_B_EN */ + }; + + vcc_5v: regulator-vcc_5v { + compatible = "regulator-fixed"; + regulator-name = "VCC_5V"; + regulator-min-microvolt = <5000000>; + regulator-max-microvolt = <5000000>; + vin-supply = <&dc_in>; + + gpio = <&gpio GPIOH_8 GPIO_OPEN_DRAIN>; + enable-active-low; + }; + + vddao_1v8: regulator-vddao_1v8 { + compatible = "regulator-fixed"; + regulator-name = "VDDAO_1V8"; + regulator-min-microvolt = <1800000>; + regulator-max-microvolt = <1800000>; + vin-supply = <&vddao_3v3>; + regulator-always-on; + }; + + vddao_3v3: regulator-vddao_3v3 { + compatible = "regulator-fixed"; + regulator-name = "VDDAO_3V3"; + regulator-min-microvolt = <3300000>; + regulator-max-microvolt = <3300000>; + vin-supply = <&dc_in>; + regulator-always-on; + }; }; &uart_AO { From patchwork Mon Mar 25 10:14:49 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Neil Armstrong X-Patchwork-Id: 10868747 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 541B313B5 for ; Mon, 25 Mar 2019 10:15:46 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 3A1C22915F for ; Mon, 25 Mar 2019 10:15:46 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 2E7EB29170; Mon, 25 Mar 2019 10:15:46 +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_SIGNED, DKIM_VALID,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 B1076292D2 for ; Mon, 25 Mar 2019 10:15:45 +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=gdUxO6I9EE5v/RNh63nYY4IGmFNADUd6bgPkjqx0D/0=; b=iTMIHO0WH9YAMJ gref6uKogFRnAHxAp/XvAiWL8+QX1WwJuhMThqnhPU20XW4XWFIKXiuOhNcR/4tEShJdfefSDEIUA 5SplBQ72u907LGk7lL9+HmYPVk0zXuDclTIwlipO/yYU7WeHBtPQT82RcqfiXAKlGN76QDkUEFOrk AJLkA+bBCQkRw+ylf+TpWCM3Bp+F8RltG/6XnmjqHiRfhSH06+gpOUEDP+glJVvWaPk5xM8ozEYsR h82R5Z+iE8U85Jc18qB6cyeIvDCK5VRIX6rLuUn88ze7WPymPWApn8/uu9dEp+TEbAFoKkJx5t6D4 WihYjIyJmOkMfFnlgHbA==; 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 1h8Mdr-0002nE-RN; Mon, 25 Mar 2019 10:15:43 +0000 Received: from mail-wr1-x444.google.com ([2a00:1450:4864:20::444]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1h8MdB-0000k0-5P for linux-amlogic@lists.infradead.org; Mon, 25 Mar 2019 10:15:09 +0000 Received: by mail-wr1-x444.google.com with SMTP id t5so9352319wri.7 for ; Mon, 25 Mar 2019 03:14:59 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=baylibre-com.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=Fb9NUdP7aJF7aVxwxVvvXLo3BssoKq3ad2sMWdbhWKU=; b=bmxFBhuixM6Y0aQvp2OBhII92c5CZu8zoWhG/Djr/Wxs/v8UvKJ87mHwoAKaCcdo9p Qx5p9MY1c0eAPBQZFOJZuuySRiD+ECspZzTKvJxvz8IRD9ecuik2m6wZsrfOY0UX2dVj uZwvF9REAIHlamsFymFw4Be4Xak11G8f/lHswwxSSpCaUsblW88IDGelk4kL8twO2kSA qgTYyB1+aMHENtxHesc8NqsbDG3gXBJV2FM9KXTyWvW+CpjrJM0O+d0p+t+2lPpuJYTi rSgn3LGxJOVcRhYzEgcxlMXRTCmkyumtop+q+dOmYQ2NQpk2Ziv7J/SbrZ+X3c3k/uhw O9Wg== 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=Fb9NUdP7aJF7aVxwxVvvXLo3BssoKq3ad2sMWdbhWKU=; b=izZtTZciNVL6y6EEVoUbvgMDLWreqx2dVCuXrY0Ai9l1viOLlV6j44UfO27RHWA5sR iYBI/YMB0ATH05fK9xaDw9IGIpTtfQZs+PJG7bkpWic+kJmBksEB/NcfdLTbw/wNDk0o XiTy2viJ7mWpNIYwB8pOBkcUsz/hoK3QeCHzRrGNicDTUgPIIM65A4tfVeO/73FvpfT1 ptKlXL8j4iHxA97xpUV7nB2ellqDAiIVMItcplVE85puJigApK1PCijPkzHLdfulKrwe ijXB9a6aR1a0b4Rw+a3NkSJJz2hbfHY8kLBCV1JM7KQKPH89brAnt+I+ED7GdqbFvl/D xfLg== X-Gm-Message-State: APjAAAXjoYUvz8Sqb+9kh/+H2EZFrEMVDlo4DzWnsubp1M5UiZwVnGIQ mBy3kunRX4rKwpnSqDaXUQFc7A== X-Google-Smtp-Source: APXvYqxF30zrGpFl8CxlnpmOCpgJMoeWFt44u6hTpiCPoqtxuQ9V5obSJwcmGhPo544k0LTu+MC62g== X-Received: by 2002:a5d:6b10:: with SMTP id v16mr10165366wrw.294.1553508898035; Mon, 25 Mar 2019 03:14:58 -0700 (PDT) Received: from bender.baylibre.local (lmontsouris-657-1-212-31.w90-63.abo.wanadoo.fr. [90.63.244.31]) by smtp.gmail.com with ESMTPSA id v14sm20049484wrr.20.2019.03.25.03.14.56 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Mon, 25 Mar 2019 03:14:57 -0700 (PDT) From: Neil Armstrong To: khilman@baylibre.com Subject: [PATCH v3 2/6] arm64: dts: meson-g12a-x96-max: Enable BT Module Date: Mon, 25 Mar 2019 11:14:49 +0100 Message-Id: <20190325101453.3009-3-narmstrong@baylibre.com> X-Mailer: git-send-email 2.21.0 In-Reply-To: <20190325101453.3009-1-narmstrong@baylibre.com> References: <20190325101453.3009-1-narmstrong@baylibre.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20190325_031501_852967_1527BD8B X-CRM114-Status: UNSURE ( 9.02 ) 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-amlogic@lists.infradead.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, Neil Armstrong Sender: "linux-amlogic" Errors-To: linux-amlogic-bounces+patchwork-linux-amlogic=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP Enable the Bluetooth Module on the X96 Max Set-Top-Box. Signed-off-by: Neil Armstrong Reviewed-by: Martin Blumenstingl --- arch/arm64/boot/dts/amlogic/meson-g12a-x96-max.dts | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/arch/arm64/boot/dts/amlogic/meson-g12a-x96-max.dts b/arch/arm64/boot/dts/amlogic/meson-g12a-x96-max.dts index 0ba28491e2b0..0a6919523ba9 100644 --- a/arch/arm64/boot/dts/amlogic/meson-g12a-x96-max.dts +++ b/arch/arm64/boot/dts/amlogic/meson-g12a-x96-max.dts @@ -90,6 +90,18 @@ }; }; +&uart_A { + status = "okay"; + pinctrl-0 = <&uart_a_pins>, <&uart_a_cts_rts_pins>; + pinctrl-names = "default"; + uart-has-rtscts; + + bluetooth { + compatible = "brcm,bcm43438-bt"; + shutdown-gpios = <&gpio GPIOX_17 GPIO_ACTIVE_HIGH>; + }; +}; + &uart_AO { status = "okay"; pinctrl-0 = <&uart_ao_a_pins>; From patchwork Mon Mar 25 10:14:50 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Neil Armstrong X-Patchwork-Id: 10868751 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 33FA513B5 for ; Mon, 25 Mar 2019 10:15:48 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 152F92904A for ; Mon, 25 Mar 2019 10:15:48 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 095502917B; Mon, 25 Mar 2019 10:15:48 +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_SIGNED, DKIM_VALID,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 814FA28FD7 for ; Mon, 25 Mar 2019 10:15:47 +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=E6TN6ZRV0JYRp3YM1behxZu1k4Xto40WcwqwguFAl/c=; b=AsNFkkPhRMS52J 8KUO8tAaXANqcHFsuIlCMU2DSauDRJ3IFbfLVNZ/i7pfoJe03ApVYDSBrkZhnOdMAvFHiiduUxZ+J GeGGtJf0X2EYImOzz+W+UDxN1RFArLYbDob8HcwRpPLXyUczPn54b46+3XCZYL/JkzReq9d02CXdk FB83Cm/M2A/78logUMh66KcKbiTGNWUNaC0V2tIh8QiKBR4cMhp+JWkDNnrkqFD2VyaG7JtPfe/NT vOmw9bB8ezPoGKZZiB4HzsEqJmJDjE+HTslB7H0PzEp145N75FiG2bTPV3fESpBGwq9RVcqNUDCW8 K7X2yyVawhVZc3NzpdBg==; 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 1h8Mdt-0002q2-KX; Mon, 25 Mar 2019 10:15:45 +0000 Received: from mail-wr1-x444.google.com ([2a00:1450:4864:20::444]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1h8MdB-0000k8-5Q for linux-amlogic@lists.infradead.org; Mon, 25 Mar 2019 10:15:09 +0000 Received: by mail-wr1-x444.google.com with SMTP id y13so9417786wrd.3 for ; Mon, 25 Mar 2019 03:15:00 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=baylibre-com.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=eoab4q66SflsReoALbDgKiwEnwXi2XyBPYUBOHzp7t4=; b=unWjUbO6Ch2azEZc1/BUGuIJ+na9DBHks1DS8GwWQ51NyxdemjvbXVxyCybM3PnakQ 4QYXOGQMQtW2EPekXAkW0dT1/YNNwP0SoaVIesX6POMy452VERFF4/Fw0aYdVUv+l0jK 95+WtExEX3n6P347bN0lF8SlDA94VmuU3TSyAR4ATJrZJY9e3vJe0BUocidw2iJR6bOA kkrwxBY2NS8HqcDEyeLGBGxinBDC+6B8eyUBfE4C1DTBJ4rRjkmSxtpX04W7g+1T3THv LPlrsjIMwAhxCRq/PQZCkkJnQpbCDxoWxB1uFW3ZfvA9bmTo3iMsOFQ2GlX7mRrlwljJ 4eBg== 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=eoab4q66SflsReoALbDgKiwEnwXi2XyBPYUBOHzp7t4=; b=RHcFV577gJ+17jwMYa31amSUUaFxZT+N3U8ziNNxEHZVT4RXVySuoZT0k0RqCxJ55h o6mPMbsHZEGlf/EzN66qaX32vJY/AttCzsp5dCRU4HkPr+75NPBGfAN8E5zwM/LKO/R3 5wP1CzAHJ7ToibdMi/K3ycNx91rshUvmDLPMUD/DbXbgBG/QaeWtJelUBU0ReQ6MnEV1 wuhKWmssFe7lbntBrFURfRa5+PgB4vxhUHtmMJ/Y0NL/anxL1euBPDP/UC1VotDoj9lQ BWQIYoeCgubVz/KqCkPDMU8TPeflvCQAlwqYJAHtJiIxGlOoUMZB48RAgf6z6lnjbHqs NzcA== X-Gm-Message-State: APjAAAU7cd6XHv3j4ff8spHZinoB/oYqJ7pDaOgrHoedd8ZhC6gfhF8U mS8XDqvE8xhgVYuXKBI5X+31wQ== X-Google-Smtp-Source: APXvYqxkiZKmgF6aN+zHudSL0A7vUghhhzuSPZ6F7zd3zPZQwakOVlt++fn7s0EgmJs5W6hGjUsrWA== X-Received: by 2002:adf:f101:: with SMTP id r1mr4984471wro.251.1553508898985; Mon, 25 Mar 2019 03:14:58 -0700 (PDT) Received: from bender.baylibre.local (lmontsouris-657-1-212-31.w90-63.abo.wanadoo.fr. [90.63.244.31]) by smtp.gmail.com with ESMTPSA id v14sm20049484wrr.20.2019.03.25.03.14.58 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Mon, 25 Mar 2019 03:14:58 -0700 (PDT) From: Neil Armstrong To: khilman@baylibre.com Subject: [PATCH v3 3/6] arm64: dts: meson-g12a-sei510: Add ADC Key and BT support Date: Mon, 25 Mar 2019 11:14:50 +0100 Message-Id: <20190325101453.3009-4-narmstrong@baylibre.com> X-Mailer: git-send-email 2.21.0 In-Reply-To: <20190325101453.3009-1-narmstrong@baylibre.com> References: <20190325101453.3009-1-narmstrong@baylibre.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20190325_031501_806352_210CF464 X-CRM114-Status: GOOD ( 10.44 ) 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-amlogic@lists.infradead.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, Neil Armstrong Sender: "linux-amlogic" Errors-To: linux-amlogic-bounces+patchwork-linux-amlogic=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP Add support for the : - ADC Touch key - Bluetooth Module on UART A Signed-off-by: Neil Armstrong Acked-by: Martin Blumenstingl --- .../boot/dts/amlogic/meson-g12a-sei510.dts | 30 +++++++++++++++++++ 1 file changed, 30 insertions(+) diff --git a/arch/arm64/boot/dts/amlogic/meson-g12a-sei510.dts b/arch/arm64/boot/dts/amlogic/meson-g12a-sei510.dts index 43d57e20294a..ebdad5a192f1 100644 --- a/arch/arm64/boot/dts/amlogic/meson-g12a-sei510.dts +++ b/arch/arm64/boot/dts/amlogic/meson-g12a-sei510.dts @@ -7,6 +7,7 @@ #include "meson-g12a.dtsi" #include +#include #include / { @@ -17,6 +18,19 @@ serial0 = &uart_AO; }; + adc_keys { + compatible = "adc-keys"; + io-channels = <&saradc 0>; + io-channel-names = "buttons"; + keyup-threshold-microvolt = <1800000>; + + button-onoff { + label = "On/Off"; + linux,code = ; + press-threshold-microvolt = <1700000>; + }; + }; + ao_5v: regulator-ao_5v { compatible = "regulator-fixed"; regulator-name = "AO_5V"; @@ -87,7 +101,23 @@ vin-supply = <&vddao_3v3>; regulator-always-on; }; +}; + +&saradc { + status = "okay"; + vref-supply = <&vddio_ao1v8>; +}; + +&uart_A { + status = "okay"; + pinctrl-0 = <&uart_a_pins>, <&uart_a_cts_rts_pins>; + pinctrl-names = "default"; + uart-has-rtscts; + bluetooth { + compatible = "brcm,bcm43438-bt"; + shutdown-gpios = <&gpio GPIOX_17 GPIO_ACTIVE_HIGH>; + }; }; &uart_AO { From patchwork Mon Mar 25 10:14:51 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Neil Armstrong X-Patchwork-Id: 10868753 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 5769D13B5 for ; Mon, 25 Mar 2019 10:15:51 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 40AB2292D8 for ; Mon, 25 Mar 2019 10:15:51 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 34824292D2; Mon, 25 Mar 2019 10:15:51 +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_SIGNED, DKIM_VALID,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 87846292D8 for ; Mon, 25 Mar 2019 10:15:50 +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=eM1B2KaFItGK7DGkZhLmNqFnw4naN538l8vGHIsp3V4=; b=O8Gtmg5JWSPoVY VuPKvoV6s9edC3NuuVdvBG0uskFUSh9ZaBoW8NPYbgAPqDQzP0CSvlupTWh0VICRpvlttw8QzXxXJ ErZtHE6hVX2RYgw84BcXRrTYr+Q+TO6Td4rXUJRzzYf+lJjGRnk+nzXFd6NzYkDssgP/pKRVzdctV wkhzRd13hkGRKfcBanGndtlCBK8D1YvWanPuJgRL4rq87DgGs0d/GHaxCsO9VtHfn0BBsdbmH/sN6 y0CU9DrSD2U+RJ45/jjRiOZqH0U77+RfL5M5pJZngYl3PaQJ1kldgti/On5uDvc1zoptXrG0RS+Y1 d+ggnGSXZWqX/9YJ9CTg==; 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 1h8Mdv-0002t4-VL; Mon, 25 Mar 2019 10:15:47 +0000 Received: from mail-wm1-x341.google.com ([2a00:1450:4864:20::341]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1h8MdD-0000mh-MH for linux-amlogic@lists.infradead.org; Mon, 25 Mar 2019 10:15:11 +0000 Received: by mail-wm1-x341.google.com with SMTP id f3so8251023wmj.4 for ; Mon, 25 Mar 2019 03:15:03 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=baylibre-com.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=qGmnnBPdv0kX3d1SiwFphEnQB3L12sT0h0laTVodru8=; b=nfoV1sBH0DBevTe5jXjzrSNl6evf2KHgFrcK/dqRPCJpWJeM/dPvzX/O8vM7NbAhMI spSQ7mS3fq19hkNYKzxb/zlStiWOBQ3c19WgO3e8Lr5VXuc/jOtrh8xhIbzIen+kzAE5 hXJamnznpz4diFAOJ1ARhjGvC1w1kit0uu5A9AYtIasOqlD45jzMk5y99l0XNuW3at7D NHGBH1LTrxoiIOE4NVNyHsku4WPuFtBaLSJxaNwhuMIdFeI7/cybkIDcBA/V+fdV9hab M4/pVTAxhZqYME5AOKjEfpcK2zYTUdeRf3csP5zZ+5F+vZ4LMlq/KPVExp8y0HAdyn31 nn6w== 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=qGmnnBPdv0kX3d1SiwFphEnQB3L12sT0h0laTVodru8=; b=llunRF1HKQJb9F4lrLB+bcPTwU9vbGHTCHz/osql6YpMcQlwN2PuTLK5F3Rs5d9dAX s92wMDJJBFaC83MnG8KKw8A3u9Pnd4I+o0Aeo4JVb7L2vgB+Zl9TfznVR4nQVWdaX2Ss XJ/iFtgTVo+YOcNv1HOuKQjrVF10qVryC+RDEzLhDi5GBWVPnMl3sHY/+yWn7F5sbLZl kbd424RjbtgSpc2qSThYUhaJVOaMhmfaCGOKpuTV4eZVpMW51HnDlORrbHmL2Z78YQo1 vKmNrfL5te9AaWbAiY6sId3bwIuD+tFNjs3wxTqGywxD35VDPO/8k3r1Sng9A0FLdBHF PZJw== X-Gm-Message-State: APjAAAXGBMtDGrwcxEgtaY6lP3Ai5EhZxf2txwdog/WC3fJA9npbDJyt 7lMeJBWsLEssTQs9ofYtr2um2A== X-Google-Smtp-Source: APXvYqwKgrj6KqlCj4sDwrNiNJaZXi3Tj2kOESIcHceArA1jrd/Ab1CXqmvsUNn4sic91ardTt5YiA== X-Received: by 2002:a7b:cd03:: with SMTP id f3mr2473755wmj.130.1553508900223; Mon, 25 Mar 2019 03:15:00 -0700 (PDT) Received: from bender.baylibre.local (lmontsouris-657-1-212-31.w90-63.abo.wanadoo.fr. [90.63.244.31]) by smtp.gmail.com with ESMTPSA id v14sm20049484wrr.20.2019.03.25.03.14.59 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Mon, 25 Mar 2019 03:14:59 -0700 (PDT) From: Neil Armstrong To: khilman@baylibre.com Subject: [PATCH v3 4/6] arm64: dts: meson-g12a-sei510: Enable USB Date: Mon, 25 Mar 2019 11:14:51 +0100 Message-Id: <20190325101453.3009-5-narmstrong@baylibre.com> X-Mailer: git-send-email 2.21.0 In-Reply-To: <20190325101453.3009-1-narmstrong@baylibre.com> References: <20190325101453.3009-1-narmstrong@baylibre.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20190325_031503_914364_0B53A8CF X-CRM114-Status: UNSURE ( 9.50 ) 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-amlogic@lists.infradead.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, Neil Armstrong Sender: "linux-amlogic" Errors-To: linux-amlogic-bounces+patchwork-linux-amlogic=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP Enable the USB2 and USB3 Host ports on the SEI520 Set-Top-Box. Signed-off-by: Neil Armstrong Reviewed-by: Martin Blumenstingl --- arch/arm64/boot/dts/amlogic/meson-g12a-sei510.dts | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/arch/arm64/boot/dts/amlogic/meson-g12a-sei510.dts b/arch/arm64/boot/dts/amlogic/meson-g12a-sei510.dts index ebdad5a192f1..c350a0165d44 100644 --- a/arch/arm64/boot/dts/amlogic/meson-g12a-sei510.dts +++ b/arch/arm64/boot/dts/amlogic/meson-g12a-sei510.dts @@ -125,3 +125,8 @@ pinctrl-0 = <&uart_ao_a_pins>; pinctrl-names = "default"; }; + +&usb { + status = "okay"; + dr_mode = "host"; +}; From patchwork Mon Mar 25 10:14:52 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Neil Armstrong X-Patchwork-Id: 10868759 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 C493A13B5 for ; Mon, 25 Mar 2019 10:16:12 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id AC5E528FD7 for ; Mon, 25 Mar 2019 10:16:12 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id A0BB229012; Mon, 25 Mar 2019 10:16:12 +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_SIGNED, DKIM_VALID,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 1D1DD28FD7 for ; Mon, 25 Mar 2019 10:16:12 +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=QqYcN9qpJLBjhbI2bULg34DwYNSznrzbaC2ripKRhEk=; b=TpxP/U4rUYpbSM nJdWQKGjN1tCZb3dGb31AZXgw6fGoGWqjvlrCzdYRZGyssAcd+hHypOwS7x+PuXy8HJHhBuhgpatT HYmq9kN6IyEMsSx/59ac92azV4LFwea0333K8ky3y8yzvb2t+IoskjZvqxEG9UG5ouhW8CVLlpCXw irLkVHENPCSedFYlhWpvoNRF8G0wIs3lYfuT5dcWyu639ON92qzRouYYxZQkjlj7rwaUjr/eCyVEX rGHwgOMDXn2Xgdqxp2vC4WxoSCL1tYeDZ37Q+Urt9NACjwhKyfi+BpyFK9M7Iilp4ksgWTnZjcNbY FO5HtTVZ+fdDXxP97OOQ==; 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 1h8MeH-0003DD-Mr; Mon, 25 Mar 2019 10:16:09 +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 1h8MdF-0000me-Ua for linux-amlogic@lists.infradead.org; Mon, 25 Mar 2019 10:15:18 +0000 Received: by mail-wr1-x441.google.com with SMTP id w10so9400951wrm.4 for ; Mon, 25 Mar 2019 03:15:03 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=baylibre-com.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=yEQc6Wg8CZcOFKxbK8s1T4WXh2s7N0+F2je28egpEkM=; b=VTRPpUxsdWXbvv7s+emAjTBvA/MqASJ8uvpD//UsmZrVF4PxfkW/Flq3+RtLo6M4Q5 mA+18RfAY4Wq0AZW/5NQuAQjVSqpGenpGOwhByGggapCMKigQua+t+dE5G1J18yLbih4 qEgO7KH00eq9d7xjbxqeU5oLR7YnByL2UqgWZ38CprGg+DIsBoWHzZf4di/GYI5wseku VDeaX6iRVxu+0Kf4mAuAVOkjzKEWgWyHNy305nrnJNsjDet4L1LYsKDQ7ImBmVOjdCLM Wt1VZnnjz/uNmbkD7VGZj/6ozwKiLiIR7LQFaZX7iUjPIBtt7YkvSxDY5ZYliu8ekvnZ apAw== 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=yEQc6Wg8CZcOFKxbK8s1T4WXh2s7N0+F2je28egpEkM=; b=jkDmwFK0TEFdzN9MDXOl4RJX/Abg2NJbdQmSsYR6dFkoRCVDxjE7EkqAbXg0GM8oHE pV5kiMcZLFMN1VC0oiMTxRgvJO9wLlnsJ9HXUDucQm/HeBQiD+XE6C1uuTJpa2quBETZ WM04Ex/aYnEgtZMg/5yExtE4XyzyDS0QWvRB55BCS489sOSpb2eo2aCw4/+In5V9slKP 8kYuMaU9CH/i2MewgENATA4+fa2nBwV+8d4nIqo3ziH3niAiBP8gbY+jD7qVFhQZ1Ma9 iqWFpsN0TEQEXG6epxW9d7QeAuYMsaHEiAPXV7yBEIwgO3+5W7Waq9MlhO2cXtV3xAPt BfBA== X-Gm-Message-State: APjAAAUIQVADoYY7SRqk2f7eSrQoWNkgOfFLjUNDDFmss0a01gGO9ozA HsrdlR4tv+r4x8M3qpFj9BM4tA== X-Google-Smtp-Source: APXvYqw+efCxqUDAf3UmoXIoYX8pvXaCy+7DXnJZURVRZ797iHI/qbzdgU+ufRqjODLA/Ddjc/AsOw== X-Received: by 2002:a5d:4a87:: with SMTP id o7mr10621233wrq.306.1553508901246; Mon, 25 Mar 2019 03:15:01 -0700 (PDT) Received: from bender.baylibre.local (lmontsouris-657-1-212-31.w90-63.abo.wanadoo.fr. [90.63.244.31]) by smtp.gmail.com with ESMTPSA id v14sm20049484wrr.20.2019.03.25.03.15.00 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Mon, 25 Mar 2019 03:15:00 -0700 (PDT) From: Neil Armstrong To: khilman@baylibre.com Subject: [PATCH v3 5/6] arm64: dts: meson-g12a-u200: Enable USB Date: Mon, 25 Mar 2019 11:14:52 +0100 Message-Id: <20190325101453.3009-6-narmstrong@baylibre.com> X-Mailer: git-send-email 2.21.0 In-Reply-To: <20190325101453.3009-1-narmstrong@baylibre.com> References: <20190325101453.3009-1-narmstrong@baylibre.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20190325_031506_141703_B142DDFC X-CRM114-Status: UNSURE ( 8.90 ) 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-amlogic@lists.infradead.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, Neil Armstrong Sender: "linux-amlogic" Errors-To: linux-amlogic-bounces+patchwork-linux-amlogic=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP Enable the USB2 OTG and USB3 Host ports on the S905D2 Reference Design. Signed-off-by: Neil Armstrong Acked-by: Martin Blumenstingl --- arch/arm64/boot/dts/amlogic/meson-g12a-u200.dts | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/arch/arm64/boot/dts/amlogic/meson-g12a-u200.dts b/arch/arm64/boot/dts/amlogic/meson-g12a-u200.dts index c69328d16333..2240e365af27 100644 --- a/arch/arm64/boot/dts/amlogic/meson-g12a-u200.dts +++ b/arch/arm64/boot/dts/amlogic/meson-g12a-u200.dts @@ -108,3 +108,15 @@ pinctrl-names = "default"; }; +&usb { + status = "okay"; + vbus-supply = <&usb_pwr_en>; +}; + +&usb2_phy0 { + phy-supply = <&vcc_5v>; +}; + +&usb2_phy1 { + phy-supply = <&vcc_5v>; +}; From patchwork Mon Mar 25 10:14:53 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Neil Armstrong X-Patchwork-Id: 10868757 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 BA51713B5 for ; Mon, 25 Mar 2019 10:16:09 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id A19B928FD7 for ; Mon, 25 Mar 2019 10:16:09 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 9590A2909F; Mon, 25 Mar 2019 10:16:09 +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_SIGNED, DKIM_VALID,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 0E0F229012 for ; Mon, 25 Mar 2019 10:16:08 +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=rbWcpTWYpiZ7gPKKnhCPhDNqRd5WNha8N+0pomu3lgY=; b=O+wGtRN7HIo0gT biy5s6ZWIiZx0gu+3YHnWAVjMMqROqKE19zv1vXheDBUoLjyUX0JbTeVccLpJmNMLZMFBVY725JI5 htZfz/g5d43+2WsAyTizEKa9+p83Ta2AnURP9sb+9mZMG2G5sffKIKpygZEHajpJNKyRg9VgkToXv Ck64keVeMv+UL63AsBAClXnMu3Koat2jBdIPTWBLilLmZHDVLThwIeNsPZWcsD6SLbjz9AlQ2LOFX WlR++yXnhhJWiGkjf+tc5vuYQ9s8VQWe8jzxfUmvOe8YcE8OtnM+CQxCTxFr8mwHS2mOlnfIrgkVn aviUD3Z6kIRsjqidJ5LQ==; 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 1h8MeF-0003Af-Oo; Mon, 25 Mar 2019 10:16:07 +0000 Received: from mail-wr1-x444.google.com ([2a00:1450:4864:20::444]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1h8MdE-0000wD-Je for linux-amlogic@lists.infradead.org; Mon, 25 Mar 2019 10:15:18 +0000 Received: by mail-wr1-x444.google.com with SMTP id k17so1432061wrx.10 for ; Mon, 25 Mar 2019 03:15:04 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=baylibre-com.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=ZGh/bbaqKCOThumggThLrmBLJwz7e2gPGPo9vmyZO80=; b=VCrGc7kUfYbEsXw57eNOQBuESMeV7hUKZmhur24iWOCjJ50V48ECW2JvtLV4EDD3W2 /Rpj6jo0wOT3y/H2apFAsA7wjj+WLRJbcPeRCPrIXSL3117rWHXnWEmJmH7n28s6AJ4q eYmgs/Wol7d3EUoh+1FaD5OilsO76Ees3oyw9hzwVF4aEQsVfcM6PWSszAtLV3QmDWZa rjOANiaWNewsRD18cIaYoXR4bKR8dmT/qXBOYfGNVgJwXaD3CqspR65rGowmfKwnXrUq t6urzobbXJkj2tggyiIxzpcAQ1yDwtS6AmXMifXLHYr9cx0Qz1OHvJiPt/hC4fdfuIPs RDkw== 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=ZGh/bbaqKCOThumggThLrmBLJwz7e2gPGPo9vmyZO80=; b=Ts5GmCKdhZux9mZZog8pjGhWsz+xjDl2747fg6mQUsOpUkm+OO2WEjuqgXMEvAISLI tlxHOw9t+9z6jhKRCGG9UGvW2lT3kwIysVO50JH7pjpTR32dKXSX4C+a6SY7J7GI+K0J F7CuWb4Jd5PNcWGPLc5yvhRhJUTY09RXvF2FbEA378NaUrJfStSx/vk0MMkOVepuaeOL TmHck8AVbha0nO1a7HY1UzOaUO5W79OOAoN1r5A+bUM95wwGlVy1jcghMVGDf0M1Slnl xk4MZJnjgBT9jwWK/sTRnor08BdNAy1Qkz3k4OsUWwS4b2DRjdNVThL+g7GlS87PTOOq n1bQ== X-Gm-Message-State: APjAAAXY5VL+Dye74RAkKudPzg4ObZ6VV17CgKyFgLVt/1+86mA2K7UT 5IJacVgCnU95e/xgjoopQlLOzg== X-Google-Smtp-Source: APXvYqxofpZWT8De35Lex7hD5td6XL5zU8jbsjN+raCsd5szalnxYOmVxw3xkD+0cKZLAXbE47+/9g== X-Received: by 2002:a5d:4a8d:: with SMTP id o13mr14381359wrq.209.1553508902317; Mon, 25 Mar 2019 03:15:02 -0700 (PDT) Received: from bender.baylibre.local (lmontsouris-657-1-212-31.w90-63.abo.wanadoo.fr. [90.63.244.31]) by smtp.gmail.com with ESMTPSA id v14sm20049484wrr.20.2019.03.25.03.15.01 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Mon, 25 Mar 2019 03:15:01 -0700 (PDT) From: Neil Armstrong To: khilman@baylibre.com Subject: [PATCH v3 6/6] arm64: dts: meson-g12a-x96-max: Enable USB Date: Mon, 25 Mar 2019 11:14:53 +0100 Message-Id: <20190325101453.3009-7-narmstrong@baylibre.com> X-Mailer: git-send-email 2.21.0 In-Reply-To: <20190325101453.3009-1-narmstrong@baylibre.com> References: <20190325101453.3009-1-narmstrong@baylibre.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20190325_031504_646803_21953FBB X-CRM114-Status: UNSURE ( 9.41 ) 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-amlogic@lists.infradead.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, Neil Armstrong Sender: "linux-amlogic" Errors-To: linux-amlogic-bounces+patchwork-linux-amlogic=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP Enable the USB2 and USB3 Host ports on the X96 Max Set-Top-Box. Signed-off-by: Neil Armstrong Reviewed-by: Martin Blumenstingl --- arch/arm64/boot/dts/amlogic/meson-g12a-x96-max.dts | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/arch/arm64/boot/dts/amlogic/meson-g12a-x96-max.dts b/arch/arm64/boot/dts/amlogic/meson-g12a-x96-max.dts index 0a6919523ba9..b5b88262c06a 100644 --- a/arch/arm64/boot/dts/amlogic/meson-g12a-x96-max.dts +++ b/arch/arm64/boot/dts/amlogic/meson-g12a-x96-max.dts @@ -107,3 +107,8 @@ pinctrl-0 = <&uart_ao_a_pins>; pinctrl-names = "default"; }; + +&usb { + status = "okay"; + dr_mode = "host"; +};