From patchwork Thu Jan 13 15:40:16 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Henrik Grimler X-Patchwork-Id: 12712879 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 8066AC433F5 for ; Thu, 13 Jan 2022 15:42:17 +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: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:In-Reply-To:References: List-Owner; bh=DAuPRz8bFKXPx0ziErQW+i/shJfA14MD1nQkZNY3EwU=; b=dp0eEnB/0YGHcH +ogoNBIN7IUOuOMoQF5teuSUYcjklG8o+QooTU1IbdasLnarMNprsUkaOp3cIikE6eCF5D4iJjF47 cujje+N4b1YIcWzHK0tFr503x6jpiMJKi21e9prpFBa2F35pzJiuWpDsAUokaXhNFpDR6iywHLxG3 VmZtCqdEK3uqvGb30LCnuv4+/7gsST0deBaG2DNLCWbQkvH23O1twzCUW6iScoqWV0mDnNa9dJGaC iZWOaAcB/H7G7tG3nuAEwimp5IpQAM0xh7y5ljIpPxxCFt1bZjF2tzQxkDzL4gp0IPxRgswdUkaO9 Y0dVKj7SSk7DNWQo+gYQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1n82DS-006NzU-Qd; Thu, 13 Jan 2022 15:40:42 +0000 Received: from h01mx15.reliablemail.org ([173.236.5.211]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1n82DP-006Nyk-2Z for linux-arm-kernel@lists.infradead.org; Thu, 13 Jan 2022 15:40:40 +0000 X-Halon-Out: 250041e3-7487-11ec-90dc-00163c81f1a9 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=grimler.se; s=default; h=Content-Transfer-Encoding:MIME-Version: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: In-Reply-To:References:List-Id:List-Help:List-Unsubscribe:List-Subscribe: List-Post:List-Owner:List-Archive; bh=E3H2b1siBtWNfs0FHzAhtIUMbRbOex7ugO9PAMm8rUY=; b=tQR5XVOPvCFZKEhYA0goMbE2ep a+D7tdu3nIfTWwJA6mYCVes4bYZFky6OISA5GksfNtzdHPdLu7dhrEQk3wSTDyWJD0OU7i9CqNj40 HeYfe4fJRkBudQpewUTYapH1vuJHEDq72OCJAw/MCinjcHIUTZdW9ooJxiKqHWi02S7QykcKQliwA PZdxd6Z0UjWUFOytdOlggGmDM92uySnYgaXFVKsG88kG2WoBdL9mIZnCU6Jr3a7+uo9PlO71hcxQ9 /sf3bu3CN6Z/zGGZIc6CTUGa5vjHPlU8eQ0c+43Bc0Xd2vdaG2uP+/55zCM5KLKg+Cut995btJPtN uyMNpXCw==; From: Henrik Grimler To: semen.protsenko@linaro.org, virag.david003@gmail.com, martin.juecker@gmail.com, cw00.choi@samsung.com, m.szyprowski@samsung.com, alim.akhtar@samsung.com, krzysztof.kozlowski@canonical.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 0/3] Add initial support for exynos5420-chagallwifi Date: Thu, 13 Jan 2022 16:40:16 +0100 Message-Id: <20220113154019.74434-1-henrik@grimler.se> X-Mailer: git-send-email 2.34.1 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-20220113_074039_341075_D949C882 X-CRM114-Status: UNSURE ( 7.31 ) 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 Samsung's tablet Galaxy Tab S 10.5" (wifi) has codename chagallwifi and is one of several tablets released in 2013 - 2014 based on Exynos 5420. This initial devicetree adds support for accessing device over USB or UART, and allows using a rootfs in either the internal eMMC or an external sdcard. 4 out of 8 CPUs are brought up when device boots, which is the same as on the somewhat similar device exynos5420-arndale-octa. Patch 2 is necessary after a secure-firmware node is added, otherwise device hangs during the CPU1BOOT secure monitor call. Without the secure-firmware node we are not able to bring up any secondary CPUs. Henrik Grimler (3): dt-bindings: arm: samsung: document chagallwifi board binding ARM: exynos: only do SMC_CMD_CPU1BOOT call on Exynos4 ARM: dts: Add support for Samsung Chagallwifi .../bindings/arm/samsung/samsung-boards.yaml | 1 + arch/arm/boot/dts/Makefile | 1 + arch/arm/boot/dts/exynos5420-chagallwifi.dts | 57 ++ .../dts/exynos5420-galaxy-tab-common.dtsi | 647 ++++++++++++++++++ arch/arm/mach-exynos/firmware.c | 4 +- 5 files changed, 709 insertions(+), 1 deletion(-) create mode 100644 arch/arm/boot/dts/exynos5420-chagallwifi.dts create mode 100644 arch/arm/boot/dts/exynos5420-galaxy-tab-common.dtsi base-commit: b1cbda0fc3431b464aa78b5f335a5d35428f10c8