Received: by 2002:a05:6359:c8b:b0:c7:702f:21d4 with SMTP id go11csp1002112rwb; Wed, 28 Sep 2022 11:49:52 -0700 (PDT) X-Google-Smtp-Source: AMsMyM5zdvZhGfaEcdpKulD/1NBJhFfu5I7q7U1/oTxG9R9vfpQc2vXO39PA9+MNlMJzLgdeKn5i X-Received: by 2002:a17:907:1c08:b0:782:a340:56d7 with SMTP id nc8-20020a1709071c0800b00782a34056d7mr23847987ejc.98.1664390992256; Wed, 28 Sep 2022 11:49:52 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1664390992; cv=none; d=google.com; s=arc-20160816; b=MqBmfbEfO/chSTrgVPaLsDTkAXB1rkTxCq6ndbRfswxAG4SSZ4dgJvSlfgASSE/eTQ vAO7FfOogoYHi+wVgDd0ii+m1/nMAISejrICyjoCj3JvhPFeOKAJR3omNVVmqshlEkZv oJoC5S20fi9vhz7LsNJtPDbIZ4Ymu5yj4AjzMBKLiv3A4y5SRymyPiBBx2w2d2xGk6bl 4o9+cU3TzU1SJcVxmL32504g+kPNBJAi5ABZfwgwM8srTVRf+G3F67opoBiCKk2gtPOL VErOOPDeXSXSEL+pwZK/PUcAr4/zQ2R2YWvxdXF/zwiFjMw94V2dUrcCPlS09QveUaMu jxvw== 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=EAkIN+WYvtOVI51kPRMQTeYYERpA+jklMLzBpvelsh4=; b=maGU15YZyH/ENusjjphxYv0INdncxaSF6O9ExAksP1m9EmwxtgoXA6hw7ofQkVlQ1m +tGjzW9FYSkb8ExJQWvAhmv1g5VmZztEoYiRVW9abI4HHFrftc2CBvlROjddwjQ7QvZj fnA2WCMjSnvN2d18v9aCmAEPaf+Ot2V8a1xbr8Dz7U7ZehQe+lwS2uqnII1PTbWkT1y0 hyZ+ht5ligeIyRAtkab2Z+niWNopSAofAWl7oEg8zieRvyn9/9GWecQQNCOIHxW/hd6r cASEd/4Css9OLeI+QPdhAp/XycEaGqQq2T2kk4CmhREeRsoK8t154aGlGCMnrHjRxpmz Hp7Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@protonmail.com header.s=protonmail3 header.b=xn7Jek4P; 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 sd37-20020a1709076e2500b0073d61f9a7b6si6199835ejc.263.2022.09.28.11.49.26; Wed, 28 Sep 2022 11:49:52 -0700 (PDT) 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=xn7Jek4P; 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 S233320AbiI1Sml (ORCPT + 99 others); Wed, 28 Sep 2022 14:42:41 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:45154 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232396AbiI1Smk (ORCPT ); Wed, 28 Sep 2022 14:42:40 -0400 Received: from mail-40135.protonmail.ch (mail-40135.protonmail.ch [185.70.40.135]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 0715E8B2E7 for ; Wed, 28 Sep 2022 11:42:38 -0700 (PDT) Date: Wed, 28 Sep 2022 18:42:34 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=protonmail.com; s=protonmail3; t=1664390557; x=1664649757; bh=EAkIN+WYvtOVI51kPRMQTeYYERpA+jklMLzBpvelsh4=; h=Date:To:From:Cc:Subject:Message-ID:Feedback-ID:From:To:Cc:Date: Subject:Reply-To:Feedback-ID:Message-ID; b=xn7Jek4PXDCe8RFU3dNnUw972qg33W+tLebFNpbTdivnEDuJaz3DEC55LKbmIOveC 4PDo94geSd7/KxVXnpkm6E8ysOy11vwFUVYw23cDVkng6SHlzSX1R//xH4dCizc2C4 urdY6hyg6ai3ZEB8VRoPB9iRJ8OGQ6XIFhYNiW3nJL/4V6pXgjyXiAbM7te5MKR1pN RME2wHPNHEMEM6cNyknqLmV/FfkCeEm/8m+tyiHGGHZtcXHe6mkFM9mSoHg3BMFbIL pvzBoY9uFZbrFTB7JOwAio3lJuHZGj2vCUYGqeWF5tU1rOkZOvvpAx+KzPS/CPgxFP 4GJnNB3VO95HQ== To: devicetree@vger.kernel.org From: "Lin, Meng-Bo" Cc: Andy Gross , Bjorn Andersson , Konrad Dybcio , Rob Herring , Krzysztof Kozlowski , Julian Ribbeck , Stephan Gerhold , Nikita Travkin , Josef W Menad , Markuss Broks , linux-arm-msm@vger.kernel.org, linux-kernel@vger.kernel.org, ~postmarketos/upstreaming@lists.sr.ht Subject: [PATCH v5 0/4] arm64: dts: qcom: msm8916-samsung-j5: Use common device tree Message-ID: <20220928184155.186632-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_MSPIKE_H2,SPF_HELO_PASS,SPF_PASS autolearn=ham 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 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*) Samsung Galaxy J3 2016 - SM-J3109/SM-J320Y/SM-J320YZ - SM-J320N0/SM-J320ZN - SM-J320P/SM-J320R4/SM-J320V/SM-S320VL Add a common device tree for with initial support for: - GPIO keys - SDHCI (internal and external storage) - USB Device Mode - UART (on USB connector via the SM5703 MUIC) - WCNSS (WiFi/BT) - Regulators The three devices (some varints of J3, 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.