From patchwork Wed Aug 21 13:41:45 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Caleb Connolly X-Patchwork-Id: 820987 Delivered-To: patch@linaro.org Received: by 2002:adf:e98a:0:b0:367:895a:4699 with SMTP id h10csp710095wrm; Wed, 21 Aug 2024 06:41:59 -0700 (PDT) X-Forwarded-Encrypted: i=2; AJvYcCW/oGa5q3HMlOLKSz51tyBpRFdp9qsxxkneUmAZNx2LnfRcnKCRNfOPpVHnGqsBTGhJrBZ5kg==@linaro.org X-Google-Smtp-Source: AGHT+IHClFYxEKDPK3qnbmYaTzCvwEqdie5a5h8X6S0pf6FvvUFvFutx67B5wiD4YRMekThH2n0d X-Received: by 2002:a5d:6911:0:b0:371:8c9c:d97f with SMTP id ffacd0b85a97d-372fd57e713mr1323778f8f.10.1724247719555; Wed, 21 Aug 2024 06:41:59 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1724247719; cv=none; d=google.com; s=arc-20160816; b=DvyLpQfo6k7bOMkFBWGFJHFdVQ5UjUTMDfRGDP/KsRPXe0tI1yM9MiTLlpwKwaj/9d yNX4Ceqid1sDBcz/VeyF2dFSKCxqro0w6xeNat73FQ1Mu6aUgR8bWr+m0iR8AfT7O1zJ N+hVifJdDfumVVM1xVsQyP3IMjcB4tda3COXKdjtTG4PDWmzlQpj0BqfHIjepBsi1t2J 2fQ8hEiaKmOEkYOE01joi4l/ZeqnySHx7aq82J692kl2cCt/Ozj6Rqt74HQkO5DkfCUU jCbyuhOr33KB0rmCzCrrS5BuyPKyEfn2X7dxWaJKHp1XLFYuEW2cuN/UeAgX6HE/lS0z bi+Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:cc:to:content-transfer-encoding :mime-version:message-id:date:subject:from:dkim-signature; bh=km+WfVmYGOfWEHaQO9biOtrz59e9xI7iGtIw00g6wMU=; fh=Ro0cnTVooG9MaZDVXOehdeJMAZn3oMxKdBjF/qqrBN0=; b=T923KvPpYE86oSKOINk5TNJ8cOEmrNzaL5ytKYn8/aphsnKZRZwuBZ2d2e1b9lWGeB 4xxH2+UQJb85DBA0lb62qrt0xc3jF+ltm3Qpd61gMIlClO81WKKDVUoMc5/6MMWqNySq H11llpznbUT65JmdoMeX2zK6r71y/0WUtYeLGbqXGdKygzzMBM/SNIaJp3mxrBdLnX2V 2pdjYWwDXnG+s3NDSshJuzjRto6vMCskV/kVVUnIEZD7IA8646ydtReO2j/hq9qmphta 98wGwDJUXkSU0q+9upNTuCHc91Y3nSyp9zyHtj1AdEMak+KouizVr7HpicJRiA8/DfyZ SJxw==; dara=google.com ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=RafnNt2s; spf=pass (google.com: domain of u-boot-bounces@lists.denx.de designates 2a01:238:438b:c500:173d:9f52:ddab:ee01 as permitted sender) smtp.mailfrom=u-boot-bounces@lists.denx.de; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org; dara=neutral header.i=@linaro.org Return-Path: Received: from phobos.denx.de (phobos.denx.de. [2a01:238:438b:c500:173d:9f52:ddab:ee01]) by mx.google.com with ESMTPS id a640c23a62f3a-a8685cf2b73si9719066b.330.2024.08.21.06.41.58 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 21 Aug 2024 06:41:59 -0700 (PDT) Received-SPF: pass (google.com: domain of u-boot-bounces@lists.denx.de designates 2a01:238:438b:c500:173d:9f52:ddab:ee01 as permitted sender) client-ip=2a01:238:438b:c500:173d:9f52:ddab:ee01; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=RafnNt2s; spf=pass (google.com: domain of u-boot-bounces@lists.denx.de designates 2a01:238:438b:c500:173d:9f52:ddab:ee01 as permitted sender) smtp.mailfrom=u-boot-bounces@lists.denx.de; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org; dara=neutral header.i=@linaro.org Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 328AB88D8B; Wed, 21 Aug 2024 15:41:58 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=linaro.org Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Authentication-Results: phobos.denx.de; dkim=pass (2048-bit key; unprotected) header.d=linaro.org header.i=@linaro.org header.b="RafnNt2s"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 7954B88BF6; Wed, 21 Aug 2024 15:41:56 +0200 (CEST) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on phobos.denx.de X-Spam-Level: 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_NONE,SPF_PASS, T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.2 Received: from mail-ej1-x62b.google.com (mail-ej1-x62b.google.com [IPv6:2a00:1450:4864:20::62b]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits)) (No client certificate requested) by phobos.denx.de (Postfix) with ESMTPS id 1FC4988AC0 for ; Wed, 21 Aug 2024 15:41:54 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=linaro.org Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=caleb.connolly@linaro.org Received: by mail-ej1-x62b.google.com with SMTP id a640c23a62f3a-a8679f534c3so67607666b.0 for ; Wed, 21 Aug 2024 06:41:54 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1724247713; x=1724852513; darn=lists.denx.de; h=cc:to:content-transfer-encoding:mime-version:message-id:date :subject:from:from:to:cc:subject:date:message-id:reply-to; bh=km+WfVmYGOfWEHaQO9biOtrz59e9xI7iGtIw00g6wMU=; b=RafnNt2sRUKcwC/+tlP3p1ycppkto3F3amuNq5T45NmE/6ioUg5bnzxaRkqissguv6 cQVsQYQKie21HpJpEv0wmfJGX5fqFtUMaQT1ODN430GDJ2XWrX9Wk99RUsnjJmJmoQUW WQvRnxpcVGJLsXE9jCm98092PRF5G4cY+SCjXIullUntcAbQbZkPvubYrCQUmnl25Pi0 MTs/9PZoq0s8hJWxcAmrRt5vpMRdix1yVMdS9P26S3UdX1pcup7sHqhPAcgfHR5XcZBJ MP3+7CHElKuuLhi13lN586uahmI2e09PH8jbvqIqSjOyTMK/0NAnyE/rJwRb+J8FPn3F sBQg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1724247713; x=1724852513; 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=km+WfVmYGOfWEHaQO9biOtrz59e9xI7iGtIw00g6wMU=; b=c0doKNwAu4MTWcSvU7rDu/y/eKw2t/IFI8L+j/PDT2QE3H2DwlBaK2JtNmrBG6dtGv +nKPcVUshUTNH7u77gVLftG5op0egkIzzvR6if3ALsSlEsqcenEvjS439PoiT1oD4NWe jXMT6cRC7+LSTXTKnsmFO/TRmC162pDZcYczn8k/6UAny9t/vxiivkQ16hk2D3rKw3h0 3gd23z764q/PTXZw9EjaW81WRLNzXcfQy7bpoS5hIj5OXuBur+FqAwK1+7I6v023s7wL xddedbFVMj4iAgYEoUzwz8f/uOFBbujASJiGSD5nN0cHrMvkcNHS5j9BOOR+Pb1+AbeM 5Y9w== X-Gm-Message-State: AOJu0YxZo2ydcXXAWpGH31vfAJYHFzuMeE48q6X69vJgyoHLUzgBN2QG 2zItKTzJFYJ+RvAju2espVeOluyt6Joeazy5qc/jdilf775uc2/p+hF0YrCeNL8= X-Received: by 2002:a17:906:6a20:b0:a77:d85c:86fa with SMTP id a640c23a62f3a-a866f107b1emr160816666b.13.1724247713272; Wed, 21 Aug 2024 06:41:53 -0700 (PDT) Received: from [192.168.0.113] ([2a02:8109:aa0d:be00::676e]) by smtp.gmail.com with ESMTPSA id a640c23a62f3a-a83839342f6sm904164066b.137.2024.08.21.06.41.50 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 21 Aug 2024 06:41:51 -0700 (PDT) From: Caleb Connolly Subject: [PATCH v2 0/7] Qualcomm: add support for SC7280 and the RB3 Gen 2 Date: Wed, 21 Aug 2024 15:41:45 +0200 Message-Id: <20240821-b4-rb3gen2-v2-0-49b07633f3a8@linaro.org> MIME-Version: 1.0 X-B4-Tracking: v=1; b=H4sIAJnuxWYC/23MQQ7CIBCF4as0sxZDoRZ05T1MF1CmdBIDzWAaT dO7i127/F/yvg0KMmGBW7MB40qFcqqhTg2Ms0sRBYXaoKTqpJVX4TvBXkdMSljjg+175wO2UA8 L40TvA3sMtWcqr8yfw17b3/qXWVshhRmNnlBevDbu/qTkOJ8zRxj2ff8CZ29pHKUAAAA= To: Tom Rini , Lukasz Majewski , Sean Anderson , Caleb Connolly , Neil Armstrong , Sumit Garg Cc: u-boot@lists.denx.de, u-boot-qcom@groups.io X-Mailer: b4 0.14-dev X-Developer-Signature: v=1; a=openpgp-sha256; l=1994; i=caleb.connolly@linaro.org; h=from:subject:message-id; bh=+bdCZz5ltUgx97guWTWwN7eH9EfzO2fhWAUblayrF0E=; b=owEBbQKS/ZANAwAIAQWDMSsZX2S2AcsmYgBmxe6cwcDSnPRjDjnazhlUs3o3BTzzu/XLiDY/n rqfWQg5IFSJAjMEAAEIAB0WIQS2UaFGPGq+0GkMVc0FgzErGV9ktgUCZsXunAAKCRAFgzErGV9k tm9qEACBNBBEqsVzR58aDYXP2ErX+OVKusIk5JTDAROtDdsHH8qRvDS04Gr0zaq58DxSft1M4Rw Pnb1Q650Hjuo6WD07Lr6JBfH6JRCNfiqDp481m/s6PauA4l9NWDLMHl2TwjPQFWxs8NdioJ0HF0 Uo6TDvWn+MHGuRWVNnfcjBQC7Es/4rJaEpsJTFntCYwSChlPtKb6fVZp5cVEg1XgSkzo9tsSt4p WnsKMjtOT0NNs28sMgF/JbxAyEG8bABnveLYtrxYJlj2Jz9JItJBn7X/ixzhvNSt2B52o7xweet SDojuRH4hiZl6r8d+r6CxzrXtA11ojAG5sw5/Or0wFIss5WTtxwIS5yXbPfgwkiMTllyLgDoLgH n4Wx1wRbPQYxRGp+k+bkf8g1YSDInlLjKsIx3hjHDH3wNFobVHl5zdwnj4xvACUaLF76Zq/fnkp TtdagK7NketKMFJotYvQZzp7YW59X8wi6TDeIYcc8/RfXlKYZtwoEghkWWwTGKvEN10FZMMbMUn cc4CJkDl1fjAgmiIOv1szgqjN023by41azyPpPo1/xctgf4kQcrKASZRrm+qWAJQajB9p6tFKKU N0a7CafNgXiXmaj2aG/6GyAgTkP3FSnMzbO+o5Dwiy3Ugpu3j9XV9wI5CdY5/Nfc5Znq2poYX1O Jv04VMOoz/mhAWA== X-Developer-Key: i=caleb.connolly@linaro.org; a=openpgp; fpr=83B24DA7FE145076BC38BB250CD904EB673A7C47 X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.39 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" X-Virus-Scanned: clamav-milter 0.103.8 at phobos.denx.de X-Virus-Status: Clean Introduce support for the SC7280 platform and specifically the RB3 Gen 2 development board. The RB3 Gen 2 is the latest robotics board from Qualcomm, featuring a QCM6490 SoC (the same SoC found in the Fairphone 5), 6GB of RAM, and 128GB of UFS storage, as well as a whole lot of I/O. Most of the I/O is attached via a custom PCIe bridge chip, and as such is not yet supported. However it is possible to boot from USB via the Type-C port, which is hardcoded to host mode for this initial support. USB support additionally requires this patch: https://lore.kernel.org/u-boot/20240423141551.2410199-1-caleb.connolly@linaro.org/ --- Changes in v2: - Add rb3gen2 docs to index - Add qcm6490_defconfig to MAINTAINERS - Link to v1: https://lore.kernel.org/r/20240809-b4-rb3gen2-v1-0-7c73fe05b37a@linaro.org --- Caleb Connolly (7): clk/qcom: add initial clock driver for sc7280 dts: qcs6490-rb3gen2-u-boot: add override dtsi dts: qcs6490-rb3gen2-u-boot: USB host mode iommu: qcom-smmu: add sc7280-smmu-500 compatible qcom_defconfig: enable SC7280 clocks configs: add qcm6490_defconfig doc: board/qualcomm: document rb3gen2 building/flashing MAINTAINERS | 1 + arch/arm/dts/qcs6490-rb3gen2-u-boot.dtsi | 28 +++++++ configs/qcm6490_defconfig | 18 +++++ configs/qcom_defconfig | 1 + doc/board/qualcomm/index.rst | 1 + doc/board/qualcomm/rb3gen2.rst | 53 +++++++++++++ drivers/clk/qcom/Kconfig | 8 ++ drivers/clk/qcom/Makefile | 1 + drivers/clk/qcom/clock-qcom.h | 1 + drivers/clk/qcom/clock-sc7280.c | 132 +++++++++++++++++++++++++++++++ drivers/iommu/qcom-hyp-smmu.c | 1 + 11 files changed, 245 insertions(+) --- change-id: 20240809-b4-rb3gen2-87bd866abde1 base-commit: c6222132b64faf0ab083330f208b1400ee47ccc9 // Caleb (they/them)