From patchwork Sat Jan 7 14:19:08 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Nikita Travkin X-Patchwork-Id: 3694 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:4e01:0:0:0:0:0 with SMTP id p1csp1319770wrt; Sat, 7 Jan 2023 06:22:05 -0800 (PST) X-Google-Smtp-Source: AMrXdXv9QF5kpppz0MdMfPvvvmz0T5btXmM8sioxpUlZD2p/KObv/E1L6k1VVALQ5OcDdtXFb771 X-Received: by 2002:a17:902:ec89:b0:185:441e:2314 with SMTP id x9-20020a170902ec8900b00185441e2314mr80509604plg.10.1673101325469; Sat, 07 Jan 2023 06:22:05 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1673101325; cv=none; d=google.com; s=arc-20160816; b=wG7Cux02qMpBT1il/xE6OgaxQVCCNIK7QWZcdBl+TSKVn7ZmcqGz4YrBZr+n2454Ze fCvq2S/nItlvhgvFpi38Mw0GLqP0PrKhYNDNJS/Czq3KafdZxDTvuF0RHwAZwfDygZrL MVZQLoNLzkwBSuZmFFnvbYVMqw+n9eRCw1kAXyc4gzusNYjvzLc/KPsi5yDARsGCwqyJ MbgTaveaDsWikkkEDc5bQK0voqMFey/YofrFlZUOBfEc32lz2Z46lftqDqXc8LGXa7N3 Sm00l9BYE4sHbQrWKQosdA/iIM2JYeU/6LWI4Qlb+C8rHVGVHatLd7Lnm9405dySLKKy trAQ== 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=pSGx4KnrSYKYj++JRi240FBPSs2ZM4+UsD4SBy/9sYc=; b=beTu9xenMuVl5g8K06ykKMnSzIAAFCz3MFFm5e0xaCQR2dwZW3TnPG+dlmc2jI+k83 W54YJgZinGqfw4QS/iiTtSgkEnX4pMAg6xri7B+jGXkdv4qfeKy8sVXXFDlyBbmNk2PR oG5LVY6GSsQUvSn6RGpdzeFmvFm8ZTrkz6y/R3MFDJveQy4PrO4supRTfafZtc8/7CXz rFtKM3g5YIuGrM8Z2cI97iHOXthwOGtbNXBB0qR04ouwtB2JaMVkqFnjayMNm+wQpsbN EAXhLbm4+iA8Ta0EazwazJyuHdAfgfs8InuqIJWA3BW4ZuQU7+4VaNPzX1YZPdn5RujK aubQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@trvn.ru header.s=mail header.b=WlM9mW5N; 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 a10-20020a170902ecca00b001898d8881d1si4514092plh.598.2023.01.07.06.21.52; Sat, 07 Jan 2023 06:22:05 -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=WlM9mW5N; 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 S232752AbjAGOTx (ORCPT + 99 others); Sat, 7 Jan 2023 09:19:53 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:48170 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232065AbjAGOT0 (ORCPT ); Sat, 7 Jan 2023 09:19:26 -0500 Received: from box.trvn.ru (box.trvn.ru [194.87.146.52]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id B55554ECAD; Sat, 7 Jan 2023 06:19:24 -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 410FF4139C; Sat, 7 Jan 2023 19:19:18 +0500 (+05) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=trvn.ru; s=mail; t=1673101158; bh=kb1xKWXTqtrVL/HLrsPEo6UqzygHz3DIBWdjQoIGsTs=; h=From:To:Cc:Subject:Date:From; b=WlM9mW5NgotGAm2YMMXhA3VxpZ1QhoKiJ6Sqc+C5St/DJUBJ/Ef24zobshXiwbbZi Ji+HfsE2D8OYAsY3MvTJRJi7z0ZEG1U4E4AZEdRtzX0CmJ6U317NOnvCiPnFVwr0TF ULxFpQe8cEinpEvRx743cAz7mVvNiKHbvEmV4XGnnlhCbkxX5fNlA/euYBOQ2RTmzZ dzIiQRJTxj0wNBryx0sBbrf4eVsE+T1yRMgKdERNLqWGmowIASQSoCMa8iCoXtM7Wi Z/vpqe//7cF1eO3af3uOEntekYpmDjjCkOAxlYdSq4FD336HnLCNN6MPz6O2sv22Kt 9tiJ4OP4D91AQ== 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 v3 0/3] Add support for Samsung Galaxy tab A (2015) tablets Date: Sat, 7 Jan 2023 19:19:08 +0500 Message-Id: <20230107141911.47229-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?1754373895667834351?= X-GMAIL-MSGID: =?utf-8?q?1754373895667834351?= 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. Changes in v3: - Address Konrad's review comments. 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 | 296 ++++++++++++++++++ .../boot/dts/qcom/msm8916-samsung-gt510.dts | 113 +++++++ .../boot/dts/qcom/msm8916-samsung-gt58.dts | 75 +++++ 5 files changed, 488 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