Received: by 2002:a05:6359:c8b:b0:c7:702f:21d4 with SMTP id go11csp986309rwb; Wed, 28 Sep 2022 11:36:29 -0700 (PDT) X-Google-Smtp-Source: AMsMyM7fwcVDuNSkW6a6hyiUaofKSy1hOBdVGsIi3snc6L6DoLWPyz9NyxRj3JHLYpas2O/iiEKu X-Received: by 2002:a05:6402:1941:b0:457:138:1e88 with SMTP id f1-20020a056402194100b0045701381e88mr23805906edz.394.1664390189504; Wed, 28 Sep 2022 11:36:29 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1664390189; cv=none; d=google.com; s=arc-20160816; b=v/su+WuvcRz7rbRoe9Ex96BsgzZpg8FVBAyS9COpA5/gbGafcvNcj0ag9w42d3r2Hn BNYx6ZitMl7327pGWBsLbt6QSmChf6tCmr4jJw4Tmh4qjg1QmJdUgVtGgUe2D2F8Bd1a MBUwtvOCBE9NfAZ/degV03EHnHIQ1rY+3tVvi5ZQjjmQxxSZezA86taKrrOYX1nH51q4 SEiJfjrZscOUtoOWYaxASio7Cc7YG+aZZBBPqBV+U7xekzVmugG0jHzeMpLfzGM4yLT8 4DQBZgKBFoxALWh+cakAeUP3tV2e0AlFQQ8Sb+PYgh+738vsjNSaJge5L9RKwIRFKMCm GG+Q== 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=+Czl9vgobi2eN8vj4r6XQYDZN6y6dgqZUUlQ7ifNlFY=; b=LaSPXKPeD6UDf0Zsbzwxn3j/N6T9j3KdD4ZNnu8PbKHasTtvozkFp4nixDJLDtU3Ot XkM73aXsbnYo+CPhi1EeFRiijhzJJq/V2/gZD6PHpOCYhOE652pHH/RSqyR/iDR5ouia UFcpLhuC87GYhXUolMF6jlYn9nfTtztEuKnFxfZHHjfznCPcC1/uRoBRFpCMNZzrTGeA 0cvADSV/Cj7HLaq4GiaTfeM9KTRwW4UGj3WW/2n9lNqliIKeRNk3XlGfM1wAJsk3hQZ0 aP8Kk1rks3+jvsKw+iyu2pCbYc5Jk336GSefrp2svqueIi7WQNoPoCI8AbonnsvJ9IR3 nSJA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@protonmail.com header.s=protonmail3 header.b=hhKIkoY4; 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 tl2-20020a170907c30200b00781d984d289si3963238ejc.495.2022.09.28.11.36.00; Wed, 28 Sep 2022 11:36:29 -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=hhKIkoY4; 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 S233658AbiI1S0v (ORCPT + 99 others); Wed, 28 Sep 2022 14:26:51 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:42572 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232518AbiI1S0t (ORCPT ); Wed, 28 Sep 2022 14:26:49 -0400 Received: from mail-4319.protonmail.ch (mail-4319.protonmail.ch [185.70.43.19]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id E89BFF0884 for ; Wed, 28 Sep 2022 11:26:47 -0700 (PDT) Date: Wed, 28 Sep 2022 18:26:36 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=protonmail.com; s=protonmail3; t=1664389605; x=1664648805; bh=+Czl9vgobi2eN8vj4r6XQYDZN6y6dgqZUUlQ7ifNlFY=; h=Date:To:From:Cc:Subject:Message-ID:Feedback-ID:From:To:Cc:Date: Subject:Reply-To:Feedback-ID:Message-ID; b=hhKIkoY4s9MMhZfONV8ICOIHao7XDfHX0my1PPy7QYvTwiWy4R5BW5UckE+tfj8Kf jJyLCLxJ75EAvEHPsFqW5QEky5uP3/mfXgf7otpymrrg43JFvmuLvIbjZ2Z4SJ+etD OuTTaNZCy43e7CFUHhhNe5g2MhxqkKbiZPpuSMDekQ56iBNDRmHI10Uo9V4eYg6tlz 0BuQkOw15ZabkxM7rVrYx0nUjqIjc6cLElRMSKtHqDt5uR9smKQ8jNwU0C9Z+zgL9x VE/Qucmqt6TYjY11sJjpFkhepQokZjkEuwDLekqQkHRaQy1daNuBe55ydSyMi/Fmyf ki3weCmrlZG7Q== 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 v4 0/4] arm64: dts: qcom: msm8916-samsung-j5: Use common device tree Message-ID: <20220928182435.186116-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 v4: Try "git format-patch -B -C -M -D" to fix the patches. 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.