From patchwork Thu Jan 5 12:32:32 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Nikita Travkin X-Patchwork-Id: 3614 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:4e01:0:0:0:0:0 with SMTP id p1csp284638wrt; Thu, 5 Jan 2023 04:53:14 -0800 (PST) X-Google-Smtp-Source: AMrXdXvO8DLCEPauCi/YNhxMR8imFNnC2PT+JTJUQtOuKSkleSUyqkCLAqaVbaOhYWJ9DCXn6pgH X-Received: by 2002:a17:906:5dd2:b0:7c1:7010:f413 with SMTP id p18-20020a1709065dd200b007c17010f413mr47924494ejv.19.1672923194741; Thu, 05 Jan 2023 04:53:14 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1672923194; cv=none; d=google.com; s=arc-20160816; b=etmczt3WSm265/4ADr7cooRbOz3dTv88ppFmR25OBqX9h2Yc2j1cFPzxhuAKbMANlg 9VGqcDpGFZilYcV1DEVYzve1eMuHfr0cwdSllqW64lXPH2rZSd4jvnPsuOC018ggfLAU 0u2dn7wR2wYL4ciWomN2vaD/BbikwBkD9Omf+lbV2l33shwe99XJoz5QwDFuaC4yd3hc ER3rqfdx48q7NoCB7E11y5YK2IrErIgM95ZfS1cl7fYSWwFQYCLkvXCFeGnq86Xnhxfv 2IYRjQNwVwLy/yCAZoMLHvw9hydyUut9tDPzuztsR6TNuCqQVOUqdG3d1o5+XY3l5mld eL8g== 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 :message-id:date:subject:cc:to:from:dkim-signature; bh=S8qpIXRKsEcmZCm/zVf3pI8hRUl75ti2eTIiv5Mo5r8=; b=x6owua+LlJemjoI2ZawEe+9r46xNfPlPVd4g4B7xwZTQp2aJhKTtI6mn3/gWh32hD4 vVYmq0FcYmzVPNNgCOZ8g8Qs3TgWSt9HNPDWiESevNG6QuuKXU2CzBkQdctWbB6q9nT9 aH11Q4swop4L9zSkuXrCArTaxOrzWgtDbn7nFIgZejY7AFmU0ovebZNrojeEHLe5Nk+n 41tdRSJH7bmXEAU35zgzjV//SQN8VYpoQilNkZ86QQh+t4gfagd3inznIfmnkjZs9rbd dEniGLj1T8P4tNWtn+ERylorwQg0D0ztS6+2Tx9S6UFZJsh4tpT4un5D0ueDiGyxB8wb yZGw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@trvn.ru header.s=mail header.b=SZ+qLlPO; 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=trvn.ru Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id hd32-20020a17090796a000b007c6be268253si34629084ejc.608.2023.01.05.04.52.51; Thu, 05 Jan 2023 04:53:14 -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=@trvn.ru header.s=mail header.b=SZ+qLlPO; 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=trvn.ru Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233303AbjAEMv0 (ORCPT + 99 others); Thu, 5 Jan 2023 07:51:26 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:40616 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232920AbjAEMvY (ORCPT ); Thu, 5 Jan 2023 07:51:24 -0500 X-Greylist: delayed 1043 seconds by postgrey-1.37 at lindbergh.monkeyblade.net; Thu, 05 Jan 2023 04:51:22 PST Received: from box.trvn.ru (box.trvn.ru [194.87.146.52]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 91BE74BD68; Thu, 5 Jan 2023 04:51:22 -0800 (PST) Received: from authenticated-user (box.trvn.ru [194.87.146.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) (No client certificate requested) by box.trvn.ru (Postfix) with ESMTPSA id B7F4F405D5; Thu, 5 Jan 2023 17:33:54 +0500 (+05) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=trvn.ru; s=mail; t=1672922035; bh=JY3J18vceNqkSljuhdCvK7VZGF4GKA73SWNTTOQTB8M=; h=From:To:Cc:Subject:Date:From; b=SZ+qLlPOV4Wt3/zRoqX2hI0ItaBm6Rwhu3jThWYFfnvPgHf2RgfsnJ0ucvkI0K6dC Tx4SeA0cQ/nqSsPMOhX90ZZR7U4uo6wBMCJnHZOSL/CxsasCN5ZQp0M9BO9lPED85w dC24BDvF5P3thm2lCj1iI2TaFDF00Lny5vU797zHPNby1zTZSD+Twlpt8qzcVNTaCf Pvi9R2mkgoHDhk0VEjy2Hf8rjIO9VnS0pITrOYSxNqAJAhNTurZTJO59VNssKywiXl shQD9pApGw7jPF3LTruM9EiKakElPJPLjM9EaTzhZ3jx8BXIfU9zlWkXcf0QrGwQyc bFprF6YDmY2xg== From: Nikita Travkin To: Andy Gross , Bjorn Andersson Cc: Rob Herring , Krzysztof Kozlowski , Konrad Dybcio , Siddharth Manthan , Jasper Korten , linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, ~postmarketos/upstreaming@lists.sr.ht, Nikita Travkin Subject: [PATCH 0/8] Add support for Samsung Galaxy tab A (2015) tablets Date: Thu, 5 Jan 2023 17:32:32 +0500 Message-Id: <20230105123240.1089375-1-nikita@trvn.ru> MIME-Version: 1.0 X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,SPF_HELO_PASS,SPF_PASS, T_ANY_PILL_PRICE 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 X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1754187111507380748?= X-GMAIL-MSGID: =?utf-8?q?1754187111507380748?= This series introduces basic support for two Galaxy Tab A tablets: 8 and 10 inch variants. They share most of the hardware and are mainly dffernet by the display. With this series both tablets gain support for things like - SDHCI (internal and external storage) - USB Device Mode - UART - Regulators - WCNSS (WiFi/BT) - GPIO keys - Fuel gauge - Touchscreen - Accelerometer In fact, with some additional patches like display and modem support, that are not included as part of this series, these tablets can actually reach one's expectations of what a "normal" tablet should be able to do. Jasper Korten (2): arm64: dts: qcom: Add device tree for Samsung Galaxy Tab A (2015) arm64: dts: qcom: msm8916-samsung-gt510: Add touchscreen Nikita Travkin (3): dt-bindings: qcom: Document samsung,gt58 and gt510 arm64: dts: qcom: msm8916-samsung-gt510: Add Vibrator arm64: dts: qcom: msm8916-samsung-gt5-common: Add fuelgauge Siddharth Manthan (3): arm64: dts: qcom: msm8916-samsung-gt58: Add Vibrator arm64: dts: qcom: msm8916-samsung-gt58: Add touchscreen arm64: dts: qcom: msm8916-samsung-gt5-common: add sensors .../devicetree/bindings/arm/qcom.yaml | 2 + arch/arm64/boot/dts/qcom/Makefile | 2 + .../dts/qcom/msm8916-samsung-gt5-common.dtsi | 300 ++++++++++++++++++ .../boot/dts/qcom/msm8916-samsung-gt510.dts | 116 +++++++ .../boot/dts/qcom/msm8916-samsung-gt58.dts | 78 +++++ 5 files changed, 498 insertions(+) create mode 100644 arch/arm64/boot/dts/qcom/msm8916-samsung-gt5-common.dtsi create mode 100644 arch/arm64/boot/dts/qcom/msm8916-samsung-gt510.dts create mode 100644 arch/arm64/boot/dts/qcom/msm8916-samsung-gt58.dts