From patchwork Mon Jan 24 13:12:40 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Henrik Grimler X-Patchwork-Id: 12722153 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org 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 smtp.lore.kernel.org (Postfix) with ESMTPS id E6B9DC433EF for ; Mon, 24 Jan 2022 13:20:14 +0000 (UTC) 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=5F/JqehLhy4XoZnVaSyFH8VPguTOsAwJAKmuINqIfTM=; b=uMnXSAILhqHaeg 5v3/MEzmh1FDKFmhBjQetlXGV9zT2U+voYRMTFL2idXM8rSKO4dcFIMJs59X4VW45cyNYHCmWbQDU 4KCbmLHJoAU92PXY0b+J73TUrC+fI2UUB9iAlJDrgDqJskrGmdoQJ+kYUWIGr6PSazTWcwJhxCfqK wSScodklQAuw0FMbnr8WAnVGvozx9jsVf4iKziGiphpwELpT/L8aborHoKcuuz+HZVQh5RxeL7Tue 9LeJK793vuUE2xtTDjE9aaBPnJKJD9KEC2V0X8xVsmm/M5woLMlNSdRwgbWJthrsrYC0MuoSamthf NmIwGegy65K5y707nKWg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1nBzEt-003RxV-QF; Mon, 24 Jan 2022 13:18:33 +0000 Received: from h02mx15.reliablemail.org ([185.76.66.168]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1nBzAp-003PrM-7E for linux-arm-kernel@lists.infradead.org; Mon, 24 Jan 2022 13:14:20 +0000 X-Halon-Out: 8708b94f-7d17-11ec-930f-f5be715b97e5 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=grimler.se; s=default; h=Content-Transfer-Encoding:MIME-Version:References:In-Reply-To: Message-Id:Date:Subject:Cc:To:From:Sender:Reply-To:Content-Type:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Id:List-Help:List-Unsubscribe:List-Subscribe: List-Post:List-Owner:List-Archive; bh=f55NchOZwSBusfmJsrIVv7pqGW5tH7bswQNbon6anEU=; b=qoHBZJK1wPOWRe96Jqj25TDwKc BJyPmEq8mh3VrLXCxmDfOa9byiW/TelVqQkh7u/+2jL/FG3LP5/slU5Dp0j5fg1jXZ7kPwPgeNcKH JXQ1on88oUsaLMqwqjInAXV6leYPapXcPMz4eY4ffeOrMlXl2p/lqNJQRc+5gOBVIxC22RN6XU2O2 KpjsMihOA/4SCsw+z3PqpSmzI1AI1iaTN0ffA0fc0rVn9eMc8Gw3NBCe+/2obF/GgLpod6fbYWjPg NflNFyoXBiIZZYNXsD2WwTK0TWuftu/yKHB8wXlFqSBXNiiTcNTmZd+MpjfJ2HPyp9joyvR5kmhtj Q5QwpEGg==; From: Henrik Grimler To: krzysztof.kozlowski@canonical.com, semen.protsenko@linaro.org, virag.david003@gmail.com, cw00.choi@samsung.com, m.szyprowski@samsung.com, alim.akhtar@samsung.com, robh+dt@kernel.org, devicetree@vger.kernel.org, linux-samsung-soc@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, ~postmarketos/upstreaming@lists.sr.ht Cc: Henrik Grimler Subject: [PATCH 1/2] dt-bindings: arm: samsung: document Klimt WiFi board binding Date: Mon, 24 Jan 2022 14:12:40 +0100 Message-Id: <20220124131241.29946-2-henrik@grimler.se> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20220124131241.29946-1-henrik@grimler.se> References: <20220124131241.29946-1-henrik@grimler.se> MIME-Version: 1.0 X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - cpsrv07.misshosting.com X-AntiAbuse: Original Domain - lists.infradead.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - grimler.se X-Get-Message-Sender-Via: cpsrv07.misshosting.com: authenticated_id: henrik@grimler.se X-Authenticated-Sender: cpsrv07.misshosting.com: henrik@grimler.se X-Source: X-Source-Args: X-Source-Dir: X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20220124_051419_503307_99FED9E2 X-CRM114-Status: UNSURE ( 3.39 ) X-CRM114-Notice: Please train this message. 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 Add binding for Galaxy Tab S 8.4", based on Exynos 5420 with codename klimt-wifi. Signed-off-by: Henrik Grimler --- .../devicetree/bindings/arm/samsung/samsung-boards.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/Documentation/devicetree/bindings/arm/samsung/samsung-boards.yaml b/Documentation/devicetree/bindings/arm/samsung/samsung-boards.yaml index a2a8bf44fe9b..faea33e4f731 100644 --- a/Documentation/devicetree/bindings/arm/samsung/samsung-boards.yaml +++ b/Documentation/devicetree/bindings/arm/samsung/samsung-boards.yaml @@ -141,6 +141,7 @@ properties: - enum: - insignal,arndale-octa # Insignal Arndale Octa - samsung,chagall-wifi # Samsung SM-T800 + - samsung,klimt-wifi # Samsung SM-T700 - samsung,smdk5420 # Samsung SMDK5420 eval - const: samsung,exynos5420 - const: samsung,exynos5 From patchwork Mon Jan 24 13:12:41 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Henrik Grimler X-Patchwork-Id: 12722152 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org 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 smtp.lore.kernel.org (Postfix) with ESMTPS id DD60EC433F5 for ; Mon, 24 Jan 2022 13:19:45 +0000 (UTC) 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=4Feo+eg2S0ml1cYs7BUI9gpxBEWf/14+osuAmg1ZNlk=; b=pdprjAbqPQtWFO JtG1L3CsInHgeeBxuZZxpb2gs/KxGfXbTfV1hNkhBh24e6Mb8tovnWIXRb00TM4rrY96zUVBTChjb VtT8JkE1vQ43egrYUj05Sk9LlZU2sQD9zMKAgmH4qEB3WLf36QNva9m/V1vRBrdrv1cGiaAvDnjuY eU9NPm2SOdI8VdZib779/zs/Fb/eLU2FtCzSb+LltBKZBDoLfg1R2t4W3fAOZsFqql6hgXXBac4q7 hdcnp8YFXpcH3FBYeqB26foNxrtz83tyknVa6Eid/VY5MfTo66G2+vEyfXAW3pyYQPNJfvIQK9xKq eYrX8pufUJoTH/vItUyQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1nBzEO-003Rgg-Bx; Mon, 24 Jan 2022 13:18:01 +0000 Received: from h02mx15.reliablemail.org ([185.76.66.168]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1nBzAo-003Psc-RP for linux-arm-kernel@lists.infradead.org; Mon, 24 Jan 2022 13:14:20 +0000 X-Halon-Out: 884f3147-7d17-11ec-930f-f5be715b97e5 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=grimler.se; s=default; h=Content-Transfer-Encoding:MIME-Version:References:In-Reply-To: Message-Id:Date:Subject:Cc:To:From:Sender:Reply-To:Content-Type:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Id:List-Help:List-Unsubscribe:List-Subscribe: List-Post:List-Owner:List-Archive; bh=mm2pUntQ1RReK8eDtE3PYZHVckYe32J9ioqItg/b08Q=; b=ai8y772DSqaDQIEBOrGxDf+V85 8d5MSrrhAN7xfPwpOEsYw/qQjJTxkiTjb7U5Bq+opeisaqXwfT3h0P9phdHisRMjBEeXVw7cj5YbU VEAkQHmM2+pmsyoHW2DIAILWecY0vzLIKYdFdmfazDl5ySqKcN8ZNX0weaRTzuMxyqIwWL/jowehI OIJuvfTUWgOrtD0gkbOeyoZrOTl0HIjtFXKqxK0OzOuPq5NqxZ5X5rrCLLTYrtL/BxDkSxA/WLXVO +8ZlQzpMHvUfExZuXdBDbKM6pQGZSKT1KGWu7UFeyB3ADhunPaN6ggV0vAFHl8G9Qzh+ixe+oVXRL WLC/n8Eg==; From: Henrik Grimler To: krzysztof.kozlowski@canonical.com, semen.protsenko@linaro.org, virag.david003@gmail.com, cw00.choi@samsung.com, m.szyprowski@samsung.com, alim.akhtar@samsung.com, robh+dt@kernel.org, devicetree@vger.kernel.org, linux-samsung-soc@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, ~postmarketos/upstreaming@lists.sr.ht Cc: Henrik Grimler Subject: [PATCH 2/2] ARM: dts: exynos: Add support for Samsung Klimt WiFi Date: Mon, 24 Jan 2022 14:12:41 +0100 Message-Id: <20220124131241.29946-3-henrik@grimler.se> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20220124131241.29946-1-henrik@grimler.se> References: <20220124131241.29946-1-henrik@grimler.se> MIME-Version: 1.0 X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - cpsrv07.misshosting.com X-AntiAbuse: Original Domain - lists.infradead.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - grimler.se X-Get-Message-Sender-Via: cpsrv07.misshosting.com: authenticated_id: henrik@grimler.se X-Authenticated-Sender: cpsrv07.misshosting.com: henrik@grimler.se X-Source: X-Source-Args: X-Source-Dir: X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20220124_051419_084390_7E4E7F07 X-CRM114-Status: GOOD ( 11.24 ) 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 Klimt WiFi has the product name Samsung Galaxy Tab S 8.4". Board is based on Exynos 5420, and has similar hardware to Chagall WiFi, but with a smaller battery, smaller screen and another touchscreen controller. The device tree added here contains support for: - UART access through a micro-usb cable with 619 kOhm between ID & GND - Accessing the internal eMMC storage - Accessing an external SD card - USB, after configuration it is possible to ssh into the device through a usb cable Signed-off-by: Henrik Grimler --- arch/arm/boot/dts/Makefile | 1 + arch/arm/boot/dts/exynos5420-klimt-wifi.dts | 75 +++++++++++++++++++++ 2 files changed, 76 insertions(+) create mode 100644 arch/arm/boot/dts/exynos5420-klimt-wifi.dts diff --git a/arch/arm/boot/dts/Makefile b/arch/arm/boot/dts/Makefile index 28fbfda94cb9..21c4a3ad068a 100644 --- a/arch/arm/boot/dts/Makefile +++ b/arch/arm/boot/dts/Makefile @@ -222,6 +222,7 @@ dtb-$(CONFIG_ARCH_EXYNOS5) += \ exynos5420-peach-pit.dtb \ exynos5420-smdk5420.dtb \ exynos5420-chagall-wifi.dtb \ + exynos5420-klimt-wifi.dtb \ exynos5422-odroidhc1.dtb \ exynos5422-odroidxu3.dtb \ exynos5422-odroidxu3-lite.dtb \ diff --git a/arch/arm/boot/dts/exynos5420-klimt-wifi.dts b/arch/arm/boot/dts/exynos5420-klimt-wifi.dts new file mode 100644 index 000000000000..011787b1bbf0 --- /dev/null +++ b/arch/arm/boot/dts/exynos5420-klimt-wifi.dts @@ -0,0 +1,75 @@ +// SPDX-License-Identifier: GPL-2.0 +/* + * Samsung's Exynos5420 Klimt WiFi board device tree source + * + * Copyright (c) 2012-2013 Samsung Electronics Co., Ltd. + * http://www.samsung.com + * Copyright (c) 2022 Henrik Grimler + */ + +/dts-v1/; +#include "exynos5420-galaxy-tab-common.dtsi" + +/ { + model = "Samsung Klimt WiFi based on Exynos5420"; + compatible = "samsung,klimt-wifi", "samsung,exynos5420", \ + "samsung,exynos5"; +}; + +&ldo15_reg { + /* Unused */ + regulator-name = "VDD_LDO15"; + regulator-min-microvolt = <3300000>; + regulator-max-microvolt = <3300000>; +}; + +&ldo17_reg { + regulator-name = "VDD_VCI_3V0"; + regulator-min-microvolt = <3000000>; + regulator-max-microvolt = <3000000>; + + regulator-state-mem { + regulator-off-in-suspend; + }; +}; + +&ldo28_reg { + regulator-name = "VDD3_1V8"; + regulator-min-microvolt = <1800000>; + regulator-max-microvolt = <1800000>; + + regulator-state-mem { + regulator-off-in-suspend; + }; +}; + +&ldo29_reg { + regulator-name = "VDDR_1V6"; + regulator-min-microvolt = <1600000>; + regulator-max-microvolt = <1600000>; + + regulator-state-mem { + regulator-off-in-suspend; + }; +}; + +&ldo31_reg { + /* Unused */ + regulator-name = "VDD_LDO31"; + regulator-min-microvolt = <1800000>; + regulator-max-microvolt = <1800000>; +}; + +&ldo32_reg { + regulator-name = "VDD_TSP_1V8"; + regulator-min-microvolt = <1800000>; + regulator-max-microvolt = <1800000>; + + regulator-state-mem { + regulator-off-in-suspend; + }; +}; + +&mmc_2 { + sd-uhs-sdr104; +};