From patchwork Wed Mar 15 21:01:43 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Bhupesh Sharma X-Patchwork-Id: 6710 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:604a:0:0:0:0:0 with SMTP id j10csp127253wrt; Wed, 15 Mar 2023 14:14:09 -0700 (PDT) X-Google-Smtp-Source: AK7set+eAMQiBJPHrJw3YYFjTKSaPi4mGA2ixGqFjS81WP/8L4/+Slvxm/hzQD8zNdPXeSfNyIC5 X-Received: by 2002:a17:902:e84b:b0:19c:df6e:6aec with SMTP id t11-20020a170902e84b00b0019cdf6e6aecmr1119019plg.7.1678914849624; Wed, 15 Mar 2023 14:14:09 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1678914849; cv=none; d=google.com; s=arc-20160816; b=vAHM10WjT15eCXwnmFTaB+wK7oAkt092aAcQdwa19InwPselsHQ6z0Y2iRCSNFDSSA q9+Lra8/7w38nLkpBtN/jPelIOzY9boZrCoZugFM6m/xFpNfur0uWPO+6C3zXxRw0DCR fUJ7a6aQQATblFccBdI7mBUh7muArUAbgrUcyoLH1K4YFHu+hQK/qYpFr20Mds+T2zyT +nA/J7tJmQ6weX8N7xI1WIsX2ECUuLSG/6+PbgoQJccxo9+PN4iNiTXTTMW7nA4J4vzf vhqrC5sssKVc1xwhx+PgEePbJCp5FeAH51GJjZfq3kSsgVI4uLL1oCeXKcWX2Z0sNhWo 6sIA== 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=p4kbv6RpEerrJFJTQMRGDEPyboWZ2n0JfoZtVmkoGLs=; b=XYBi5IcIe+RRKBGdt25MBwqTKoX9xbiuIEbnCA8zHISdTl6Ke01U2VHxXqT4jabt4t iG2KtP76fGwAfYKaMOtB/ehEN+pLwK56UwgE3YQ1o6FRhvCZb+pPpTGagMOQsVfe88CM ECLK/4KribiemCyHy4es/TZhgHKYH6aciGMNcDLsqdug7zkDPXqVou9Dd4jtsDS3Io2W v8z5okZ3zSIT2IxPjpU/Fsnqj3eylAviUAzEWJHrKCf1TjUyG78KjQstkAKlt9jjqWLq 2f5C2Koisw1gosUKLeSdMtixTW3b3yrEfl9jXeapal9bRG1cA6y6x6eCWruVSQsBnLkp 6Yaw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=l7Ioni+z; 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 p18-20020a170902ead200b001990520ebccsi6002945pld.587.2023.03.15.14.13.57; Wed, 15 Mar 2023 14:14:09 -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=l7Ioni+z; 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 S232867AbjCOVDZ (ORCPT + 99 others); Wed, 15 Mar 2023 17:03:25 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:36640 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232666AbjCOVDP (ORCPT ); Wed, 15 Mar 2023 17:03:15 -0400 Received: from mail-pl1-x630.google.com (mail-pl1-x630.google.com [IPv6:2607:f8b0:4864:20::630]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id DF4D4A2195 for ; Wed, 15 Mar 2023 14:02:46 -0700 (PDT) Received: by mail-pl1-x630.google.com with SMTP id v21so11328571ple.9 for ; Wed, 15 Mar 2023 14:02:45 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1678914115; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=p4kbv6RpEerrJFJTQMRGDEPyboWZ2n0JfoZtVmkoGLs=; b=l7Ioni+zA3bkP3wXEjm1/L1XdG3m9rUUN2ZHFHNkiMI+VB+IQoUp1PmrOJe5W6kE+B BsmeFc+4/kYi3st5Peoa+fUoet6xpsuHNu+M4MCnFqcR7QxYFXUYyRWDuKHk/x9QBxfH tQHXh08aZqIPlULRcpo//W4pOE0ys/Sj435BR4qy8hdFRBuCiGZjhigKKw8w8Y3L2cfb T4ssHlKEhaVi7AocYOXKZEP0MDZ49L07WOpp2b1LxLNIJv+I4tfrtoJyHKAYX+68Fe2y Un12oaKmIYlTETOoedGNcBclndC93IQ+LLPCY7KUs15jWrAc0C91qsr+0clMIv0kHNuY wJIw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1678914115; 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=p4kbv6RpEerrJFJTQMRGDEPyboWZ2n0JfoZtVmkoGLs=; b=J9LIoIkwE87vovbZlX6BVijlTBwvl7jsJucaJz88/TvpEs+qh8uFUPElq7XlndoTe0 h7MHsadhjzvDEFCc2Z3rCeCaVt0ZL+cSL7s3ydFbVFeZ7MPK5rgK72A48p3844lLuBnz eUoJshvccQPWajM8QFjpRMhFye0QZbOUw4X0g0cLeiOpkrl304ryosHGfDPdN2qWBi38 eEUt7b9ALeM+W7hhbvE+CG3Ev2kgkCvOA+LeuQfYrLQ2Z5pLtfigr75ykTjkzAXPHKXA 624RvSb/sMMa4CAGT9Vwd+3creojkUU/RbzkY30Hxwm2d+cDRLDNPNTrdBdtJhFqipSk gAuA== X-Gm-Message-State: AO0yUKXBvFytMk6VLS9pt5ESBUdoRmxvXj6+R0Jgqz3cdMy/tPspb4fQ G2CoQ401ZMNTEyjFpMkXDcZnpA== X-Received: by 2002:a17:903:3012:b0:19a:96d2:2407 with SMTP id o18-20020a170903301200b0019a96d22407mr774280pla.8.1678914114967; Wed, 15 Mar 2023 14:01:54 -0700 (PDT) Received: from localhost.localdomain ([2401:4900:1c61:1acb:9af6:bd7f:78e7:7ae6]) by smtp.gmail.com with ESMTPSA id 10-20020a170902c14a00b0019a91895cdfsm4066498plj.50.2023.03.15.14.01.51 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 15 Mar 2023 14:01:54 -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 v2 0/2] arm64: dts: qcom: Add Qualcomm RB2 board dts Date: Thu, 16 Mar 2023 02:31:43 +0530 Message-Id: <20230315210145.2221116-1-bhupesh.sharma@linaro.org> X-Mailer: git-send-email 2.38.1 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,RCVD_IN_DNSWL_NONE, SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED 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?1760469817454892582?= X-GMAIL-MSGID: =?utf-8?q?1760469817454892582?= 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 (2): dt-bindings: arm: qcom: Document the Qualcomm qrb4210-rb2 board arm64: dts: qcom: Add base qrb4210-rb2 board dts .../devicetree/bindings/arm/qcom.yaml | 8 + arch/arm64/boot/dts/qcom/Makefile | 1 + arch/arm64/boot/dts/qcom/qrb4210-rb2.dts | 224 ++++++++++++++++++ 3 files changed, 233 insertions(+) create mode 100644 arch/arm64/boot/dts/qcom/qrb4210-rb2.dts