Received: by 2002:a05:6359:c8b:b0:c7:702f:21d4 with SMTP id go11csp900881rwb; Wed, 28 Sep 2022 10:26:10 -0700 (PDT) X-Google-Smtp-Source: AMsMyM7QYY8anz/jPQT1NalgjedIeRU+Xu5ZX1SYOvOtWpo2Tb+zupFHe968ANBPc8PNiEcujnWq X-Received: by 2002:a17:903:41c6:b0:178:348e:f760 with SMTP id u6-20020a17090341c600b00178348ef760mr821867ple.123.1664385969687; Wed, 28 Sep 2022 10:26:09 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1664385969; cv=none; d=google.com; s=arc-20160816; b=NfwhO5MLuWGgdDtfhHMgJBzyBjqm+9My/dytoAyVXkBUyXhM+bx9ZfBBEPgdqZkrdJ CHZ82vTOr4qPHHPvS5hEHGmSrm5kR7lqTIzZ1KGt8t8V446htlWM8lUsRY/HkzRPDOZX SNaJWye128OjgE11Ciu0ylLHLRWTosvpBwnr2Tf2Yv14t0mxSD21Ci5t0Pn4DvU+RO6l pIfMAn7EIyZEYzi6IiHoFx20V/kS1s2VCByy6msv1U0Ax7jqmKLibRcAvb52+lwW8eCb hzUOOzqydvcc4UzdOnWnZJW2rXfo12cqm+ORsteuNGShzvppl/K5xXPNv3lEYVwObHic xHOQ== 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=o11CrCXx0Cb6C3dCffIEI1V7Knf/291iZPlpw60/k7s=; b=HbkP5wT2oGakj1F14FiisVZhUb3hFdmdlBYuFootvlC0AjURXxtYM25U45Mc4FouT1 yCvr8c1+aerI4bRGTvYXua4x0waQg5GaKIsmYlTQcKMW/G57vhlAsHjakOm73cTBNDP5 ZG4b9ELCoVnwz7pFFXpYL7vct0tU1hhfPKF74Oh7POGp/hapd3PZxdz6a+V+Kc7qtqQv dIXy5R87ixu8PD0Fh/jGcqIuJvkhsTd5ERuJ33ptWTw/dNA2L63JUx4DXIo0m6jtSkzV Do5xzOH1tGMgAdESZsNOveq/WyW60kLGX9z5cF23AXZXRGYNwgKo3pZ3rvBQs3ssDbc6 IHjQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@protonmail.com header.s=protonmail3 header.b=ND23sbLU; 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 k11-20020a170902ba8b00b0017828d3c263si3184410pls.192.2022.09.28.10.25.54; Wed, 28 Sep 2022 10:26:09 -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=ND23sbLU; 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 S234335AbiI1Qnq (ORCPT + 99 others); Wed, 28 Sep 2022 12:43:46 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:51934 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234353AbiI1QnP (ORCPT ); Wed, 28 Sep 2022 12:43:15 -0400 X-Greylist: delayed 14595 seconds by postgrey-1.37 at lindbergh.monkeyblade.net; Wed, 28 Sep 2022 09:43:14 PDT Received: from mail-4324.protonmail.ch (mail-4324.protonmail.ch [185.70.43.24]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 8593CE7C30; Wed, 28 Sep 2022 09:43:14 -0700 (PDT) Date: Wed, 28 Sep 2022 16:42:58 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=protonmail.com; s=protonmail3; t=1664383392; x=1664642592; bh=o11CrCXx0Cb6C3dCffIEI1V7Knf/291iZPlpw60/k7s=; h=Date:To:From:Cc:Subject:Message-ID:Feedback-ID:From:To:Cc:Date: Subject:Reply-To:Feedback-ID:Message-ID; b=ND23sbLU5butRIwTVoikUa3Do09MRayFc/fZy7pOzj6blGZpLrAi+l0RdLDt/Tfg3 ZtC0BTVOi6HFR9+lGHvI89FZHbxUaBdr1e8QVkuuwMKLBviG8wqdL9EQRipnCK3pOT Fddlv1pQ8vX01hH3JNrZGvRffOEoED7GCAgYrQjpM77tE6fDg2+mAumE+6H5ZUs8Cv b6xDdIFkXvbX8TIAONXVHUkYiyg2rsjVQXPbW5WrK4CxcDdoT5LIbw3X7mf8YmlLAo jW9SJvtbULhGgM5jHteaN0uWo8Sw9DJYc6qzhIp/P4sust8ooYioLHcD0gDoOCY7pe P5nim3cXZgqfQ== To: devicetree@vger.kernel.org From: "Lin, Meng-Bo" Cc: 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 v2 0/4] arm64: dts: qcom: msm8916-samsung-j5: Use common device tree Message-ID: <20220928164243.178777-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 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.