Received: by 2002:a05:6358:11c7:b0:104:8066:f915 with SMTP id i7csp5130070rwl; Tue, 11 Apr 2023 00:30:07 -0700 (PDT) X-Google-Smtp-Source: AKy350aucIvNw18Cs/+1HkURMpvcERzT5Fh7QlMX+wZr8HMwCpEoDro9hn4113IDLUTeuda93GsC X-Received: by 2002:a17:90b:1e06:b0:246:ac68:d4e9 with SMTP id pg6-20020a17090b1e0600b00246ac68d4e9mr6383737pjb.6.1681198207301; Tue, 11 Apr 2023 00:30:07 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1681198207; cv=none; d=google.com; s=arc-20160816; b=HkwN6FHUk8p2CCXsAGaRISBqq9npHRN45u+rnUc6d6JfvtqBCC1ZYhHijZtDxy45up 6xE79cH1XRHGYHtoR9jiFLxpOAG8iWlE1hh5lEWrBhAaVhfI+NoNQ88Za2YwHQmafulJ 8OIwQanJT92jF3Jzt2dGXlD/J/9QrA2M/mULTFOVXfSeWArGaJKXJHt9fg0ZPPv9VOUv /wMSUKQrXN4VDq+oUDvc9LDj4vimMlX8Y5aiMpq8DT4YBb7Ykfw2dgJoZMFVeaRxf5g7 gd8sk9AjI+2Ug/yvi5sgRJYMPumaQaGRpJl/CM2gVxEvdpRrkc4xnhNy/wye5q7sK9y7 Nvzw== 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=gYIzKSwGvXgmY04hGg8wntK0YcMOF3CTzRnRLf+lmfo=; b=t7K/WCQKNx37Ra+DTbi27hjK5vSvZYzxX4rZZydgVu78hAdrNuJzs3Z3kWb+UM8Fy2 V3rJ6Gvswqav9ru9JVQPIl61LXLcLYx3Ah6y71sFv562JriYXWfRfE+iMEJLmYvmNeV8 ttvahhUGO865n02oa84bLHNAOu773caEMhD7JW75Ws8BjlQSf2zoTSC0A491bfV2C26b vwb9J2dv5ljAnqhor2DGOp9SNkoLb0IemKVjI1fUo5Ip1ImvuwzL8QN7c4jJS1NSlikj GMYnH8D5uQC3OtkeEwaDWLAqO2eSipYmSeD+lVENRlmAbdhPRsVnVc/nqO8ntyRRSh4e tVVQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=e6OfinFL; 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 Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id g1-20020a17090a828100b0023b340b6388si14807716pjn.97.2023.04.11.00.29.54; Tue, 11 Apr 2023 00:30:07 -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=e6OfinFL; 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 S229941AbjDKH25 (ORCPT + 99 others); Tue, 11 Apr 2023 03:28:57 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:46718 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229624AbjDKH2z (ORCPT ); Tue, 11 Apr 2023 03:28:55 -0400 Received: from mail-pl1-x634.google.com (mail-pl1-x634.google.com [IPv6:2607:f8b0:4864:20::634]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 3DDBF10D9 for ; Tue, 11 Apr 2023 00:28:54 -0700 (PDT) Received: by mail-pl1-x634.google.com with SMTP id q2so11904713pll.7 for ; Tue, 11 Apr 2023 00:28:54 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1681198134; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=gYIzKSwGvXgmY04hGg8wntK0YcMOF3CTzRnRLf+lmfo=; b=e6OfinFL6B6gdg/sJAGuLAhGXAyEHGQoZxFCxUIg+v9m0JVdVVaV9DIHI4uJiIHqkU 5lw43+apQZR1B7d/GX2LyV0NikJvmvv4D+MtE4GFcUagGspsqEdHY4ZkAgakMI1x5HEx NnD2hGbX+okDo3T4dF0ALSiQr3ScWMnfEclK/VueuB1FngF2hgHcUzQysAG5oSNlAw/D h1lJNs1JKLB3p1hzkohhHCg9HtDHzEpeePkD1IEou3QsRpWvoI6uo0Y6jUPGMqu7Pdqw fVBOdLXMgRriDdfpJB4kWbf7ZZXKSn5cEBRVM8TRK/nKrG0s+7zy1rpFiR199UV26UbZ rs5w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1681198134; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=gYIzKSwGvXgmY04hGg8wntK0YcMOF3CTzRnRLf+lmfo=; b=EyxI5A//8yvzSicu8TJ293ZhYCKZ+OiH2aKN147Z0lFv52EN293gx9fdUgAyg8Kbbn jHHRiBFPLxGEF6PeI8m8Ot86WKAVeoN18/QCfQFnnU2OR5ILdjcniKiN/so9SCYV95u+ CM1UAXQMxPBiEMgc4WGPr2a4YNoW+kt3B779XSmn4d6NwEUZV/8oURM1tR6ciLOCvnGM 6FJgr8YubrSwFneP0MpJ+PhoNlcjWDO8rmm+UnrW0iNoIrb36YT7nzsX0ZMjrWQeXxEJ voBbIcHl7uQ6P63XZWnlo9LbmW6rO+Rk2ogHNjvnYXpXF/rYDjGpgIzBfYOz6NJj4yos HWdQ== X-Gm-Message-State: AAQBX9cvSFiZE4EN0fVnHsP0+rdHsx/3d6AArrr6Ii6UmxdmEtW/hRvn 0M1ulP+62OTWa+LuSmWUZN6jmA== X-Received: by 2002:a17:903:1c4:b0:1a0:7584:f46f with SMTP id e4-20020a17090301c400b001a07584f46fmr25167435plh.9.1681198133612; Tue, 11 Apr 2023 00:28:53 -0700 (PDT) Received: from localhost.localdomain ([2401:4900:1c60:6a11:8ba1:beba:def7:a4ae]) by smtp.gmail.com with ESMTPSA id s7-20020a170902988700b001a043e84bf0sm8946612plp.209.2023.04.11.00.28.50 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 11 Apr 2023 00:28:53 -0700 (PDT) From: Bhupesh Sharma To: linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org Cc: agross@kernel.org, andersson@kernel.org, konrad.dybcio@linaro.org, linux-kernel@vger.kernel.org, bhupesh.linux@gmail.com, bhupesh.sharma@linaro.org, robh+dt@kernel.org, krzysztof.kozlowski@linaro.org Subject: [PATCH v3 0/3] arm64: dts: qcom: Add Qualcomm RB2 board dts Date: Tue, 11 Apr 2023 12:58:37 +0530 Message-Id: <20230411072840.2751813-1-bhupesh.sharma@linaro.org> X-Mailer: git-send-email 2.38.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit 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 Changes since v2: ----------------- - v2 can be viewed here: https://lore.kernel.org/linux-arm-msm/20230315210145.2221116-1-bhupesh.sharma@linaro.org/ - Addressed review comments from Bjorn about load conditions for vmmc ldos and added [PATCH 3/3] accordingly in v3. - Collected Krzysztof's Ack for [PATCH 1/3]. Changes since v1: ----------------- - v1 can be viewed here: https://lore.kernel.org/linux-arm-msm/20230314210828.2049720-1-bhupesh.sharma@linaro.org/ - Addressed review comments from Konrad and fixed the board dts and also added a new 'qcom,qrb4210' compatible. - Although Krzysztof provided an Ack for [PATCH 1/2] from the v1 series, since this series introduces the new 'qcom,qrb4210' compatible, so I have dropped the same for now. Add an initial device tree for Qualcomm RB2 board (see [1]). It is based on the Robotics version of the Snapdragon SM4250 Soc, i.e. QRB4210. Currently it enables: - eMMC via SDHC1, - uSD card via SDHC2, - RPM regulators, - Debug UART (via micro USB port). Subsequent patchset(s) will add more peripherals like USB, etc. This patchset is dependent on the QRB4210 SocInfo patchset sent out earlier (see [2]). To get a successful boot run: $ cat arch/arm64/boot/Image.gz arch/arm64/boot/dts/qcom/\ qrb4210-rb2.dtb > ./Image-adp.gz+dtb $ mkbootimg --kernel ./Image-adp.gz+dtb \ --ramdisk ./some-initramfs-image.rootfs.img \ --output ./rb2-boot.img --pagesize 4096 \ --base 0x80000000 --cmdline 'SOME_CMDLINE' $ fastboot boot ./rb2-boot.img [1]. https://www.qualcomm.com/products/internet-of-things/industrial/industrial-automation/qualcomm-robotics-rb2-platform#Overview [2]. https://lore.kernel.org/linux-arm-msm/20230315160151.2166861-1-bhupesh.sharma@linaro.org/ Bhupesh Sharma (3): dt-bindings: arm: qcom: Document the Qualcomm qrb4210-rb2 board arm64: dts: qcom: Add base qrb4210-rb2 board dts arm64: dts: qcom: qrb4210-rb2: Increase load on l22 and l24 for uSD and eMMC .../devicetree/bindings/arm/qcom.yaml | 8 + arch/arm64/boot/dts/qcom/Makefile | 1 + arch/arm64/boot/dts/qcom/qrb4210-rb2.dts | 227 ++++++++++++++++++ 3 files changed, 236 insertions(+) create mode 100644 arch/arm64/boot/dts/qcom/qrb4210-rb2.dts -- 2.38.1