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: 7760 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:b0ea:0:b0:3b6:4342:cba0 with SMTP id b10csp418440vqo; Wed, 5 Apr 2023 09:05:42 -0700 (PDT) X-Google-Smtp-Source: AKy350Z4MNXnDo7D7D8u2g+MGvh3+XNUiIIhonzUni7hqyV4q4CKc23UbHedrWAJC3PwEp7TxiM4 X-Received: by 2002:a05:6a20:3b28:b0:d9:63c3:e298 with SMTP id c40-20020a056a203b2800b000d963c3e298mr3370801pzh.10.1680710742589; Wed, 05 Apr 2023 09:05:42 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1680710742; cv=none; d=google.com; s=arc-20160816; b=jK2GEa8WztXT7gHuy90ZmSldnATPCFS/D/GHprhD09su2OtX4qV3tVZIZyUsgcbYy1 iyboRLvK+7CUTQrXYAKP5nzwTrjjXArbaQG634u8gN5RKLogF4Oz5V0xHcd2GdhsABx9 QG/guUFUbwbi1ciOfUMtyAdsifYHkxVcCeib8Nzz2fAibYy0/3sG5jhcYSKInvH7K+Dp WJIMppsKVc7VR941dWXeoPu9Da0YZTm8tAHBhhAuszjZ0a7FyTU9CB5GiUhnMTf1l2Zy KgFiArLlri4AEv1Xo1Y9MU4rf4Z24L62LX7BCU86oJeQXMX1XpZaGtgPcayOllhH4eUv G11g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:content-transfer-encoding:mime-version :message-id:date:subject:from:dkim-signature; bh=va5MRDxVuFu6eUzgi939YwiVuVG9aH1QEsbzq9XOm98=; b=qmhm5XSVac3fYSnnKjhXYuFbOQGXCkD7M5tQDBp1tphgurse82YIKgsnF3MyB5lGp8 SXE9i+UUqZctVklCNBq0vcJgZWw/2zqGNXPOTiiL8vu05mqBiTPws7c13gS8rKittb5r giYuD9mnEvC1XK7WPA1BxEZJG1YKjd8mGHBaYFhbV5GCIg+cGUqECpdCYdGYVkJQS9nK u27kFVeTe1aRssTfk2aNmtHhbQVyAoi1kctbt7eLWSkT5d32kdwapCMParwuhl/ZDHZw 9swsYUoVBCX63TZM9UZ9a0F1ML+Ri/QW54ZdbuMdlRiLiEtJ4acp/wz67TMnjDOIQphK KKcA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=n75UKJQo; 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=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id l34-20020a635722000000b0051320e68179si12609395pgb.3.2023.04.05.09.05.28; Wed, 05 Apr 2023 09:05:42 -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=@linaro.org header.s=google header.b=n75UKJQo; 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=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S239110AbjDEPvS (ORCPT + 99 others); Wed, 5 Apr 2023 11:51:18 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:34756 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S239108AbjDEPvD (ORCPT ); Wed, 5 Apr 2023 11:51:03 -0400 Received: from mail-lf1-x131.google.com (mail-lf1-x131.google.com [IPv6:2a00:1450:4864:20::131]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 49EC172B3 for ; Wed, 5 Apr 2023 08:50:57 -0700 (PDT) Received: by mail-lf1-x131.google.com with SMTP id br6so47219306lfb.11 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=B8RW3VJ8TSGEyunMVOZuy8ukqKQMCjh3Qj+ds5tQM7odQAUNNE4uSgc0eNhoYnGJfm krYn/2ETHYMny/rObKdI0KONbNYLEC/V7L3aMW1a/3If45m5rXkKK3MnPdboB66WycFU co08bzWEwd/gxtNvjMCbvMsfEjzQC3NRWC9ZlcaNdogIfvv5b6DekcJVCBmhOLAc2IrO uF0ZtMT5kQa7o8ESUp+9QaEcDdm9Fjx1EdVJ8apd/KJ1ZppodXMoXFTjh0qOIaWC54xZ +ihgIk6D3oINxavDybc8AWexQUzq7iHRm4m22U9LByAQTR6Lg1ZwXzEj7v6TyCRnSD3k bEKA== X-Gm-Message-State: AAQBX9dzLM+eWJGLx5Ybatfu++gu2bvDWTOk82b9V7IbFRZ+36qpqwJ0 WpBuXkEZgyrBW570a7adUsCHsA== 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= X-Spam-Status: No, score=-0.2 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS autolearn=unavailable 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?1762352947973125741?= X-GMAIL-MSGID: =?utf-8?q?1762352947973125741?= 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,