From patchwork Fri Jan 6 12:25:29 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Nikita Travkin X-Patchwork-Id: 3661 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:4e01:0:0:0:0:0 with SMTP id p1csp794156wrt; Fri, 6 Jan 2023 04:27:12 -0800 (PST) X-Google-Smtp-Source: AMrXdXuamlFCiGUSC6eGvwawOSlDVGZJjVigCHV+S53hOnpT7vAmQ2uvWf0YpJsDuxm6FBj9xGTa X-Received: by 2002:a17:90a:e09:b0:20d:bd60:ada4 with SMTP id v9-20020a17090a0e0900b0020dbd60ada4mr66574527pje.32.1673008031978; Fri, 06 Jan 2023 04:27:11 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1673008031; cv=none; d=google.com; s=arc-20160816; b=v3uXmYnIFESpGd8f5z6L2KWKabgWP57zMsHhIdcSyVX9Z44AHSKBt+3uuFdLa08eCT wdGsqXZB2yc/wkPNh6qlT8hcW2KipGJ0pl4eU5F8MqgBJ10Z0x3CkMBAgYfYu6TbenHf hdCI6MOK2J8eRPJcHLCpCSiaonrFUmAWzu0MjsTLGdC78BFzxED5C6N7eucg4Uk1nG6I QASYsxZ70cHdH88iF0LSjVWmn3d4jUm+22RzSrbS7UDWhJuBMUulyoEcmpp5vkl5TpcO MZA39myNckv1U6GffEEUXS1BIpmNHt3MgYqzbCuSIjXaN0TS663ebseFKvjfx0rwlMC1 9t4Q== 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=6f6iQ2xzkAMuDgXV6t+OcYrJDh7LnKxLnapiRmhJDh0=; b=R+XE8W+mGvWDwN6+V/mbJQNa1UisaMdPgYojMfnX7dOezAWORG6mIhbtM3wmDQEf6J G0aty38xVwC4GLSsyzHDomLsDcnz0btdRmyq13M/OO3S4KaN1d5OQlyNDVrgRmsWzvOZ ShQ8KZj8kvz2cFlV1PIOiXd9ycQLrFX2BH6etJRc4AbGjKJTurzWL3/lURxvnq9E1YWv AXehq4dZ+uN5B+XKCLHVBGb2S7JM8QFxvIDGqR0uIDkgsUD928IkSJR3wbnLo8DzEXi7 IoOMZtaZcnICeiCVGbQ2qfkW09uvT+GtsmvG/VBPREXNX3UlpAEHGgMqJ9dp0QSyDvAI jNMg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@trvn.ru header.s=mail header.b=DVu3qIX3; 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 m5-20020a635805000000b004a418549e70si1345941pgb.239.2023.01.06.04.26.59; Fri, 06 Jan 2023 04:27:11 -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=DVu3qIX3; 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 S232626AbjAFM0Y (ORCPT + 99 others); Fri, 6 Jan 2023 07:26:24 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56592 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229703AbjAFM0R (ORCPT ); Fri, 6 Jan 2023 07:26:17 -0500 Received: from box.trvn.ru (box.trvn.ru [194.87.146.52]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 8A8AE8FCF; Fri, 6 Jan 2023 04:26:12 -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 E4CB441902; Fri, 6 Jan 2023 17:26:06 +0500 (+05) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=trvn.ru; s=mail; t=1673007967; bh=86xiYSv+MPrFMXtYcOiY0Rh3lvW73O7CDGUCbBq3NfQ=; h=From:To:Cc:Subject:Date:From; b=DVu3qIX34r8h8IsJhPeWHrynjbynNhMspWINBedML/lu6VZegi1frr4CZI0pOZmyJ KhfyAGE+XPcuJiemfby48FyveDS+TuTt2o4UbshnC56r42rM/ChKVZmDchsmAZNgOK porSTUN7bLSsmTtRrw4RhCg60Tc7giDG4QoyR/TwguFNFzSyfRxzK/ygNzQ9g3SHB1 B/ihtKVQpvT0ND9r0inD3gCv1m2dyX05OqfVYsi5YsDaSbAYxWjFdmLb5J+A2lCHiO 5PDWrUlT5DhkkbOxoMceBmDAmhey/o2claMXeMLUIBd/BNM7rwGVfyNmIKSfFlH40h Kb0sQ1T3lWOeA== 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 v2 0/3] Add support for Samsung Galaxy tab A (2015) tablets Date: Fri, 6 Jan 2023 17:25:29 +0500 Message-Id: <20230106122532.3310265-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?1754276070061662232?= X-GMAIL-MSGID: =?utf-8?q?1754276070061662232?= 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. Changes in v2: - Squashed the commits. Jasper Korten (1): arm64: dts: qcom: Add device tree for Samsung Galaxy Tab A 9.7 (2015) Nikita Travkin (1): dt-bindings: qcom: Document samsung,gt58 and gt510 Siddharth Manthan (1): arm64: dts: qcom: Add device tree for Samsung Galaxy Tab A 8.0 (2015) .../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