From patchwork Mon Mar 18 10:04: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: 10857213 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 80CC1139A for ; Mon, 18 Mar 2019 10:05:43 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 613082931F for ; Mon, 18 Mar 2019 10:05:43 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 55B9E29322; Mon, 18 Mar 2019 10:05:43 +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 006B32931F for ; Mon, 18 Mar 2019 10:05: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=tqjqsuazwonGM0UoD5Wk73yjJMBeKFd7vNR5X6whjp0=; b=tw4uBHgppSTRi+ yAo26YG5dTk1pttxDP60pm6sI8ah6DoXYg+k5tivy+RylsQd/rvQ327TuTvFDg7Y2SvrS3/l9mmBu NbaqWddcYqMK8RTnlYz/TXATNaRinQ4EYqkz1GxA8f3VWHZrWEfE7Vq1oiaXdCSXwlCXkb650B5if JQiYPyaSmjZ3bEmsKAUkGQFenEtY/MSoF6kGJAt/dGH7zq6FqyKe2S2h05ElfuS9AD7iigAeBixcr SGZjfgOH0Ec1Hukn6LMX1jKVH+cTK4v0KAO5Wy29fyfrzbCCILfvaj0Y/Beg0FJfjNtTGIvFNrCO6 r+IcECHMLdjay3qVB4LQ==; 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 1h5p9I-0001LW-Fi; Mon, 18 Mar 2019 10:05: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 1h5p8g-0007xJ-HQ for linux-arm-kernel@lists.infradead.org; Mon, 18 Mar 2019 10:05:06 +0000 Received: by mail-wr1-x441.google.com with SMTP id t5so16299193wri.7 for ; Mon, 18 Mar 2019 03:05:02 -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=nWvS9QxnFmdXHeokNJBgpYlCnjX8I5tKgKMXO5N+5pU=; b=wQB2iOYsrdwO3a7AdPyp8JrnfiSSUF22RMHTYOCjS9tyK07DzXX6IASMrqYXnrQNVy 3X9LHor2cknXREwQ24Wt1qqE54PE2AWieema41QBqGJaWoc3kLxSS6h0Gy3EOVMtw3kV JN5wrp23jHI/W822CBU82kvi5T8ioYEGEsZiGVNyWCSEQBF1h6Po+bwRxqkDSPl/zGyO yi/39jY+F8hcDmMHrNkW06tBsnrebhLS2KJqQmNTVt90yckwqi6I92FxjHXWJXME8HUC GR/rWzKRm4w3+Xo367QY57fEQzqQFrtZa+U7GEtT+JlYz7HvEWU7WJxwHDHFhQ/Sid7J 8bqA== 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=nWvS9QxnFmdXHeokNJBgpYlCnjX8I5tKgKMXO5N+5pU=; b=QB4oV4Zmkpw8X8em7YrqfoSguB/3L3929WKrPqc/35AxrSM0K8gWv6nkV7Aa3+MK9x mTkqE+YmlNDOEMT37A35qdoY4vtkDczi0scgKK/ixL9EHPNK+Y3vKuvNuCKpSJ/p8qy2 iTkOlsHFwZulSwnQrKHRu0fPGrCVdItZTaHjxyWEvMeV0HG9L6jBvIDPyiORfuaKKjYI uY+iLgnLryqr9dGJG4WjanGrNYFhPDhC3rnAzRn4g9+0KYLNnOHr4J4Cp7A3J6Nieyas uErg1k8zaZaT7CALmy0ptu577qb63if+NUcWY5ZQiBD5VYIUJCVB4ZUZW6ml8nRVWTHJ WAVg== X-Gm-Message-State: APjAAAUUQfNFLZQAV+U5Ro98RUc0AmSRzPNCp92f/JD7vlSSxp1noBlF heqzkUoYrIqNWVOCiwmEy/Mitw== X-Google-Smtp-Source: APXvYqzi2PdGTcKwPJao/OW19AdYl7B3Arz3pwMvPZ5GfB65baLNEK0eKNlRPO1ypR8xwgY3Vb4FzA== X-Received: by 2002:adf:9cc4:: with SMTP id h4mr10919218wre.327.1552903500946; Mon, 18 Mar 2019 03:05: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 i11sm5216800wrp.40.2019.03.18.03.05.00 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Mon, 18 Mar 2019 03:05:00 -0700 (PDT) From: Neil Armstrong To: khilman@baylibre.com Subject: [PATCH v2 01/11] arm64: dts: meson-g12a-u200: add uart_AO pinctrl Date: Mon, 18 Mar 2019 11:04:48 +0100 Message-Id: <20190318100458.5619-2-narmstrong@baylibre.com> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20190318100458.5619-1-narmstrong@baylibre.com> References: <20190318100458.5619-1-narmstrong@baylibre.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20190318_030502_638444_D131A4D6 X-CRM114-Status: GOOD ( 11.22 ) X-BeenThere: linux-arm-kernel@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-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP Add pinctrl on the always-enabled debug UART AO. Signed-off-by: Neil Armstrong Reviewed-by: Martin Blumenstingl --- arch/arm64/boot/dts/amlogic/meson-g12a-u200.dts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/arch/arm64/boot/dts/amlogic/meson-g12a-u200.dts b/arch/arm64/boot/dts/amlogic/meson-g12a-u200.dts index c44dbdddf2cf..f2afd0bf3e28 100644 --- a/arch/arm64/boot/dts/amlogic/meson-g12a-u200.dts +++ b/arch/arm64/boot/dts/amlogic/meson-g12a-u200.dts @@ -25,5 +25,7 @@ &uart_AO { status = "okay"; + pinctrl-0 = <&uart_ao_a_pins>; + pinctrl-names = "default"; }; From patchwork Mon Mar 18 10:04: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: 10857211 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 B079C13B5 for ; Mon, 18 Mar 2019 10:05:39 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 8F5632931F for ; Mon, 18 Mar 2019 10:05:39 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 83AA529322; Mon, 18 Mar 2019 10:05:39 +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 3CC4F2931F for ; Mon, 18 Mar 2019 10:05:39 +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=VztTySuUmYOvz4TioCPmrM/upyD7kjsIS0RZbhRHkXk=; b=eVjdmsZcSop32O 5ZtIODrhsjoYp2/ihrhl/ObSJLVUV5k2BASkUYNvRTWNHqPUJv0yd4E8HhqgdjxslYIRvsa9wz93T q4zUY+jDD165DyZHmYyup/SR5DGSTa511CGo1Ia37TKLrLAr1k+bdOecEmucKFT8Axw7AZ2IRz22F oVgzpDCPc/BZyd2oRIACSz9jfTjyJNGAX439echkOSHNG3h7qKRmD6IPrYxP3kaMyEVRxMiStSUHX nR2y8ttuXv9KwRnuy9M+dDe95p/vjMJxvcMcxeDwGTYbPvxI3/R1214lOxwlZiZTAw/DqedW8BxY+ 5p6LOH6lXIZP9embDjrw==; 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 1h5p97-0001B0-HB; Mon, 18 Mar 2019 10:05:29 +0000 Received: from mail-wm1-x343.google.com ([2a00:1450:4864:20::343]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1h5p8h-0007zU-Kq for linux-arm-kernel@lists.infradead.org; Mon, 18 Mar 2019 10:05:05 +0000 Received: by mail-wm1-x343.google.com with SMTP id e74so12283596wmg.3 for ; Mon, 18 Mar 2019 03:05: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=7ffLSiIBKhAZEtCPU3WfiQte2GBnhMcDRzZ1LFjIZ1s=; b=t9MvNlOy3+rjGhT5bWMuvzz6dMy1bnIhlVEsDaXd32jB8OdBptfjUzyZ6Mastth1Xa WTFy8/J+hzWDycng7Hp71b1mkv8JaOnX/xljfs2OsQhieXsBZQz0ye79Yc3143y8GZg/ nuCCLHuFtv6yG85hyoaSHxX5PUEu0C754EzKa7czKAWJXw+QZzv6ttQfL73ByrvG8AcA Df8Fj/aytEFflpJZWsaS7ux89buJScDHFxTbCTpqdFX0otATEM5p2IE9Bij0R3Em9mdS e4oK0vHYXHW1RgoCSHM9FKRJnxFnCfqdS7iTCfJPNQaqr5fCTvWEH82QSCBftfVT6wvd ZGZw== 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=7ffLSiIBKhAZEtCPU3WfiQte2GBnhMcDRzZ1LFjIZ1s=; b=bA2F5KKp/bE/OCd+jocJE4ntYIp3B/aF9/77R/wtt67JB1q4C6fM8NL/CYQM/1v3NC wDbc04cy1kwi8nf5SPRPnm96ttHaySLGCwm/qmgOjqesn9haGLiTZRu26cbbSDGF0qHp zrKrdxR9G8OBIRwLkDKgnTUOlg0/zgeu9325LdsJVmpc0O/DAPRxZExmT8ImMPxErPyb zKJcMVPaFmwt2F2R2793VvyXT8ZPnuTY3EU35IJIGESyvo94HSTrrAq0NbnzRdv/1idU lonmeh3GT3gDKyzZoBQMRw1oI6+QfPMoj833Gu0rf0zj5THi+363VCa152tczgObY78b ML+A== X-Gm-Message-State: APjAAAXcoB5xMgLNaZBqjvJCfDiB+DgRYp74qdAOogChJ9jf6JaAfquM XWXD0CFeAuIsEDNsduvRSO01Ew== X-Google-Smtp-Source: APXvYqxB+vufFtnxr8h5ptDHe6SYvw6JH0nlHKjFR+QB0kxtua+cRcc16MeL6hiURQaV2NeLGF/xlg== X-Received: by 2002:a1c:7008:: with SMTP id l8mr10093647wmc.63.1552903501947; Mon, 18 Mar 2019 03:05: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 i11sm5216800wrp.40.2019.03.18.03.05.00 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Mon, 18 Mar 2019 03:05:01 -0700 (PDT) From: Neil Armstrong To: khilman@baylibre.com Subject: [PATCH v2 02/11] arm64: dts: meson-g12a-sei510: add uart_AO pinctrl Date: Mon, 18 Mar 2019 11:04:49 +0100 Message-Id: <20190318100458.5619-3-narmstrong@baylibre.com> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20190318100458.5619-1-narmstrong@baylibre.com> References: <20190318100458.5619-1-narmstrong@baylibre.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20190318_030503_704647_3D279F30 X-CRM114-Status: GOOD ( 11.22 ) X-BeenThere: linux-arm-kernel@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-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP Add pinctrl on the always-enabled debug UART AO. Signed-off-by: Neil Armstrong Reviewed-by: Martin Blumenstingl --- arch/arm64/boot/dts/amlogic/meson-g12a-sei510.dts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/arch/arm64/boot/dts/amlogic/meson-g12a-sei510.dts b/arch/arm64/boot/dts/amlogic/meson-g12a-sei510.dts index 6a7c3241862a..63c515fe4996 100644 --- a/arch/arm64/boot/dts/amlogic/meson-g12a-sei510.dts +++ b/arch/arm64/boot/dts/amlogic/meson-g12a-sei510.dts @@ -35,4 +35,6 @@ &uart_AO { status = "okay"; + pinctrl-0 = <&uart_ao_a_pins>; + pinctrl-names = "default"; }; From patchwork Mon Mar 18 10:04: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: 10857217 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 09A1613B5 for ; Mon, 18 Mar 2019 10:06:00 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id DE0682931D for ; Mon, 18 Mar 2019 10:05:59 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id D203629320; Mon, 18 Mar 2019 10:05:59 +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 81B272931D for ; Mon, 18 Mar 2019 10:05:59 +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=CUzHZL/J2DkxXfp9ZS57+hHi2lxQlEU9biItl1SPpGw=; b=s2FXMQ4P/QHUV6 EL4iRjNV3i5YeqkbZ01FQsxZsux1Mgy7s53VoYLfHYkAleWUWTxaglRkTRcokWorMIhK3ZTsC1wfj 3Fp0eiUrtpl9u7mXGt7NgK4WDbCP+FJGQYR8iS9P3VCBHfHDv5faq5+4BhrtppxbUmlVZbnCWWyvo tV1EwA06Bhox1y9wyq5qtDt8gYG9pEgi4MXwtGAD45LEAiWEqPwr7NokbWLmTa2udEnpwsuBaNmwA xMvKht5As5MTYqwzN6eeF13udhrcZBk9iHSIQ+5tQU08ptr04f0PNGFfpc2Z5HodOOqxxqrsC1N0o Kv3lJWmspX/864t0ThFA==; 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 1h5p9U-0001dm-RJ; Mon, 18 Mar 2019 10:05:52 +0000 Received: from mail-wm1-x344.google.com ([2a00:1450:4864:20::344]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1h5p8j-00089h-0b for linux-arm-kernel@lists.infradead.org; Mon, 18 Mar 2019 10:05:07 +0000 Received: by mail-wm1-x344.google.com with SMTP id v14so3538098wmf.2 for ; Mon, 18 Mar 2019 03:05: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=l4lB+A4NpMmoBfDCc0H8yeSl4aEUFbhEf+MpsV/sM+E=; b=byqOkFPIOilU2z0se+NOCtFSnZjUM8EL67m8TACubdxgrGRXTSIpYz/9Yh2GMzicNK Fdg1XPXfbAD2h6eb4mBaCbIJv9C/rBEg9Qxu8bXROvWuFedcgKHgpVw0jquyKrE7UrRI EtwKBMJqD4+yBWEixq+Lu2fQ9IGWJTt8Jf/PQ2RW7Sv8oz9PrOLpNkg9zVcISIPqjLAQ Zl1TWCxtVM22LrKbBT4UN1hbh7WkPFTaX4ShpcPBewfYasvBwDfzJZ3j0dY+yzImxCNE ZaB+22JrrDht/R0cGUp86DtOpwaPJbOu3NUOJX/JcIAlmNvEVA7sDvAobdSV5V3nXfyO mS1g== 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=l4lB+A4NpMmoBfDCc0H8yeSl4aEUFbhEf+MpsV/sM+E=; b=EwXSdYS0iw4ctkHZ3ASDnZrs6FBldL3Fj2DEaJBk9jfygu35nWqCROSkDUI0GsWRoa B3AgyavTuBa0+fKugZlXcN+6gp6/m+AGeAgNgvAaw7ASP93Q7iauBzLzHqDkwhwTqVAs 41Junk0FCln4XjGJ8wVm5+tk6AMu+NAwNxTiTQDVflAXu5oiriMhDu55A+B7ckrD71lc 6fZ9D9G9/jG7SBnpUpMN3DZp6OdRJ9NWQfzAFtNxBx2yF61Ysz+Sogc2KmcqHaNmjkIn +H2+dyErdaRyz1BwAja69YmZVC6YmfWAwk4C3nyd3qwBbULfir++3fQ69Kyy4Macefep ur5Q== X-Gm-Message-State: APjAAAXmd7Jq7R4aZqIoz0Zr3sS3BLj9c9NKcdhetVXL+z/srfaEaBIG 7yP3i78Jij9NFvK/CVpjipmA1oaF0tT/1w== X-Google-Smtp-Source: APXvYqyot5ZvVxet/erVaABn/qqOji/jAmi82itVHtOpYI0u2yg3sNOlkhFoZw/AtCIwhjWSOdqRgw== X-Received: by 2002:a1c:1a46:: with SMTP id a67mr3702308wma.21.1552903503069; Mon, 18 Mar 2019 03:05:03 -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 i11sm5216800wrp.40.2019.03.18.03.05.01 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Mon, 18 Mar 2019 03:05:02 -0700 (PDT) From: Neil Armstrong To: khilman@baylibre.com Subject: [PATCH v2 03/11] arm64: dts: meson-g12a-x96-max: add uart_AO pinctrl Date: Mon, 18 Mar 2019 11:04:50 +0100 Message-Id: <20190318100458.5619-4-narmstrong@baylibre.com> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20190318100458.5619-1-narmstrong@baylibre.com> References: <20190318100458.5619-1-narmstrong@baylibre.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20190318_030505_121635_F1D27419 X-CRM114-Status: GOOD ( 11.22 ) X-BeenThere: linux-arm-kernel@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-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP Add pinctrl on the always-enabled debug UART AO. Signed-off-by: Neil Armstrong Reviewed-by: Martin Blumenstingl --- arch/arm64/boot/dts/amlogic/meson-g12a-x96-max.dts | 2 ++ 1 file changed, 2 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 c62d3d5706ff..0edbd00b358f 100644 --- a/arch/arm64/boot/dts/amlogic/meson-g12a-x96-max.dts +++ b/arch/arm64/boot/dts/amlogic/meson-g12a-x96-max.dts @@ -25,4 +25,6 @@ &uart_AO { status = "okay"; + pinctrl-0 = <&uart_ao_a_pins>; + pinctrl-names = "default"; }; From patchwork Mon Mar 18 10:04: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: 10857223 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 9A60313B5 for ; Mon, 18 Mar 2019 10:06:30 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 77E2F2931F for ; Mon, 18 Mar 2019 10:06:30 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 6BC7029322; Mon, 18 Mar 2019 10:06:30 +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 F34B52931F for ; Mon, 18 Mar 2019 10:06:29 +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=McAThJx3c+TSWb/tDF7Bw9/E+wmoZ7z3TlmTEM4nmQ0=; b=T/YIjef5QL6czt 4QXvFdfM8Bl4G51sJO4BYSclH/IB57KXjhn1PuRnheDjqYmgjAWP19kXe15l41IKSslsKROMgilWO h/RK5y1LU6GlUsGZINAUaY+1B1vt8FLlIlIIr1Zl0iDvL6tuZ1H016lVqX8qoJEThon698hSNKidX T2HwaCwkUkkj12CqMVb/FErj6PKcbDK5ccW4DGipYONxRRpgJn1w9QasTHn7HlxM63xUoaM62XfMs 1P78Ppai5D8iCjrpdAX8zlReA+b+gyGd3wGoFLZHYd2adnDrM6Axt2GFBr/mkhmepOBiJ/Do4Bz6g Hx56cxvMMbzTskK89Wmw==; 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 1h5p9v-0002B9-53; Mon, 18 Mar 2019 10:06:19 +0000 Received: from mail-wm1-x343.google.com ([2a00:1450:4864:20::343]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1h5p8k-0008K5-Ms for linux-arm-kernel@lists.infradead.org; Mon, 18 Mar 2019 10:05:11 +0000 Received: by mail-wm1-x343.google.com with SMTP id h18so3632552wml.1 for ; Mon, 18 Mar 2019 03:05:06 -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=ka0M5kZ6v8ySNByodqf/V1Upid5BsB19/rCuYJ69Io0=; b=Q6IPGYW5JnzybV9eCeTUZGpZ1t+QYBOReq0nmki/vqAM6f2toL/vrjpXSqtdC6EdSF V6fjdzkqiS2uvJrNUUQ0+07LUcjVsxVryt2prNRQOCFNI487A+sUZNIobOq2WGvbnYvM WGrLRHx/AyYg6H6sbX34SDMQ9WuZvHLvOuPYgBaj8dBj0X0lkNcSuNAC1HTkGRZQGYc8 51zwHFpnmae1ea6bpf6ZMRy1Oqj52erjsGJSxbxKO31+qO59w8B1h7d/+NByJu2/LdS7 nG20pLv2QUQR3TW8Bb9eSNg4cr6/oErqroHmxvqP4I0K4Y0jiPgravFcQGekEt5/A5Is 4I8g== 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=ka0M5kZ6v8ySNByodqf/V1Upid5BsB19/rCuYJ69Io0=; b=LqkJ3ljeXFxTfG8uJWZDGNYc+6KkZKZeBtExvvjV0uLXia/pLH15pBMxLgA9AIuBUB XLqxAmJWBu+7M/PmdHCEwNkA0ZAzbdILvEk6R9RDqEQPRfayItzevj2WUNMZCKdjWlYQ QWHTRcpJrBE/TBzmp8+gJ7mnx/CHOiF7cQL5l3GUdE31yrYeWZFX00SZcKUr4/F3uAox saauQxYFmizYl2fIM9h9+DNWLJcmh058mlQUk4ekEttceafNAVc+qYwtaB0fwklRknID InfJ6ob6y72H7O1mvtfC9kmOPEhFduQhnwHJLDd188kEpqRipzXj2rWV9NMCN43OAGHX fgoA== X-Gm-Message-State: APjAAAWvizGyCy3pA1Um/xXhDE8ht5v5SZER+2hcfw7n6FuXql7KDvKx yoMb/dndJ6hJB6Z5E9F2K5KqTA== X-Google-Smtp-Source: APXvYqzauSS7+U5mbKeWJsPQvpH05dphmAXYiE8cM/k4iZwv2zyyZWyaecnUIJJttDGlsL1iTuLYEw== X-Received: by 2002:a1c:d189:: with SMTP id i131mr3139666wmg.151.1552903504114; Mon, 18 Mar 2019 03:05:04 -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 i11sm5216800wrp.40.2019.03.18.03.05.03 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Mon, 18 Mar 2019 03:05:03 -0700 (PDT) From: Neil Armstrong To: khilman@baylibre.com Subject: [PATCH v2 04/11] arm64: dts: meson-g12a-u200: add regulators Date: Mon, 18 Mar 2019 11:04:51 +0100 Message-Id: <20190318100458.5619-5-narmstrong@baylibre.com> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20190318100458.5619-1-narmstrong@baylibre.com> References: <20190318100458.5619-1-narmstrong@baylibre.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20190318_030507_181184_E54D1155 X-CRM114-Status: GOOD ( 10.81 ) X-BeenThere: linux-arm-kernel@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, Neil Armstrong , linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, Jerome Brunet Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP From: Jerome Brunet Add system regulators for the S905D U200 reference design. Add some regulators. Still missing * VDD_EE (0.8V - PWM controlled) * VDD_CPU (PWM controlled) Signed-off-by: Jerome Brunet Signed-off-by: Neil Armstrong Acked-by: Martin Blumenstingl --- .../boot/dts/amlogic/meson-g12a-u200.dts | 79 +++++++++++++++++++ 1 file changed, 79 insertions(+) diff --git a/arch/arm64/boot/dts/amlogic/meson-g12a-u200.dts b/arch/arm64/boot/dts/amlogic/meson-g12a-u200.dts index f2afd0bf3e28..c69328d16333 100644 --- a/arch/arm64/boot/dts/amlogic/meson-g12a-u200.dts +++ b/arch/arm64/boot/dts/amlogic/meson-g12a-u200.dts @@ -6,6 +6,8 @@ /dts-v1/; #include "meson-g12a.dtsi" +#include +#include / { compatible = "amlogic,u200", "amlogic,g12a"; @@ -21,6 +23,83 @@ 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; + }; + + main_12v: regulator-main_12v { + compatible = "regulator-fixed"; + regulator-name = "12V"; + regulator-min-microvolt = <12000000>; + regulator-max-microvolt = <12000000>; + 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 = <&main_12v>; + + gpio = <&gpio GPIOH_8 GPIO_OPEN_DRAIN>; + enable-active-high; + }; + + usb_pwr_en: regulator-usb_pwr_en { + compatible = "regulator-fixed"; + regulator-name = "USB_PWR_EN"; + regulator-min-microvolt = <5000000>; + regulator-max-microvolt = <5000000>; + vin-supply = <&vcc_5v>; + + gpio = <&gpio GPIOH_6 GPIO_ACTIVE_HIGH>; + enable-active-high; + }; + + 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 = <&main_12v>; + regulator-always-on; + }; + }; &uart_AO { From patchwork Mon Mar 18 10:04: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: 10857219 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 7150913B5 for ; Mon, 18 Mar 2019 10:06:09 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 4D2D42931D for ; Mon, 18 Mar 2019 10:06:09 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 4012229320; Mon, 18 Mar 2019 10:06: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 CD8462931D for ; Mon, 18 Mar 2019 10:06: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=/4H7usr17SmtKWGphlcmpk8ZrQtPoT4Urra6JoXaufc=; b=HJQmjUAr3yDDbD tf8EV2SzFYJLwPavbOKyEuhyLoPGcEyBrY9wNB0O5uuudHKuAzz1px5x2bhfmspwrQBJa8cpshi+U bHgFLFKkRqJkW5MGOO/zUW0LSjBWhMtKCCUe1zakSNLhZVy+YBcBrh5EYI9iE3w4QegPSztXYSz3J DUQucvS1iNAWhvssCuo0NxaQhkBZoEsuTxVrZKCVs0QzmR53rnNj5oGbeefCC1qsJTpgalRFWNP8f VVuR3f2WXzQcop/zSJGzzYHf428dYZlqzmfFFZAPkEdz9lpMklQWQtfrkLKc//qPKBLn5qcDCilxG iPAbNtVx8mO7hx1YAYiA==; 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 1h5p9i-0001st-Av; Mon, 18 Mar 2019 10:06:06 +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 1h5p8l-0008RY-Gx for linux-arm-kernel@lists.infradead.org; Mon, 18 Mar 2019 10:05:11 +0000 Received: by mail-wm1-x341.google.com with SMTP id 4so12272639wmf.5 for ; Mon, 18 Mar 2019 03:05:07 -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=CrU7oOZF/XD8UT4BF226LZ7D8K1QM3Y0TXhUURbvrB0=; b=TsN+9sj+Hz+Sa6E4DPKcieTcPZJrb2JZbT2uLEeOV/z9stXQgJB33zafHM7LXV7zG8 oXrWCACLEQTI9pJk+PuceITOTywgor9UfADMbgkz1sKS3CbR9POjfTmmmKrAskc5WLUM tDQG146IqhUg5AqdyyqU2jWrK4bXVyYA0unqv510MckRExi8M3khA826CpmEpj48ksCs t9sAtScQluR0BSCZ+flK+FWF8L0rB1mWR9h2HwaBVtq3rvMaGQVKsgQxtvMMgjOr+DQz /0cNK7eK2p/lOFZNJQpG+y4sWnXOG45nEDYj9BBWv22ddiQyZqpb/bPQOvWg/a2W2Yvn p+UA== 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=CrU7oOZF/XD8UT4BF226LZ7D8K1QM3Y0TXhUURbvrB0=; b=CePriKuPiWbkVtbWzGghGb3ilrWJHQk105emX8jLaIN/6HJdZrjK5ZAwGBDg+7TazZ aEmLwNaP/DEizz6qKgxKfuK1JDib/lQ1hJjZbCKcDQ0WY9qqJ06uEuKYKfRZRJ023Wxi jVjY5towBTu0rxk+fTsNyJxaUo4JqvGLRwyJtt5SUZ2asC7zpH3s8s+/irP2A5O9125l o2qn40QRUh/10db4/Rphh/kQnzYTX3j/jrIVdpMuPT3qMnX1qNVZ0j/OfxLNSDolqUTQ +1KsYChco0kgeMB9irVSihGcbwbe1iu5tPzvT3GifUQzGunV+M9fDk4RzpeQob50KKD2 IIJg== X-Gm-Message-State: APjAAAWSx3BUdKGYZVLQn/EjtwNfKc1+z8Egpm2JvroJYem1U670WnI7 uf3mUCdxFTZ9TQ0+g9XXtQ/RZg== X-Google-Smtp-Source: APXvYqxwhCV+9YHPpEYO2QBp5e/pxcjvrA3D3nHEn0mXz9CPZi2TS3xuPDpz+DqLLY9lxx+6p548RQ== X-Received: by 2002:a1c:480a:: with SMTP id v10mr9876623wma.57.1552903505087; Mon, 18 Mar 2019 03:05:05 -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 i11sm5216800wrp.40.2019.03.18.03.05.04 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Mon, 18 Mar 2019 03:05:04 -0700 (PDT) From: Neil Armstrong To: khilman@baylibre.com Subject: [PATCH v2 05/11] arm64: dts: meson-g12a-sei510: add regulators Date: Mon, 18 Mar 2019 11:04:52 +0100 Message-Id: <20190318100458.5619-6-narmstrong@baylibre.com> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20190318100458.5619-1-narmstrong@baylibre.com> References: <20190318100458.5619-1-narmstrong@baylibre.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20190318_030507_871949_4DE37A2E X-CRM114-Status: GOOD ( 10.46 ) X-BeenThere: linux-arm-kernel@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, Neil Armstrong , linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, Jerome Brunet Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP From: Jerome Brunet Add some regulators. Still missing * VDD_EE (0.8V - PWM controlled) * VDD_CPU(PWM controlled) * VDDQ1_5 Signed-off-by: Jerome Brunet Signed-off-by: Neil Armstrong Acked-by: Martin Blumenstingl --- .../boot/dts/amlogic/meson-g12a-sei510.dts | 57 +++++++++++++++++++ 1 file changed, 57 insertions(+) diff --git a/arch/arm64/boot/dts/amlogic/meson-g12a-sei510.dts b/arch/arm64/boot/dts/amlogic/meson-g12a-sei510.dts index 63c515fe4996..43d57e20294a 100644 --- a/arch/arm64/boot/dts/amlogic/meson-g12a-sei510.dts +++ b/arch/arm64/boot/dts/amlogic/meson-g12a-sei510.dts @@ -6,6 +6,8 @@ /dts-v1/; #include "meson-g12a.dtsi" +#include +#include / { compatible = "seirobotics,sei510", "amlogic,g12a"; @@ -15,10 +17,36 @@ serial0 = &uart_AO; }; + ao_5v: regulator-ao_5v { + compatible = "regulator-fixed"; + regulator-name = "AO_5V"; + regulator-min-microvolt = <5000000>; + regulator-max-microvolt = <5000000>; + vin-supply = <&dc_in>; + regulator-always-on; + }; + chosen { stdout-path = "serial0:115200n8"; }; + dc_in: regulator-dc_in { + compatible = "regulator-fixed"; + regulator-name = "DC_IN"; + regulator-min-microvolt = <5000000>; + regulator-max-microvolt = <5000000>; + regulator-always-on; + }; + + emmc_1v8: regulator-emmc_1v8 { + compatible = "regulator-fixed"; + regulator-name = "EMMC_1V8"; + regulator-min-microvolt = <1800000>; + regulator-max-microvolt = <1800000>; + vin-supply = <&vddao_3v3>; + regulator-always-on; + }; + memory@0 { device_type = "memory"; reg = <0x0 0x0 0x0 0x40000000>; @@ -31,6 +59,35 @@ no-map; }; }; + + 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; + }; + + vddao_3v3_t: regultor-vddao_3v3_t { + compatible = "regulator-fixed"; + regulator-name = "VDDAO_3V3_T"; + regulator-min-microvolt = <3300000>; + regulator-max-microvolt = <3300000>; + vin-supply = <&vddao_3v3>; + gpio = <&gpio GPIOH_8 GPIO_OPEN_DRAIN>; + enable-active-high; + }; + + vddio_ao1v8: regulator-vddio_ao1v8 { + compatible = "regulator-fixed"; + regulator-name = "VDDIO_AO1V8"; + regulator-min-microvolt = <1800000>; + regulator-max-microvolt = <1800000>; + vin-supply = <&vddao_3v3>; + regulator-always-on; + }; + }; &uart_AO { From patchwork Mon Mar 18 10:04: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: 10857233 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 AD655139A for ; Mon, 18 Mar 2019 10:06:59 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 8AB1829320 for ; Mon, 18 Mar 2019 10:06:59 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 7E34829325; Mon, 18 Mar 2019 10:06:59 +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=unavailable 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 2A55B29320 for ; Mon, 18 Mar 2019 10:06:59 +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=UeNjz2Swj5zmyfH0ywZNSvK5cwZREIvu0KvJkIjSM2E=; b=WgZWM6slbE7xgh zHNrbT7MiAF9IP2pim2/tADgPkkihEz3JPcF0UXL1b4ZZy2rlXulkICGs0bMKluSczjtmzGWiemK+ lNhIImj99wGxt59BTJ2/yQcXVbtbpF3nJ38YsAxgkMXyhJsi+PGX6sZqcNb53C1WpKbm2MM2X1Y/w xoVIasZDmqj2Xg5rOoYSi2EHkqyRU2rqyOvQwL1ZA5Njrml9p4m3Z29mQI+3Ps3DGcT9Zorn/Zs3P PTi+IERPZqgVTfGPeH4Y5sCmhL4AKdGxeizx5KTC2MXq+S5aYN/DZxuuHHnOfkzkb53Xj/7YFeKzL pKs3LOOGqN0xQpdBVOWw==; 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 1h5pAR-0002ri-Vf; Mon, 18 Mar 2019 10:06:51 +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 1h5p8l-00004t-Fu for linux-arm-kernel@lists.infradead.org; Mon, 18 Mar 2019 10:05:12 +0000 Received: by mail-wr1-x444.google.com with SMTP id n9so12198516wrr.9 for ; Mon, 18 Mar 2019 03:05:07 -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=vyTVu6y/dDbn/Kx5YTVNiJNMsZW+Ml6FfRobJ2/iYLI=; b=xZG2wIblReXElzEDHMFnQ7bJBSuztu9HpMItiJxKZB+hvG9Wqv+hpUUnxBSPUwkNgX 9CV0gNDrFhnnFgIEcOCTafjXcTtCP5WXecsQzw+t9/7SRTVb5JKQFYreeTevDZ1I1h0a vXXDwIpnXynG3TK/vwjyCU3TVRW/nqAXJ1rVQBt+XfQuYjgLETgrXLOnvZDrvFaKCt2y qEYYIEKiMxHfHkW86rWg4Dwh7k6JY3LKfu47dpW9OOi3RIWmR2YyNNEPGa5LtCFTQgm1 4ilEAJ6Ukm9rhkPHRMjcA4UGs1WeVPpyHRsTzjYARKLyLaYmY2RgvQeaIb2Vx5T0XGNK MFWA== 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=vyTVu6y/dDbn/Kx5YTVNiJNMsZW+Ml6FfRobJ2/iYLI=; b=FTq565kXg3n/F7uG4galDF5OX8paBlFILedZc7MZimcvSuc6ZDYdZLZXfSLzUxdtpp 5yRpXWmUcSidaYSzMHf9AfyvmFJJkzL/fGZc/YPQtppxl2ikdU3lODfEnn769DSJp+Lm eJjdiDbx8bXMjmU7QZ07zH3DK72jN6GU4gsK/jUt051Uhr4I588DcaaVCrk18ftbsQPG 2jB2GQfhl+Nhi2Q9EkWkU9776PjexvKT2VKuvzEfCJ+kRrNgswMtVUq5oh5zDCabwPwY Dv8+H6p4sBJYwgk/S/Z+10ubF1+sO6SSiO1bl5DMQvNtD7oscO++1og0nMQHNQp+qZvy IAxQ== X-Gm-Message-State: APjAAAXqrLaYKRZSvcEXuyCB/PO6LPt2Nj7Pgn2v3s2obQtqPQurvP/4 luPoM1QzMVLj3WHzqW3yQ1Ax3w== X-Google-Smtp-Source: APXvYqxTf4ES755Gsyz1mPIIMFjVm3ZD0yffSU/KrzviME+s8xa+NaPc4ZzzOkBBP+InTNFra4nMFw== X-Received: by 2002:adf:e2ca:: with SMTP id d10mr11057150wrj.250.1552903506042; Mon, 18 Mar 2019 03:05:06 -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 i11sm5216800wrp.40.2019.03.18.03.05.05 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Mon, 18 Mar 2019 03:05:05 -0700 (PDT) From: Neil Armstrong To: khilman@baylibre.com Subject: [PATCH v2 06/11] arm64: dts: meson-g12a-x96-max: add regulators Date: Mon, 18 Mar 2019 11:04:53 +0100 Message-Id: <20190318100458.5619-7-narmstrong@baylibre.com> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20190318100458.5619-1-narmstrong@baylibre.com> References: <20190318100458.5619-1-narmstrong@baylibre.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20190318_030507_866131_5368FE3E X-CRM114-Status: GOOD ( 10.73 ) X-BeenThere: linux-arm-kernel@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-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=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 --- .../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..5c37930b09e2 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-high; + }; + + 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 18 10:04:54 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Neil Armstrong X-Patchwork-Id: 10857229 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 662E9139A for ; Mon, 18 Mar 2019 10:06:38 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 46CCF2931F for ; Mon, 18 Mar 2019 10:06:38 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 3AB2F29322; Mon, 18 Mar 2019 10:06:38 +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 E33082931F for ; Mon, 18 Mar 2019 10:06:37 +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=I+jmmHXGI42gOsSTQq8U/eUln6KXGhgu6Wog43j+BBs=; b=pFoDnJqN5/LoU8 xac1T48p5rtc1FZlj0VubdGsoHcuwOx5h5egOBrc86rzRKJQa0HnF7f8jRJWLNibCYLR3RtA5+PPU Mnr/5/KkpsMyn/RfHMDBCOegfFqNhG23HEQgmeOz51jhMm1LGnFbcz3AFf4FObPhFp5HLPaVenyof tyC3JX+3928FaHS0wUu1MOe8DEpVg6uwKm4bJ7GIX3U/789QAkBFrNAeDfbVNeJo6jUVEC/7IEzGW JnWJrxHEboRJryhnX3XgiOzpqWG4Srw8a9mGjc+votQYA9RzaIrJj9c82kjUCRNePcHkwiXpsBcSt TR98/lw4VQar7kSpLuqg==; 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 1h5pAB-0002UV-IO; Mon, 18 Mar 2019 10:06:35 +0000 Received: from mail-wm1-x344.google.com ([2a00:1450:4864:20::344]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1h5p8m-0000Db-H9 for linux-arm-kernel@lists.infradead.org; Mon, 18 Mar 2019 10:05:15 +0000 Received: by mail-wm1-x344.google.com with SMTP id z11so3801348wmi.0 for ; Mon, 18 Mar 2019 03:05:08 -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=+Lj23NNiwvSBJgMpzQcSPJzZg545AVVfKByrCGsDrxU=; b=pjZEBxgS8pDyJKPJyYPMJsl4jtmuTMtXSTrFKCbjfK6b8j0zavYifZkaCuPsnbcfZc bs1HomnxbXllocZBvjHF5KeF9XtBvXbsTz1HajSARlCJQk6Mwl/TnOeMML2285CKG8wS 2EhpMeGuV8O8KQBm/el6YXUdmx+aBcGGtV6UvsyedYDLGztNJe+9rvKcHtx8EA9YVVMT cwFTcWtu/WFS2SXk1uqz1Bfw/KaL4NfIjWr8BSBDhj07PuJtNm1s+WBbcNE2aapXklUf /tk4YNhoL0OPzbeHa3WfQ6sn7ehilJONJrI6NUdM3R8ivyM8WViM5Qf6wVtsX56a8OO5 eBXA== 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=+Lj23NNiwvSBJgMpzQcSPJzZg545AVVfKByrCGsDrxU=; b=VemjTqaGktPos0wGLdtpPw/oT/EICiIiD8gt6gYETQfY9XPZZr6bmXs3bk3ma7igCW /l9woJRTLqY+Q7LvVYSu+TEvbsjO9CTgJ0/ZVJduSjUMynjsJC3OO/0jE1SXQVepIMJ4 2QxGi9gE09+s5J7HZsT99wOzXWUUlB5PlbIShEmdeu/7DQEtHrsX7FLIzsdpcnoG8Iz4 VtJsI5RYu2bf6QNi71neS3tGhZcwsn/bCZR1ydymXpzRAyE1/IupDWeGu2igpduXwIlP 1X06/cPd7L8gP4O5CuL004wbDxKL17tjoQqOD8dDFym8tEqONql/OSfsmn0uSPR79CQC Bzcw== X-Gm-Message-State: APjAAAVvUC/wf/V5sbhc7f3GITx4v2EoWKn4MjBo3qUC6741DtqtfnhS +bwW16ouGHf9MbFjzmvNe6pcM3Cxg99uXA== X-Google-Smtp-Source: APXvYqzodbCpdIVd3EV70tiQabqEr/bJqrYH1Q7vuNdrLgFe2wa22kGAg6tQ+gzQ+Fj10dA0Wcf5KA== X-Received: by 2002:a7b:cc10:: with SMTP id f16mr10132433wmh.49.1552903507142; Mon, 18 Mar 2019 03:05:07 -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 i11sm5216800wrp.40.2019.03.18.03.05.06 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Mon, 18 Mar 2019 03:05:06 -0700 (PDT) From: Neil Armstrong To: khilman@baylibre.com Subject: [PATCH v2 07/11] arm64: dts: meson-g12a-x96-max: Enable BT Module Date: Mon, 18 Mar 2019 11:04:54 +0100 Message-Id: <20190318100458.5619-8-narmstrong@baylibre.com> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20190318100458.5619-1-narmstrong@baylibre.com> References: <20190318100458.5619-1-narmstrong@baylibre.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20190318_030508_942271_737F9884 X-CRM114-Status: GOOD ( 10.41 ) X-BeenThere: linux-arm-kernel@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-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=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 5c37930b09e2..bc152b1863c3 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 18 10:04:55 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Neil Armstrong X-Patchwork-Id: 10857235 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 8DD93139A for ; Mon, 18 Mar 2019 10:07:09 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 6CAC929326 for ; Mon, 18 Mar 2019 10:07:09 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 612C529329; Mon, 18 Mar 2019 10:07: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 EA35E29326 for ; Mon, 18 Mar 2019 10:07:07 +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=j7+Ht9HUcBETeHHN8J44z6zqetYSvQCRTcxGne2Rj+4=; b=lHaBrJ0krxpWv6 kLIXAi1gqDTVaBA5XlPshdZfoaTnHWrP39jZY4XrqpX3pGKTkk5lP/1+VGXzgdEL/mk6MWYa6MlnD 3aRtAfFfGHDD2gxXIY+JitmkfuwDFf3VBSfFVszih4ow8bs/5Hylf0fn0NAD/INDghYTb583bgeDR i4QW51IhMV5Bxlz+wZBmZpxQ5oRMC2lfQ2k1BKP29sbLb4BFaaIvJa6TPrkW+wsie9PLJhol3wV1Z 2cLl7G92LGtkqVHJyURf0uWFGOtqAEzw8kGpxBUvTWM6TZqZFilFu8wsBCVyFmToemelNJWsVsPP3 x33ykTL/lzDV1Ycy/ZNg==; 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 1h5pAf-00036E-W3; Mon, 18 Mar 2019 10:07:06 +0000 Received: from mail-wm1-x344.google.com ([2a00:1450:4864:20::344]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1h5p8n-0000LX-Hj for linux-arm-kernel@lists.infradead.org; Mon, 18 Mar 2019 10:05:15 +0000 Received: by mail-wm1-x344.google.com with SMTP id f65so12314884wma.2 for ; Mon, 18 Mar 2019 03:05:09 -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=yTSmlAuPBb+wFgaEuXPpRyLK6j0/0XQ2Tmwdu0EaftU=; b=Q2mm25yPZpTAixhSBfuM11tBTZPawjVW8RLyhlZgr2LkqG/ArXBMqfPBD8oi0Cnf/M 7WWOa2anbdQL7CoOhBlI6bV3FEeSAEBOXYnIbZjz+ovmroP9dC8HxQTvsMcYEzS2p3ro U7Kojl2qWPzl+NcA353n0+CEA6qe7I9SnZdYg6IDM/uQ/C4egsu3GBiR6y5Hag44szEE dP16aRBajcIr6ad/M1Oed689/4lS8/Uq8klpoYKxEboDDGn3ADCXhE/15HdNe/74+Vvh UPO3EjpZe8+ijiH4vrc+Q9UemFUIOUTUQY6d0I03WW/ZosBg1xvjYf835Njdp98BESbt Q2fg== 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=yTSmlAuPBb+wFgaEuXPpRyLK6j0/0XQ2Tmwdu0EaftU=; b=jRxFIhlnju+Bhk1TcYF0JCIhiyFzBWVWHJelXKjubVr+4Is4uPaqYLheCnu72EREFT Ae+UU9A/TMCIGhEc77/u8gC44lKSIlwQbRgOiOZUkgZudrx9iFAcYd9PbKPyOu0j2JXZ 4zK5t+6c6ZZ5zDyWDAOveZrF9Lza6Y2deDCFaGqB6yRi1jvE6LWUS0/Wr3Uv0xqSc824 JReXL0I1DbJATSpPqkj7bVLcNhs5nQ3LoXm3v8gZh0O86rft9hLi5j5drTfKdKWl1X1i pbmVzCD5grXGnfrUTxNjyPrcy2IyqI/sydTrQNXZPgRaE4xO0JEv3/51V3miXXu2OVyk rwMA== X-Gm-Message-State: APjAAAVWI1GisxNsKHjMNCu0jRthN6Fy0JOLGv2ponGQeWW8TbSEcey2 GTd6+eYlnnHGX370LlV1gAP41qU6JiDncg== X-Google-Smtp-Source: APXvYqwVQ1pVzmsB48agHDckPFiHVmwqyBVJ5BGRS7CkFn3MEPbM1qlEtrwYIxu8AYXsdVtnrT5dDw== X-Received: by 2002:a1c:eb17:: with SMTP id j23mr10073625wmh.86.1552903508027; Mon, 18 Mar 2019 03:05:08 -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 i11sm5216800wrp.40.2019.03.18.03.05.07 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Mon, 18 Mar 2019 03:05:07 -0700 (PDT) From: Neil Armstrong To: khilman@baylibre.com Subject: [PATCH v2 08/11] arm64: dts: meson-g12a-sei510: Add ADC Key and BT support Date: Mon, 18 Mar 2019 11:04:55 +0100 Message-Id: <20190318100458.5619-9-narmstrong@baylibre.com> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20190318100458.5619-1-narmstrong@baylibre.com> References: <20190318100458.5619-1-narmstrong@baylibre.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20190318_030509_988336_C9D82411 X-CRM114-Status: GOOD ( 12.17 ) X-BeenThere: linux-arm-kernel@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, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, Neil Armstrong Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=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 18 10:04:56 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Neil Armstrong X-Patchwork-Id: 10857237 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 6337613B5 for ; Mon, 18 Mar 2019 10:07:25 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 43AEE29326 for ; Mon, 18 Mar 2019 10:07:25 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 3800629329; Mon, 18 Mar 2019 10:07:25 +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 E953129326 for ; Mon, 18 Mar 2019 10:07:24 +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=OWD8OnP2Mq5kiRQGtroRUvAPspGkD6+NODWeja3BUOg=; b=gkrf6eTu99UJa4 uEhQGMf0Nw7l11QGDwwfxaihY1yCMMm94FEVNXrwHZpZ9JozwKcAvtEVnAB9to7w3KzNeAWKL4tly aHBAP0vizomhyG/iitusCAY+oAiWVZ8zH+mPpQMbDmnUOclGdT4lJwbi4zwXq10RuQeCuHjaze8LQ kIYhPln+YT+foaqz8gIutHBBuirpnnHKMGMMd8rMKWRYVJo/pxSMjgEPZllK7ubNchuUkun3lOyCl 5VbqCSPKqF4/YBRj3sPGbxgr3VdKBFwsoWblRLfWz17Ukj6VPri6mUnxhM5azjzQ7LFTeOW7xwsAP jhjwMhuAv/NCjFyHFoIA==; 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 1h5pAq-0003Lm-Du; Mon, 18 Mar 2019 10:07:16 +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 1h5p8o-0000UB-Tx for linux-arm-kernel@lists.infradead.org; Mon, 18 Mar 2019 10:05:18 +0000 Received: by mail-wm1-x341.google.com with SMTP id f65so12314973wma.2 for ; Mon, 18 Mar 2019 03:05:10 -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=d1m2cZ4Hsds4Mlix4L4I7dVD1tQWYPx7jZATENXCdR0=; b=V9q4JOR/b6VgtxPAtDphRKRoCMPKmUrMmGNXmfYimJeJX1X1Y3Z+jIbjMRn59t9T4M cRkEg1vfHvXpsFzNQ3Wc9VWr+tVxpiEcgfUWgrvQquo2b9aPBGuy6Cb2H2g8eOEYbkfs VZPEkMGa5q5bR1BjBV6YOZB//BBO2vXwimr4en9WnssSUXzROoZmtRBgu0LrvJQ2xXqs OzRGZXzUT/nHnXB15BTBT4xO5VBlV6GNq0y6oEWtzg1m6PMsXGeNaFOdUZ6h56aUc1IC 22Qj3W/YQTa6QKYXLv0W9QOtnt7GsOFdwY0bpU4qsYUVrphrPYGqdwH9RcU7ZW3x2pjS 5tVw== 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=d1m2cZ4Hsds4Mlix4L4I7dVD1tQWYPx7jZATENXCdR0=; b=bWkABJIUZcglhZeeXnYOtX89v8Gew6I0Pxp/UAN3ggvy0fhQS0CWJ3uosAJ+JFlouC 8R/cWejunKOmQ1vuCuweFAAxjH/2YfgtOGqc3XbQZBOsWTgdTZ98uNjXozSwOA4NE4WN 6SD4ApA0BuMOUd9UH8bMRxZzzWoP+sMyV7Ed/H2nj21S7IfA0vdJvvUGC9rT1QZkGaYc AV4Br8r1jAX3/A+lSV5THcmqcUgblfNGrt+iN5rIHX05V3iaQGv9hoOhkZuv+EoN4r59 yEFzFCPoHOpTi8dQw2TbXp3ZublXaMw1GOAj7T9G+f78XIEK2nIMmwhiSUwfowH/+xBy kGkQ== X-Gm-Message-State: APjAAAXKpGcR31/pwZtVlt+dmPN9UtgmnAyppNfIWLtWVEx9WrU8chwu VoH3VDnQdf7/Uv2dpd57r9Ds7w== X-Google-Smtp-Source: APXvYqy6mAWZbbu3AkNr+/6AEaAM6DGSfu7zYfBU0VUjbVtjtWASTJfE6YJsIxzhhQszgSvy5Of6ZQ== X-Received: by 2002:a1c:e910:: with SMTP id q16mr11086345wmc.30.1552903509019; Mon, 18 Mar 2019 03:05:09 -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 i11sm5216800wrp.40.2019.03.18.03.05.08 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Mon, 18 Mar 2019 03:05:08 -0700 (PDT) From: Neil Armstrong To: khilman@baylibre.com Subject: [PATCH v2 09/11] arm64: dts: meson-g12a-sei510: Enable USB Date: Mon, 18 Mar 2019 11:04:56 +0100 Message-Id: <20190318100458.5619-10-narmstrong@baylibre.com> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20190318100458.5619-1-narmstrong@baylibre.com> References: <20190318100458.5619-1-narmstrong@baylibre.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20190318_030511_351774_FB8D89E0 X-CRM114-Status: GOOD ( 11.23 ) X-BeenThere: linux-arm-kernel@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, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, Neil Armstrong Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=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 18 10:04:57 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Neil Armstrong X-Patchwork-Id: 10857241 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 4A8CE13B5 for ; Mon, 18 Mar 2019 10:07:39 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 2941829328 for ; Mon, 18 Mar 2019 10:07:39 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 1D2B82932C; Mon, 18 Mar 2019 10:07:39 +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 BE5E929328 for ; Mon, 18 Mar 2019 10:07:38 +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=D09ncuUBp2lgFQt5/GK46eCoY8Z20MRz4lra/rfoLwM=; b=ZwPpovUKc6cQPU gys2cW72xeM7KWj9h42dbgZo8R6lMzlb5eMeZOYkmONptWFTupgTJAOOaC0+WrFcN0VubOh4scPK0 8JaSHxepJdg5MwMvhLrs8mdT3RCG5+StWqbrI6MAjeVb0kqIQpKaEbNW5166F3/AK+SKryxnkNbEF 3FA1WruoJKx0xQWITaskyruNBa2E0RxZO5ymCEOqsWOo9K0fD2FbyRG7j1zGdzEzHd1GxWDLhFEUg i78dCjkrZG0MKLwPoSf8NpTK35PSRsnxrpguwgfpMPVhssqjCKMQxy5LAD5smIWkTnPHHIkeAzt5b h25E2WcNWMhTmFcA/RKg==; 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 1h5pB3-0003cr-Ke; Mon, 18 Mar 2019 10:07:29 +0000 Received: from mail-wm1-x342.google.com ([2a00:1450:4864:20::342]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1h5p8p-0000cl-GS for linux-arm-kernel@lists.infradead.org; Mon, 18 Mar 2019 10:05:19 +0000 Received: by mail-wm1-x342.google.com with SMTP id e74so12284123wmg.3 for ; Mon, 18 Mar 2019 03:05:11 -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=ifq+TfMjiWMh1JgJ9FAR08E6K1K0cnIdwZQaSTVzWwQ=; b=J77rpt5Lv0AXfOES62Ho3p209TyyRxV+gkafmU1NGW/UnQQqqeVB4z+rNhV6k3lMgW 2WZnc3SRo3lg0CZJasdnGUYtK1xSMRZ92P0fhrCkmOJYKoJtkEPjwa+9Yq9fuVe22bkA nvkXKuPu9P/D5NQk23+9JdTp5ZjDg3ah3DLAwzd9kBX/Hp1kQdUaTAJqsCUoSE/KOwx5 224ULKAZLZzJDxQPy/u6eSsvpikBma143Uo7wXrfhVQetZrA4m/4NkGK5hiEdQcgBmtA mjlXUiKfj9zz2Wm7rnRMPs/4uP7y1GhGBxemQ/bjD8ivlD0IwEValIucAVuAGfmGYI9S 1Jug== 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=ifq+TfMjiWMh1JgJ9FAR08E6K1K0cnIdwZQaSTVzWwQ=; b=Xvyv1CgPJQUe6XZAXL7lR9msZcMML04u/8u+sj6vNvew382+sH5xvghV5PWC4bfISO 8QZfdwotSx6necV1Hf40a6WhZUbf4MH8Ii2nWZbYfDt9R9rhg5ad1YJMSLLUyjiM0eyp rBrsKAAyrpjLOduXqFOJM+j9SZSgDKb+pfYSHkvKWdzlNt1yoG4qYD7jKQHfDdtyIFZy A2uVs98dqpxk77nN7xM6u1c7sYfOd+ns3Oscj6ti3U7++LbZz3ZLaYEx9k+LkE37NyB6 VOVVP1xUFarElLjAMrT1yZqp7J8MottEyIDVhyaVvj1s2tNhjQ6nYTeFkYKgsjh98C/M ApsQ== X-Gm-Message-State: APjAAAVET0jHdnkc6lUeIBlG4RL/2ojrGDA/XGkd1yNB4eTguuYjIkRx j1gtAfN8XCLFy348LrahfEzvTg== X-Google-Smtp-Source: APXvYqwHI9b9sBqu1dHQaoafeF4RhB2DGqUaITfFZJxgctzs3P+R5vzssllsQ4aVSZLCwtOoy5V7Rw== X-Received: by 2002:a1c:5f06:: with SMTP id t6mr6724566wmb.7.1552903510009; Mon, 18 Mar 2019 03:05:10 -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 i11sm5216800wrp.40.2019.03.18.03.05.09 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Mon, 18 Mar 2019 03:05:09 -0700 (PDT) From: Neil Armstrong To: khilman@baylibre.com Subject: [PATCH v2 10/11] arm64: dts: meson-g12a-u200: Enable USB Date: Mon, 18 Mar 2019 11:04:57 +0100 Message-Id: <20190318100458.5619-11-narmstrong@baylibre.com> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20190318100458.5619-1-narmstrong@baylibre.com> References: <20190318100458.5619-1-narmstrong@baylibre.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20190318_030512_118432_B5CD3872 X-CRM114-Status: GOOD ( 10.29 ) X-BeenThere: linux-arm-kernel@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-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=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 18 10:04:58 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Neil Armstrong X-Patchwork-Id: 10857245 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 D8AF8139A for ; Mon, 18 Mar 2019 10:07:49 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id B897129328 for ; Mon, 18 Mar 2019 10:07:49 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id ACD452932C; Mon, 18 Mar 2019 10:07:49 +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 67B8129328 for ; Mon, 18 Mar 2019 10:07:49 +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=HZjAkpZrec63IkmazxH+NcHaTKcyJ2uWY2SfiyMRo5M=; b=eCLFtOx54sRLgA gyfIl3FcVHGRftDRWTTIOaqFro0zyNghjTjI6cK41naaJUPCApPIj9kh6KK+uBsFbtvzLV0fzPbiV G3mCwAiHzLdo1tkijWKItaBY7O0ynCcr+k5vC+Z835NjcnO8e9awhtP2dHuamyFHnrIgvQ2faBgso l+6o5oNT49MWPjEwx+mH/BnRndaeEiCxDCKn1Ts/6rXxEyIEvLAFW5iroun+qmhnjxvgg6a3+VPZ2 m4/nfKfKFoYiXBODdl7R8TgwC88jWHpBJQ5QnAo7au+iRA7CNBxT6UK4hfBnfPXdqJlenkHnIBz2C ZHLdN1bmZmF13i/eYkrA==; 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 1h5pBJ-0003uZ-RY; Mon, 18 Mar 2019 10:07:45 +0000 Received: from mail-wm1-x343.google.com ([2a00:1450:4864:20::343]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1h5p8q-0000mH-JK for linux-arm-kernel@lists.infradead.org; Mon, 18 Mar 2019 10:05:20 +0000 Received: by mail-wm1-x343.google.com with SMTP id u10so9566130wmj.5 for ; Mon, 18 Mar 2019 03:05:12 -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=9GObn4uv/LM1BtjvUD8arU4OqaFNJ41INPjbZaoMAVI=; b=elbZGVcJhcGwRNgZIxl4MFrmm3gWFgEidwms3mu//qxVnxyLWaUvK8x0JTCCas+bV9 uygsXyy4NhpyBEOAzlepzLa+3gZ3TE1IuZLdj3LkBWD+T2fNnjfe4aU6FpKBGH4ungEG BcN6EHyeLdElSOle77dCXFo0AAeNi3WfpN1yGSHnpmKuMZPqW2wOr8WN8OGweVQDm22Y hMfsQe/S3aKFPDBm/2apq/S/XXNXNPY0nTQH6hhC6+zH2wc0gD5PL/z3wo0q7Lf4gl9H Azdro+i70MZG76WXwNZ08A9bE4EnfglqlXWKYWCLFpvHl9d2T9riS05slJyOjUsvLAdY t7yQ== 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=9GObn4uv/LM1BtjvUD8arU4OqaFNJ41INPjbZaoMAVI=; b=iLTRMrTetAx0yzsxw1YKkqq3kJucuZKHa+nNTNEcngho7r/i92FkchT85rj9nlBDke UvoocfMDxO0YDYcnAK3ruXIBcd6zX9Q2jwsMgDpFe1l5MQ9rIYS3yGfZCx4RggMo/THx Rrjm0wbgN5A4F6QCEu9i3iwT3gTKqKlrrwQ3q/jTljjqtpeC34NFezXPrYztYO3oSuLF e6CqLx04Xe1Lo/US0zLAnmnZiBiQQS4kd+9AGXI97lidNh6mhZIX4Ghq6jY1/HBk1fJj Vi6sNr8YgdwANriovoDDlWzmLZmW9bJuEKv3IKCbHb0VPycW9vdXNvTiXvk4tjLL+//i Bx4Q== X-Gm-Message-State: APjAAAUdFkYGeifOhXhyN3Od1zxkfdjqU5VTsmjHAyyp4Xn/Y3ETmGLZ /qwjkITMCpRNN3fMEDestMM9Yg== X-Google-Smtp-Source: APXvYqzNvpG1L663xGIz3PBfy4ggoyJ0FBb/h7m17k1nF9dI6Gn3KC7L/AwlWHX5NQwvxVmTkVbjzA== X-Received: by 2002:a7b:c4d5:: with SMTP id g21mr3826565wmk.133.1552903511125; Mon, 18 Mar 2019 03:05:11 -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 i11sm5216800wrp.40.2019.03.18.03.05.10 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Mon, 18 Mar 2019 03:05:10 -0700 (PDT) From: Neil Armstrong To: khilman@baylibre.com Subject: [PATCH v2 11/11] arm64: dts: meson-g12a-x96-max: Enable USB Date: Mon, 18 Mar 2019 11:04:58 +0100 Message-Id: <20190318100458.5619-12-narmstrong@baylibre.com> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20190318100458.5619-1-narmstrong@baylibre.com> References: <20190318100458.5619-1-narmstrong@baylibre.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20190318_030513_217010_C19FC46B X-CRM114-Status: GOOD ( 11.14 ) X-BeenThere: linux-arm-kernel@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, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, Neil Armstrong Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=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 bc152b1863c3..b9721bba9255 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"; +};