From patchwork Wed Apr 5 15:50:29 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Konrad Dybcio X-Patchwork-Id: 670573 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 4AC17C7619A for ; Wed, 5 Apr 2023 15:51:18 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S239013AbjDEPvR (ORCPT ); Wed, 5 Apr 2023 11:51:17 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:34810 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S239110AbjDEPvD (ORCPT ); Wed, 5 Apr 2023 11:51:03 -0400 Received: from mail-lf1-x135.google.com (mail-lf1-x135.google.com [IPv6:2a00:1450:4864:20::135]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 480AB5FC3 for ; Wed, 5 Apr 2023 08:50:57 -0700 (PDT) Received: by mail-lf1-x135.google.com with SMTP id x17so47302347lfu.5 for ; Wed, 05 Apr 2023 08:50:57 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1680709855; h=cc:to:content-transfer-encoding:mime-version:message-id:date :subject:from:from:to:cc:subject:date:message-id:reply-to; bh=va5MRDxVuFu6eUzgi939YwiVuVG9aH1QEsbzq9XOm98=; b=n75UKJQoNNNzYwLEHLfZ5sbeTrveWKjTakws0xmWE2JuXDLmX5n8AghdMT9pIIVAEP r6wZrcRE5NDid+LCzcqu4P6NibJiUhOHVFbnHLxyXQwFGj39ANiv4RRvkAwqT4Kdsf4F 2H2F5fxALi54LdtZQBUhuzRCRzL8hB9LrExixhaHOhoU52w3x0iOxwaTTFDjudTAb+fG aHSffNbV09Yxiak032f1pq8kj7v2AfPvRDrZ391WtWVqM0JYkCdgMl7I6Oiz+9VPmiTr 4bwT2jTrEEBXYfqTSgvoSzGfD00y7iGLrlyxBsTHX1EVcAl4gZzhebMcx1AMOo92Ze9B QvMg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1680709855; h=cc:to:content-transfer-encoding:mime-version:message-id:date :subject:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=va5MRDxVuFu6eUzgi939YwiVuVG9aH1QEsbzq9XOm98=; b=Nlfa6hu6QnQTwwAttIopr+BWIGmYN0cqA6d9xU/1M3Z2qrUrZ2rvf+0A7MrLrG1TCP Mrr6cCLmOF2MEb0NJKZqqTn5/YAH42A1Fm/6zY1LfbhOHOFGf6iSCpX9+61O2uDyCwmo HbsHMGVKxCiv+QoCLnWbYaf+7GgeQSrBLcvVUSdyPLuDDiI0duHp0m76gozJHu0lA6Iz zZpqbtqBWThpXl9jdpYmJExJtGfxRgLv4FjvuECxFlrnlYxcCTfdF4cyt1GOY3dz2+h1 uD7JuufihcovVPRsE3XcIGB8RXFnaXcqbj17Hw3d5mVR1tFyI6AE2jmbb28GZbuek0qx n2AA== X-Gm-Message-State: AAQBX9cSp28n6bV4p0yPgk3lvsrEvV6CqH94oJWzzM373TsBM7kyDdKL tl8PGM6qU5KA5LsN2lDVPNwhfw== X-Google-Smtp-Source: AKy350Yj9SAzmkKn0xk8l8lX+Eo7ub1/dwwsT3hbSPTwD4FZmTXC1t5jq0YHdU9K+bCjQ2gWUz9XyQ== X-Received: by 2002:a19:700b:0:b0:4e9:74a8:134c with SMTP id h11-20020a19700b000000b004e974a8134cmr1404797lfc.43.1680709855419; Wed, 05 Apr 2023 08:50:55 -0700 (PDT) Received: from [192.168.1.101] (abxh37.neoplus.adsl.tpnet.pl. [83.9.1.37]) by smtp.gmail.com with ESMTPSA id o28-20020ac2495c000000b004eb2db994e7sm2869344lfi.239.2023.04.05.08.50.54 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 05 Apr 2023 08:50:55 -0700 (PDT) From: Konrad Dybcio Subject: [PATCH v2 0/5] RB1 + QCM2290 support Date: Wed, 05 Apr 2023 17:50:29 +0200 Message-Id: <20230403-topic-rb1_qcm-v2-0-dae06f8830dc@linaro.org> MIME-Version: 1.0 X-B4-Tracking: v=1; b=H4sIAMWYLWQC/3WNQQ6CMBBFr2JmbU0pBKor72GImakVJsEWp0g0h Ltb2bt8L/n/LZC8sE9w2i0gfubEMWQw+x24HkPnFd8yg9Gm1JUu1RRHdkqouD7dQzUWrTU1lRX VkDeEySsSDK7Pq/AahixH8Xd+b5FLm7nnNEX5bM25+Nl/93OhtHJoqyPVhlA354EDSjxE6aBd1 /ULKzpIS8AAAAA= To: Andy Gross , Bjorn Andersson , Rob Herring , Krzysztof Kozlowski , Robert Marko , Das Srinagesh Cc: Bhupesh Sharma , Vladimir Zapolskiy , Marijn Suijten , linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Konrad Dybcio , Krzysztof Kozlowski X-Mailer: b4 0.12.2 X-Developer-Signature: v=1; a=ed25519-sha256; t=1680709854; l=2336; i=konrad.dybcio@linaro.org; s=20230215; h=from:subject:message-id; bh=RJldwKTK4D0B/0AUI1O8Eofso4ljGxQhg+FQT9W7K3U=; b=mtFqbfhln8ap48BvCWZY1W4VHaDMlAqpLNxlbgcifpdCewMorsYyRYQQkNBiQBQjNblIAYnVSnz/ lTWKyYteDQn5Wif4d2trphpVv+F+hDed/0kWWwIPmr9LKnVtYbrf X-Developer-Key: i=konrad.dybcio@linaro.org; a=ed25519; pk=iclgkYvtl2w05SSXO5EjjSYlhFKsJ+5OSZBjOkQuEms= Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org v1 -> v2: - Fix missing newline in pm2250.dtsi - Use an enum in [2/5] to allow for more QRB2210 boards - Squash the dt patches into one per SoC, PMIC and board - pick up rb on [1/5] v1: https://lore.kernel.org/r/20230403-topic-rb1_qcm-v1-0-ca849b62ba07@linaro.org This series brings basic support for the Qualcomm Robotics RB1 board, including but not limited to: - TSENS-connected thermal management - USB2 - eMMC (uSD depends requires regulators to work, will be sent separately) - the necessary plumbing for *DSP + Wi-Fi (that also needs regulators) - buttons A compatible in the SCM C driver is not added on purpose, as: 1. it's not neccessary before we figure out disabling rpmcc, the dt part is in regardless (the clock it consumes is always-on today) 2. a point to get rid of SoC-specific compatibles in there was raised See also: https://www.thundercomm.com/product/qualcomm-robotics-rb1-platform/ https://www.qualcomm.com/products/internet-of-things/industrial/industrial-automation/qualcomm-robotics-rb1-platform Dependencies: - https://lore.kernel.org/linux-arm-msm/20230314-topic-2290_compats-v1-0-47e26c3c0365@linaro.org/ - https://lore.kernel.org/linux-arm-msm/20230315183231.3562580-1-konrad.dybcio@linaro.org/ - https://lore.kernel.org/linux-arm-msm/20230323173019.3706069-1-dianders@chromium.org/ Signed-off-by: Konrad Dybcio --- Konrad Dybcio (5): dt-bindings: firmware: document Qualcomm QCM2290 SCM dt-bindings: arm: qcom: Add QRB2210/QCM2290 and RB1 board arm64: dts: qcom: Add initial QCM2290 device tree arm64: dts: qcom: Add initial PM2250 device tree arm64: dts: qcom: Add initial QTI RB1 device tree Documentation/devicetree/bindings/arm/qcom.yaml | 9 + .../devicetree/bindings/firmware/qcom,scm.yaml | 3 + arch/arm64/boot/dts/qcom/Makefile | 1 + arch/arm64/boot/dts/qcom/pm2250.dtsi | 63 + arch/arm64/boot/dts/qcom/qcm2290.dtsi | 1561 ++++++++++++++++++++ arch/arm64/boot/dts/qcom/qrb2210-rb1.dts | 112 ++ 6 files changed, 1749 insertions(+) --- base-commit: 8417c8f5007bf4567ccffda850a3157c7d905f67 change-id: 20230403-topic-rb1_qcm-78a8826b34b6 Best regards,