From patchwork Thu Jul 22 16:12:18 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: =?utf-8?q?Jernej_=C5=A0krabec?= X-Patchwork-Id: 12394339 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-13.7 required=3.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED,DKIM_SIGNED,DKIM_VALID,FREEMAIL_FORGED_FROMDOMAIN, FREEMAIL_FROM,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER, INCLUDES_PATCH,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED, USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id E1E1DC6377D for ; Thu, 22 Jul 2021 16:14:07 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id AC6FC61353 for ; Thu, 22 Jul 2021 16:14:07 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org AC6FC61353 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=gmail.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-Id:Date:Subject:Cc:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=XkKVW9VSo9ZmO26Y/kRctpQWVJOa406KMNUEiHaos4U=; b=GEU/8WfqDv/pP5 nYee46LR9E5Eit+Xs9oi0J4CHkTvFvXDaZDLzGaHzNeUbNm+E3M+/bta3//q3aWH8ik/huAb/VqeN Ld1YU9wMe+b+YPg/d6CNL0n5XLYbIIYH1IIZ6S9D3OYTaERVOyBAA+DbMfcv753Nfm1bQH9JcsU1q ko3i8/rHrSomcROUScrxVCyeNgILi9qFKeew36jPJZuSWAh74F+bf1K2Uj70W1bhonP4j5WpOlJqJ eo7JArxtIDCx2eG6JEP0r3yxbzr/xSbkgevKK+x6xwx9pY2fhxtZhkpXTqis94Gn5hB89FTCKBiN6 d+ffkGAhfEAsKTm1h7Nw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1m6bJU-00253b-0G; Thu, 22 Jul 2021 16:12:44 +0000 Received: from mail-wr1-x432.google.com ([2a00:1450:4864:20::432]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1m6bJF-0024yZ-3Z for linux-arm-kernel@lists.infradead.org; Thu, 22 Jul 2021 16:12:31 +0000 Received: by mail-wr1-x432.google.com with SMTP id c12so6520763wrt.3 for ; Thu, 22 Jul 2021 09:12:28 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=Zst8QWS9wJcufrSJq8cn6Yi8f38cET0pmK8IThgydIc=; b=M2hUKSI68kKEBDfWO47+Amg8uxCWD5J4+fkI2bNhMN5wbGrFC4VGUpdDVKdn2aSJ0D 8CoxyKcI92o+WtYXemT3lhBklzf5SyhNV/K81nmZGXYCShHR2cxXeltc/6plV9tPys5Q v2rJ3ffTlUL98O+2ehYUSkxwYWI25kz23v52gqlsQD2bwNt84kcacy8psazBU0CrIzDO +YB5ScJq6MfDwObEvVLKtqGEGvfRRz5aO5xNU/pWl4Nfi2vAswcOW0BTqmsQ9rriqvm+ j+4/MC8BfFAsVMJJmN4ZZmkfkUfm/xrzTW54joFPWK37o9A3THjg7OcMgungdTIzHigJ dadQ== 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=Zst8QWS9wJcufrSJq8cn6Yi8f38cET0pmK8IThgydIc=; b=LujdNt7zIqGH1wpbAOHyi8AZMULkoRuJw7dXOAbvhs1xy08h4EB9MixZrY/UTkdRRb oosa7IkUlOg7qfKPX2aSnNtXQFN4CsNAJUeCLUIdHBA+AxnWXA1o1jLxvzI+KVkbSIv/ gu7Bogopn0gv5tkMxeZxLoH3v4IJUwOc/cUbV7cEJNv/Uh5zx4cYnl4d6OaKGbEShEcV QsV+K/TGYF+oXgcpEdTP5cqnKyFnajCUo9PQvJfRbCCq8C7bJTRmKPNyMU0DoHQDanBs JEHWsjGszw5UTlQZ6mcon/Uw4jVqjp76UVZEIORYOGET8QqWDctvLGFgp26VqgGKppgC rbvQ== X-Gm-Message-State: AOAM530eHt2vU/DRQnQ0uQFQm77igdLmOqyAQBTTE2oR2vMFptHfN1Qd rQ9Awev28m8w/43ojtEales= X-Google-Smtp-Source: ABdhPJy/k15RJ7Q3aQbvZX4M3mqsTXXPmO7taXgfUcuksfH4NZcIRUMr214cVnZVemve7sija4A1EA== X-Received: by 2002:adf:c448:: with SMTP id a8mr724940wrg.103.1626970347778; Thu, 22 Jul 2021 09:12:27 -0700 (PDT) Received: from kista.localdomain (cpe-86-58-46-198.static.triera.net. [86.58.46.198]) by smtp.gmail.com with ESMTPSA id z6sm3585363wmp.1.2021.07.22.09.12.26 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 22 Jul 2021 09:12:27 -0700 (PDT) From: Jernej Skrabec To: mripard@kernel.org, wens@csie.org Cc: robh+dt@kernel.org, jernej.skrabec@gmail.com, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-sunxi@lists.linux.dev, linux-kernel@vger.kernel.org Subject: [PATCH v2 1/3] arm64: dts: allwinner: h6: tanix-tx6: Fix regulator node names Date: Thu, 22 Jul 2021 18:12:18 +0200 Message-Id: <20210722161220.51181-2-jernej.skrabec@gmail.com> X-Mailer: git-send-email 2.32.0 In-Reply-To: <20210722161220.51181-1-jernej.skrabec@gmail.com> References: <20210722161220.51181-1-jernej.skrabec@gmail.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20210722_091229_190170_24CE4A67 X-CRM114-Status: GOOD ( 12.43 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org Regulator node names don't reflect class of the device. Fix that by prefixing names with "regulator-". Signed-off-by: Jernej Skrabec --- arch/arm64/boot/dts/allwinner/sun50i-h6-tanix-tx6.dts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/arch/arm64/boot/dts/allwinner/sun50i-h6-tanix-tx6.dts b/arch/arm64/boot/dts/allwinner/sun50i-h6-tanix-tx6.dts index be81330db14f..02641191682e 100644 --- a/arch/arm64/boot/dts/allwinner/sun50i-h6-tanix-tx6.dts +++ b/arch/arm64/boot/dts/allwinner/sun50i-h6-tanix-tx6.dts @@ -32,14 +32,14 @@ hdmi_con_in: endpoint { }; }; - reg_vcc3v3: vcc3v3 { + reg_vcc3v3: regulator-vcc3v3 { compatible = "regulator-fixed"; regulator-name = "vcc3v3"; regulator-min-microvolt = <3300000>; regulator-max-microvolt = <3300000>; }; - reg_vdd_cpu_gpu: vdd-cpu-gpu { + reg_vdd_cpu_gpu: regulator-vdd-cpu-gpu { compatible = "regulator-fixed"; regulator-name = "vdd-cpu-gpu"; regulator-min-microvolt = <1135000>; From patchwork Thu Jul 22 16:12:19 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: =?utf-8?q?Jernej_=C5=A0krabec?= X-Patchwork-Id: 12394341 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-13.7 required=3.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED,DKIM_SIGNED,DKIM_VALID,FREEMAIL_FORGED_FROMDOMAIN, FREEMAIL_FROM,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER, INCLUDES_PATCH,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED, USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id ABF1BC63793 for ; Thu, 22 Jul 2021 16:14:24 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 7078D6128A for ; Thu, 22 Jul 2021 16:14:24 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 7078D6128A Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=gmail.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-Id:Date:Subject:Cc:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=EZgaS6HmeGjd2VnYj3yfSaN/VQILQY+zFIOOt1AJY/k=; b=shw4pkeLN/pKCE M+tPFPEpRVVC0HkqFvtSlLmDKfZTH9DlnKh5hWkQxPa5D/QfhGbv+JSNl9wV1d0BP2oq9MTgojl9k voMguUiLFcdNVxLTQWqNBRJRaFeK8Q7eahe071nNgr4ckIEGe2QRzIaB+sEBisD6FQEhOALEl+X4F ievTuefxhmJ70jZqLgWdHZ1KRx8Q0cfRHFpFwoFSd7+L3dpPizqKi+kNpdK0Swpyrdfpwb+Q0/hwz b3xA6RLGHzszjg41wrp0mvL3vLZ+kw++lRH8sPweJoPAdggvYYv8dHCS99my3lo3xK2f5rKWDQCm5 8EEZhIehnes4ZYedQ3lQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1m6bJf-00256Q-6C; Thu, 22 Jul 2021 16:12:55 +0000 Received: from mail-wr1-x42d.google.com ([2a00:1450:4864:20::42d]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1m6bJF-0024z9-TC for linux-arm-kernel@lists.infradead.org; Thu, 22 Jul 2021 16:12:31 +0000 Received: by mail-wr1-x42d.google.com with SMTP id u1so6545018wrs.1 for ; Thu, 22 Jul 2021 09:12:29 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=EWKGcG6m6lpD17jpJUGcdHL4XL/5in5ssmRd0zz5CFE=; b=D58azlBHvUTHh5+YVEm0omEPcm5TD69+lMvlCBC6+UPA3F+6dzMJg/abiAis9uYZHl HYbmKzowOvp6vJg4N3tW5La48sg75MPqoapKojtq7vWTwU5Bssb/bIANtb6yL+G5c2h+ eAGLxGvd1jx9UgCzJJcLhOEQwWfMKvT1dqOJdlJfEg8ANLLfdG8vssDOjxrbCluWxqTp jRcJPERzE96h2MBnidTBDHkCqlEquWG9BtswC5Q5ZzOzckYK7Hr0RtJRtB96ur528/eK P5m8urcxsUNIRj7bK+4CH8Tivmv9BwUP3ToW+/zXBhXC14OFBEgXXbTDKlHVjxJs2fx9 sugg== 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=EWKGcG6m6lpD17jpJUGcdHL4XL/5in5ssmRd0zz5CFE=; b=QWIZ29JJ5W9S9qPnH5xp0ixahrfmQH8Q5RYIqTKStEbgcVE4L+RCP+4FRQEvsgMxRi zjo9MfQS2TjoOUQL3vZMfPaFtuGYmr8YXb8dwfobkSvZT3ZjWPcvBMxrYnxMQ/RFUKHk 6yiN3TxjOm7+xRnc6dZImD9R8h6id+kw5bbTXmQwjX6GdHrL4QhPm3AZlsqvuIBhuIra Qm9JOReGd4NZmb3Y4By8La1Uz6ruU01gx9Uookg2kfi+1mwZnoX3NdrP0xTjmv7l67DV zQPopWgvJrlf6PDbpDmloYzSEbBKo4zGMOautPa9jlM2Szb4C8ZHW7IKk/MWBEgUtlDQ RLXw== X-Gm-Message-State: AOAM530UetZEmKi8/ChkQ5+xAd0uOhwpC/lDgPMchaDTyZkdzh/SsXpN NcH42qkYzzzRrkW1PostFKc= X-Google-Smtp-Source: ABdhPJxUkC7snrfFoWJTIHUcEUZVF3GCGzEDjFLhbaUilEODb4AeyqfTHX+NGVUjkq/Mj3E8jGAuKg== X-Received: by 2002:a05:6000:1043:: with SMTP id c3mr740928wrx.13.1626970348708; Thu, 22 Jul 2021 09:12:28 -0700 (PDT) Received: from kista.localdomain (cpe-86-58-46-198.static.triera.net. [86.58.46.198]) by smtp.gmail.com with ESMTPSA id z6sm3585363wmp.1.2021.07.22.09.12.27 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 22 Jul 2021 09:12:28 -0700 (PDT) From: Jernej Skrabec To: mripard@kernel.org, wens@csie.org Cc: robh+dt@kernel.org, jernej.skrabec@gmail.com, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-sunxi@lists.linux.dev, linux-kernel@vger.kernel.org Subject: [PATCH v2 2/3] arm64: dts: allwinner: h6: tanix-tx6: Add PIO power supplies Date: Thu, 22 Jul 2021 18:12:19 +0200 Message-Id: <20210722161220.51181-3-jernej.skrabec@gmail.com> X-Mailer: git-send-email 2.32.0 In-Reply-To: <20210722161220.51181-1-jernej.skrabec@gmail.com> References: <20210722161220.51181-1-jernej.skrabec@gmail.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20210722_091229_979439_76C0D2B2 X-CRM114-Status: GOOD ( 13.84 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org While there is no publicly available schematic of this board, it's not hard to determine voltage of GPIO port C, D and G (only ones which can be set). Port C and G are used for MMC/SDIO communication, so they use 1.8 V power supply. It's not clear if port D is even used, but if it is, it's pretty safe to assume it uses 3.3 V power supply. Value read from PIO Group Withstand Voltage Mode Select register from within pre-installed Android agrees with that assesment. Signed-off-by: Jernej Skrabec --- .../boot/dts/allwinner/sun50i-h6-tanix-tx6.dts | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/arch/arm64/boot/dts/allwinner/sun50i-h6-tanix-tx6.dts b/arch/arm64/boot/dts/allwinner/sun50i-h6-tanix-tx6.dts index 02641191682e..cf9721ca6370 100644 --- a/arch/arm64/boot/dts/allwinner/sun50i-h6-tanix-tx6.dts +++ b/arch/arm64/boot/dts/allwinner/sun50i-h6-tanix-tx6.dts @@ -32,6 +32,13 @@ hdmi_con_in: endpoint { }; }; + reg_vcc1v8: regulator-vcc1v8 { + compatible = "regulator-fixed"; + regulator-name = "vcc1v8"; + regulator-min-microvolt = <1800000>; + regulator-max-microvolt = <1800000>; + }; + reg_vcc3v3: regulator-vcc3v3 { compatible = "regulator-fixed"; regulator-name = "vcc3v3"; @@ -99,6 +106,12 @@ &ohci3 { status = "okay"; }; +&pio { + vcc-pc-supply = <®_vcc1v8>; + vcc-pd-supply = <®_vcc3v3>; + vcc-pg-supply = <®_vcc1v8>; +}; + &r_ir { linux,rc-map-name = "rc-tanix-tx5max"; status = "okay"; From patchwork Thu Jul 22 16:12:20 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: =?utf-8?q?Jernej_=C5=A0krabec?= X-Patchwork-Id: 12394343 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-13.7 required=3.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED,DKIM_SIGNED,DKIM_VALID,FREEMAIL_FORGED_FROMDOMAIN, FREEMAIL_FROM,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER, INCLUDES_PATCH,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED, USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id E5012C6377D for ; Thu, 22 Jul 2021 16:14:26 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id B828D61278 for ; Thu, 22 Jul 2021 16:14:26 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org B828D61278 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=gmail.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-Id:Date:Subject:Cc:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=IU22zmVOQMOo7uo6VmcWFlvRq7oX1TSEjLc6GoBqBTY=; b=gzgiuhR0S9b7x5 vjJXPDpuKiz4X4ssgmnhok6ZTrZhpFamggDKSNJCepLAifmkQ/U8NvUS/tG15zr7Ym1tbBckLRi8q pXVwIXnJc8s0HOy4oDic+rDi8DIgSOQYPwfSWAOYm8hcku7YI1fMWM3TO75uJ+HBpmLAE5j/jxEcQ S3+Y9FNQ3JFL4J56nyIfyusqfh1VO4HWxk5dMDwU1GlGDIL6AYWABqhPFQUvXDgr0VVXIYVBvCWpc 3s/Lgfmren8t9ScbQ+K1hJnSqdGkM7uC0hi9/9zSfxgeVvNICDCUOQ263FAdpSd+s2NmKM/81rziS SLtODMhvjiXDRdft0Riw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1m6bJq-002593-6q; Thu, 22 Jul 2021 16:13:06 +0000 Received: from mail-wr1-x436.google.com ([2a00:1450:4864:20::436]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1m6bJH-0024zl-03 for linux-arm-kernel@lists.infradead.org; Thu, 22 Jul 2021 16:12:32 +0000 Received: by mail-wr1-x436.google.com with SMTP id t5so6499100wrw.12 for ; Thu, 22 Jul 2021 09:12:30 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=0bqMHX1s5ON0P7G769ywkrdppi3QjEs9pnjlyttXWnc=; b=RXwkYkexQEKkLCXsqRryuyPidSJ+VOWO/PGQdljrghi5ZDOAFYv2W3wQtJH5zpT+AX 4QPeETEkT0omWmfD5GAIL4bUm5HPaTtlgJ4vdOZ69mKKiKiBhto9ZDaCNHv31qRuvLCq 27g0cGUHOjIfjINu7EfhLPBkegXxlIaBcZoPyGIyJKf4AhFmcI6SlgQ4RXUFOtdMzNJK NcG85ptmXPoQwyQMDBhsgpgId6+LsqlO2IRf9SvocG+QzSPepLBP/RixTDFWD9/8j+4J VqxKO3XAYHPr6OBKnMAnwwsGbsVSo/dKceOilV2R+MisanFecvHKQzqKnfbP3qNmkwkL kjBQ== 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=0bqMHX1s5ON0P7G769ywkrdppi3QjEs9pnjlyttXWnc=; b=huYLCQd+FCqsVdpjsZLTUUAIrV/ss1+xrZC4HSUceGSjdCKfBlYYvpTeTkEsx4iSaz 6YSiQCLicxL6fsZymY/JIC6lh1Scal3xpQgxAnoUZyB4PHv9raJpz9nTvKGmWNhbaO2w 16FyhcrpuCrUSfWHiMMSQAjGrxEesXJXeOJjDx5SFDXv6FaGH4xCLvFVmWAuDhai12pI JbsdGNVdrPRuujIrwMHtPwqk9M4ps4EYWbj86zgFL7RMpH2HteJl9o23uz+Nux8YE+PQ QyFeU1eu4vwQ6KOav9tTsYbW4d0QR13eEpZ9omCxksWxznDpuavQZP82fM4nZQqn08Bt J2cQ== X-Gm-Message-State: AOAM533Lstoh1HpqMrf24ZhGQhUjYCvZN/kWjOI0fUOlSTwjGaTj5sop bAeH7C6Nv6EhkiCLRwa6CAc= X-Google-Smtp-Source: ABdhPJzdIlGt7hRUSmmIIGbdzgB8uOb7SBIsZVTfRdyRalx7H7ANG9HEXZMzxgR29SzoxNaiLfp8Yg== X-Received: by 2002:a5d:4010:: with SMTP id n16mr768096wrp.142.1626970349607; Thu, 22 Jul 2021 09:12:29 -0700 (PDT) Received: from kista.localdomain (cpe-86-58-46-198.static.triera.net. [86.58.46.198]) by smtp.gmail.com with ESMTPSA id z6sm3585363wmp.1.2021.07.22.09.12.28 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 22 Jul 2021 09:12:29 -0700 (PDT) From: Jernej Skrabec To: mripard@kernel.org, wens@csie.org Cc: robh+dt@kernel.org, jernej.skrabec@gmail.com, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-sunxi@lists.linux.dev, linux-kernel@vger.kernel.org Subject: [PATCH v2 3/3] arm64: dts: allwinner: h6: tanix-tx6: enable emmc Date: Thu, 22 Jul 2021 18:12:20 +0200 Message-Id: <20210722161220.51181-4-jernej.skrabec@gmail.com> X-Mailer: git-send-email 2.32.0 In-Reply-To: <20210722161220.51181-1-jernej.skrabec@gmail.com> References: <20210722161220.51181-1-jernej.skrabec@gmail.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20210722_091231_078174_72F1FDBF X-CRM114-Status: GOOD ( 11.31 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org Tanix TX6 has 32 GiB eMMC. Add a node for it. Signed-off-by: Jernej Skrabec --- arch/arm64/boot/dts/allwinner/sun50i-h6-tanix-tx6.dts | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/arch/arm64/boot/dts/allwinner/sun50i-h6-tanix-tx6.dts b/arch/arm64/boot/dts/allwinner/sun50i-h6-tanix-tx6.dts index cf9721ca6370..8f2a80f128de 100644 --- a/arch/arm64/boot/dts/allwinner/sun50i-h6-tanix-tx6.dts +++ b/arch/arm64/boot/dts/allwinner/sun50i-h6-tanix-tx6.dts @@ -98,6 +98,16 @@ &mmc0 { status = "okay"; }; +&mmc2 { + vmmc-supply = <®_vcc3v3>; + vqmmc-supply = <®_vcc1v8>; + bus-width = <8>; + non-removable; + cap-mmc-hw-reset; + mmc-hs200-1_8v; + status = "okay"; +}; + &ohci0 { status = "okay"; };