Received: by 2002:ac0:da4c:0:0:0:0:0 with SMTP id a12csp1497367imi; Sat, 23 Jul 2022 07:29:21 -0700 (PDT) X-Google-Smtp-Source: AGRyM1tgqtuZabf6iKJulmuLQ0Nm9iQDTLpeaUr9MPvFyurx8QwGMtdJJH+MzbM2qmNCkgz0DbjZ X-Received: by 2002:a17:906:ef90:b0:72b:4a96:83fc with SMTP id ze16-20020a170906ef9000b0072b4a9683fcmr3728374ejb.453.1658586561190; Sat, 23 Jul 2022 07:29:21 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1658586561; cv=none; d=google.com; s=arc-20160816; b=m7HiEA/w3cwZWQMn8r6f4K0AsKXihju1kkI8RF1or7o0c30A4nA3fycry3AZiqXnUw OBLEVzX+Znpygv0V5ckTCu45X6j8HTmzDfcIzJMFC20gZwPnjSr/AFaf+s0RlUhRLJhw +RbTcBWAs/DTck1YCqJ8sJ96+4Dk/JLhZF14pnqQZy0NKabOTCaFm4d4jW0My6Jo1fqA rbqSkJGYaV0tTC/vNJoVq7oKy+o0DlwsdKPFg7FJk9ER49a8TO0BOKW4e5UQ2sSEvV6f evFfICYTIoN8AJsB5JvMDNKoMNgahTzny0P0jMHpLv5bishwFDbepAbQKN0AFPZqmGii n4sQ== 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:reply-to:cc:from:to:dkim-signature :date; bh=SihTKt45aRpcxX9AMLARdfazz57gHKVVDZNki8wzPh8=; b=WHIzDatZP1hln8RqOpoK7dv1CHmRCuIzDOfTuH7ROln7YEOSFQV4+bZB1Xu6oamkr8 FvWT74ViNR5WDa2XnlUnRmQaiuAMIScAM/PivI4dPaVjP1w3R4kk9URaadWYj+VmU154 Txa3fkuyjEwgxoO3Ytpm/CGzSkg41IJ6clBJIfZS/lzFoJy3twowWmW1SUgREnUHhW8F eJ7UCldAOr3H9PDGPFf19V8eSBS1ihj87Do0hpjGydLLcMpGCGfuFtm7FIuf6KJpRhEN jBy6lTCUL5RfOmo1SSyK4YkK+EEELTd8kJ4oKb0mrJXnJIVPGyDFeR9hx45iYQUcWNdm UiqQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@protonmail.com header.s=protonmail3 header.b=ppGnTOJR; 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 dn18-20020a05640222f200b0043a515392cfsi7565887edb.505.2022.07.23.07.28.56; Sat, 23 Jul 2022 07:29:21 -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=ppGnTOJR; 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 S237585AbiGWOW3 (ORCPT + 99 others); Sat, 23 Jul 2022 10:22:29 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:50686 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S237883AbiGWOWP (ORCPT ); Sat, 23 Jul 2022 10:22:15 -0400 Received: from mail-4325.protonmail.ch (mail-4325.protonmail.ch [185.70.43.25]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 0291122B3B; Sat, 23 Jul 2022 07:21:15 -0700 (PDT) Date: Sat, 23 Jul 2022 14:21:05 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=protonmail.com; s=protonmail3; t=1658586072; x=1658845272; bh=SihTKt45aRpcxX9AMLARdfazz57gHKVVDZNki8wzPh8=; h=Date:To:From:Cc:Reply-To:Subject:Message-ID:Feedback-ID:From:To: Cc:Date:Subject:Reply-To:Feedback-ID:Message-ID; b=ppGnTOJRS6a09VAzeykPPsGl8ZqncmNFguz2ICyPauWV6Sxclwg2AXV10w350MPkm Qmty8HkCK2Ro0sCCVcfOeVO+uFiyMuboHZWx/4eCzo+TklBmkjfejHItGbUJuDnwMY VJQ6TDItV5K1j2R2zsRIt0ucW94DZHkcEPXv1NynL8DsoAoUDgLpp35UCAR5q0VifF 69m6aW2VW01rDP+GPbXtZQ0IGDUon0jQ/D6hLGEMG5fJXZAqouvnucUoBqfdrYDTrC S/LFAFgQJp0QBIhn/B9VmdT/4u2+7oNkGHL0IbYQYLVtuU44Z0kz5TNyJ9wu8pitLz 9SB0DyQiv+A8g== To: devicetree@vger.kernel.org From: "Lin, Meng-Bo" Cc: Andy Gross , Bjorn Andersson , Konrad Dybcio , Rob Herring , Krzysztof Kozlowski , linux-arm-msm@vger.kernel.org, linux-kernel@vger.kernel.org, Stephan Gerhold , Nikita Travkin , ~postmarketos/upstreaming@lists.sr.ht Reply-To: "Lin, Meng-Bo" Subject: [PATCH v5 0/4] Add Samsung Galaxy E5/E7/Grand Max device trees Message-ID: <20220723141835.136196-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.6 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_ENVFROM_END_DIGIT, FREEMAIL_FROM,FREEMAIL_REPLYTO_END_DIGIT,SPF_HELO_PASS,SPF_PASS autolearn=no 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 Error: arch/arm64/boot/dts/qcom/msm8916-samsung-e2015-common.dtsi:36.2-22 Properti= es must precede subnodes Restore Acked-by tag in the dt-bindings patch v4: Disable i2c2 until lis2hh12 accelerometer is fixed. Add GPIO LEDs for Grand Max. v3: Add a cover letter and changelog v2: Add dt-bindings documentation Samsung Galaxy E5, E7 and Grand Max are smartphones using the MSM8916 SoC released in 2015. e2015 and a2015 are similar, with some differences in accelerometer, MUIC and Vibrator. The common parts are shared in msm8916-samsung-a2015-common.dtsi to reduce duplication. The three devices (and all other variants of E5/E7/Grand Max released in 2015) are very similar, with some differences in display, touchscreen, sensors and NFC. The common parts are shared in msm8916-samsung-e2015-common.dtsi to reduce duplication. Unfortunately, some E5/E7/Grand Max were released with outdated 32-bit only firmware and never received any update from Samsung. Since the 32-bit TrustZone firmware is signed there seems to be no way currently to actually boot this device tree on arm64 Linux on those variants at the moment. However, it is possible to use this device tree by compiling an ARM32 kernel instead. The device tree can be easily built on ARM32 with an #include and it works really well there. To avoid confusion for others it is still better to add this device tree on arm64. Otherwise it's easy to forget to update this one when making some changes that affect all MSM8916 devices. Maybe someone finds a way to boot ARM64 Linux on those device at some point. In this case I expect that this device tree can be simply used as-is.