Received: by 2002:a05:6358:16cc:b0:ea:6187:17c9 with SMTP id r12csp2487902rwl; Fri, 6 Jan 2023 07:07:50 -0800 (PST) X-Google-Smtp-Source: AMrXdXs5kDWKiYsB7btHzhqz6DCdt9pffxCoBa9ZUBoQzqOnD+E9wMA58VYFRoi6j2Ww7YFCOP8m X-Received: by 2002:a17:907:d042:b0:7c1:7145:5b3c with SMTP id vb2-20020a170907d04200b007c171455b3cmr42958897ejc.46.1673017670311; Fri, 06 Jan 2023 07:07:50 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1673017670; cv=none; d=google.com; s=arc-20160816; b=txxzq/eJdDg19bnJroDxO/SUCmb116FyfU+JDjJbnPr90VArpqFLVIeQaCoGIv+D1u fBHRAlnz0zj0kljP1lzmuzlSG8Y+AoCcaKvA3fvy1O+vDLN+euqhk6W/U4jgPi/SrHkh 4bpAdJOXJWkac3Ij8IQNzsXoOQuBkTIxe1OvgdwmwG7lEq6JPSQ9J/x4aoU2vlgOEKIT 6KfDdpotOy71JlCtkl1FTHPMWHEYJZ4OcCjG35uvIvNcvxPkrUmogV+/3B27SZdc31Nk iPtYYkuEXCPcA0CqkcMumJoOZru7XztFmycjljFul0WRAvdPzVFd6ZOjUTdXx+WlkPcO cvJQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :feedback-id:message-id:subject:cc:from:to:dkim-signature:date; bh=EjS6ZMNfxyg1IpQb2RzuuQ6AIAq0IAmasRoXbMY2njg=; b=KaZpYJ6X6ltpOmw7YQgeBnV8HH7dXcjym3zowm/nrMT+xPkQSwLNsA3OskXv3lg8jv LoZdNzvtlDXW9sTyQsBGI1iu8umToKxCUrksw1GqYtOLUXtkfif8IZX0FoduRQQ+Eoko awJqMhczt8syiwsLp9NTOAjsPi88LxGHHbjZvDFAG2quR2VEPWQRrvvl1nWyAKFSeqbV yjj7Nph9X4wmx2BiHY+xW7o7IhJQE7bDu4oIksWYn0O8dvqYdJwPRyn6ZLj4fsvGgJa9 Cq4PQKEEVHkbkNZSLR4RtZONl5X7ZeRpMY60KKLpJSmgR1sX1I6ORaBtHJBjhe4AbKO0 XegA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@protonmail.com header.s=protonmail3 header.b=GFAopug4; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=protonmail.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id hg3-20020a1709072cc300b007ae9abf1994si1594914ejc.837.2023.01.06.07.07.37; Fri, 06 Jan 2023 07:07:50 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@protonmail.com header.s=protonmail3 header.b=GFAopug4; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=protonmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235321AbjAFO3P (ORCPT + 54 others); Fri, 6 Jan 2023 09:29:15 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:34188 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235047AbjAFO2v (ORCPT ); Fri, 6 Jan 2023 09:28:51 -0500 X-Greylist: delayed 22727 seconds by postgrey-1.37 at lindbergh.monkeyblade.net; Fri, 06 Jan 2023 06:28:50 PST Received: from mail-4319.protonmail.ch (mail-4319.protonmail.ch [185.70.43.19]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 468F97F470; 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 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_ENVFROM_END_DIGIT, FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,RCVD_IN_MSPIKE_H2,SPF_HELO_PASS, SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@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.