From patchwork Fri Jan 6 14:28:38 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Lin, Meng-Bo" X-Patchwork-Id: 639743 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 vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 28533C3DA7A for ; Fri, 6 Jan 2023 14:28:59 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233524AbjAFO25 (ORCPT ); Fri, 6 Jan 2023 09:28:57 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:34734 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234793AbjAFO2v (ORCPT ); Fri, 6 Jan 2023 09:28:51 -0500 X-Greylist: delayed 22726 seconds by postgrey-1.37 at lindbergh.monkeyblade.net; Fri, 06 Jan 2023 06:28:50 PST Received: from mail-4325.protonmail.ch (mail-4325.protonmail.ch [185.70.43.25]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 466C07F467 for ; Fri, 6 Jan 2023 06:28:49 -0800 (PST) Date: Fri, 06 Jan 2023 14:28:38 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=protonmail.com; s=protonmail3; t=1673015327; x=1673274527; bh=EjS6ZMNfxyg1IpQb2RzuuQ6AIAq0IAmasRoXbMY2njg=; h=Date:To:From:Cc:Subject:Message-ID:Feedback-ID:From:To:Cc:Date: Subject:Reply-To:Feedback-ID:Message-ID:BIMI-Selector; b=GFAopug4XsB9KeDTz+zVqIieXaocn4ehFITyEhf5uK2gg6a89b28Y1TsjN8/9s47l TlT2uzx/7UiDQI4dhEXS6Lldtdno1keJ8u7GW4cZzthtQZA+VM3+jyvNyNrjoIb56J RBvrK0RUeNKMUslOJWbTjAEPzgZzlIUCOBvA/xjvffPPyAd+X5XuK7gmKNXQmPLKPS Fp0+ZvBuR+5BjN0AH6UsIUm8yvZyS+5YdClADJ2/ZAWepVD++2F01Zp0LEbhm12y6J q7XuORbTKfnFjVRMQALgU+xAeXeI2uejofw6zIVGPgVlXWeP0JH1rUkmK6Px3Rgdk1 K+z6hN8dOMpiA== To: devicetree@vger.kernel.org From: "Lin, Meng-Bo" Cc: Andy Gross , Bjorn Andersson , Konrad Dybcio , Rob Herring , Krzysztof Kozlowski , Stephan Gerhold , Nikita Travkin , Julian Ribbeck , Josef W Menad , Markuss Broks , linux-arm-msm@vger.kernel.org, linux-kernel@vger.kernel.org, ~postmarketos/upstreaming@lists.sr.ht Subject: [PATCH v6 0/5] arm64: dts: qcom: msm8916-samsung-j5: Use common device tree Message-ID: <20230106142748.546975-1-linmengbo0689@protonmail.com> Feedback-ID: 40467236:user:proton MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-arm-msm@vger.kernel.org v6: Rebase on linux-next and reword. Add MUIC. Drop WIP J3 device tree v5: Fix address typo tz-apps@85a00000 in msm8916-samsung-j3.dts v4: Try "git format-patch -B -C -M -D" to fix errors. v3: Drop msm8916-samsung-j5.dts temporarily before moving it. Minor rewords. v2: Reword and resend. Split common dtsi patch. Add missing suffix state in pinctrl. The smartphones below are using the MSM8916 SoC, which are released in 2015-2016: Samsung Galaxy J5 2015 (SM-J500*) Samsung Galaxy J5 2016 (SM-J510*) Add a common device tree for with initial support for: - GPIO keys - GPIO Hall sensor - SDHCI (internal and external storage) - USB Device Mode - UART (on USB connector via the SM5703 MUIC) - WCNSS (WiFi/BT) - Regulators The two devices (all other variants of J5 released in 2015 and J5X released in 2016) are very similar, with some differences in display and GPIO pins. The common parts are shared in msm8916-samsung-j5-common.dtsi to reduce duplication.