From patchwork Thu Apr 18 17:25:43 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Caleb Connolly X-Patchwork-Id: 789795 Delivered-To: patch@linaro.org Received: by 2002:adf:e6ca:0:b0:346:15ad:a2a with SMTP id y10csp684368wrm; Thu, 18 Apr 2024 10:26:27 -0700 (PDT) X-Forwarded-Encrypted: i=2; AJvYcCWag+rRKSGp5Dxws4cJX8QRhGF7yfNxpnLkDcVrTZagzc3dZrT3Kaj2i8cFBoi+bTF2yYRlnqGb3tDx+PlvYiuQ X-Google-Smtp-Source: AGHT+IH7oCD7OG4Buup4iErq3/ePM103kP6ceZIw8Pfn23TaxHbNbBN5MJolr1IsGdWU954MIW0i X-Received: by 2002:a2e:6d12:0:b0:2d8:274a:db16 with SMTP id i18-20020a2e6d12000000b002d8274adb16mr2481133ljc.17.1713461187645; Thu, 18 Apr 2024 10:26:27 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1713461187; cv=none; d=google.com; s=arc-20160816; b=xOUmjN+unKBeXrmagwBhxI37rzLqta5ynVVUyn884f/B2loJq4gKZtU/NxG76JdKZG nYJ/W/JGRai2Z1oJY6EaR5jRk5US6bi6s4uszSybZf24877YBwz77RQaA5DDfqV4VLX6 kNdyqJV+ModEvCJ8SBIS5Vb/bC/LAkofLCoMXi4FsPR5DhpCduQXgOly44S0rGmc2T4F hpeEhy5Zf0CBrKVAvHFGItR13IIXTNKc12lyA08X6GM2mSj/OS2VZAONE6RVCfMUIzCo 9JL9eRcYxf9XEEybMuUVNBf1GeQPFPCfl83d4PhwkLL4/PBrdgnsYnPU5G0zxZRhPt07 ETgw== 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=XbCbXQdS0fbAih8HtP8CpbO4/R7Ogx+6nPEHviD+IeE=; fh=7cJnWGGE/100pJOGLb1UOY5B8KnAOJ6ovAXkqLAxLYg=; b=mqV4kSGji+81hAzU760VwZheYLAHUHSn69wkgeVsPIBWTjb6ivhvtZ+tUVGBsVQTDs OLpLi+kZtb35+9kOJ1+4X3pfg+ZT1A9njgRYbMhW1Tztm9xFriroty11s0/IS+iIVPLU ntmFrC5zgMWOD7FpxjZhvowQRub/e3FuGfeK8ErnD0c3yqGlROJrrE2+VuNpHJ9pAchb TCb6zhSj/sKmjoADmBj536c9Tz29rq/VIFp42X0H76bMuelPa7WlAxFE3PdgZWh1TVrS xSzJXLhICcar/LEZQAM67YsCa0mF4JxfwcU0i1kOjU8CYHAfrMAa97UmYpg8nRXSRM2D MKVg==; dara=google.com ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=UWM8ovrT; spf=pass (google.com: domain of u-boot-bounces@lists.denx.de designates 85.214.62.61 as permitted sender) smtp.mailfrom=u-boot-bounces@lists.denx.de; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from phobos.denx.de (phobos.denx.de. [85.214.62.61]) by mx.google.com with ESMTPS id l17-20020aa7d951000000b005705ba42733si1060224eds.104.2024.04.18.10.26.27 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 18 Apr 2024 10:26:27 -0700 (PDT) Received-SPF: pass (google.com: domain of u-boot-bounces@lists.denx.de designates 85.214.62.61 as permitted sender) client-ip=85.214.62.61; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=UWM8ovrT; spf=pass (google.com: domain of u-boot-bounces@lists.denx.de designates 85.214.62.61 as permitted sender) smtp.mailfrom=u-boot-bounces@lists.denx.de; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 0445588662; Thu, 18 Apr 2024 19:26:27 +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="UWM8ovrT"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 4E4FC88695; Thu, 18 Apr 2024 19:26:26 +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 autolearn=ham autolearn_force=no version=3.4.2 Received: from mail-wm1-x330.google.com (mail-wm1-x330.google.com [IPv6:2a00:1450:4864:20::330]) (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 58FA088648 for ; Thu, 18 Apr 2024 19:26:24 +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-wm1-x330.google.com with SMTP id 5b1f17b1804b1-418c1920313so9635835e9.1 for ; Thu, 18 Apr 2024 10:26:24 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1713461184; x=1714065984; 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=XbCbXQdS0fbAih8HtP8CpbO4/R7Ogx+6nPEHviD+IeE=; b=UWM8ovrTt8tuuTv+urmLSCeFWMUL8SOCy1LJKbMN4uoHwULzcqBiNDFZ6MWYEN193Q YghdSQPgHCAVm+2Pr5CNxtTVyy6XRq8UqSMngxIUkvih4lkuzEZDatqd1DVBQmAa81xA owBWJa5ewOj71LsTFfs33SGXqeh1vgPZkIqIKByFnLkkxYAU1PjAejOgd9vr/wyxo9um +PT4nB2GFFsfqtJTrcQFeXkUItoPsUhPxUzYcKUYWZ8L5PdmiTmA5VJ54yICFUgzp53t qSXi4XcDzF6bb4nBfvn40OJ7N+6fwKW8vFNtASuaLxkQ+rhL4bxnIrmRYxahlXTgOArt ripA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1713461184; x=1714065984; 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=XbCbXQdS0fbAih8HtP8CpbO4/R7Ogx+6nPEHviD+IeE=; b=tlWXdeUdlD6U96KK8N5xaFsAOLfS25tpQhq0LwbF4JJAP+lyzYRK27HhwaU3LbZDHp 6kDqISMllW46sdWFPapXZnSU/RKeJiO4J1ID5u/VzereK5KI++H/bWl5Ulb63SlfG0jC HQHsiQY/js/5gATS4Klx+Uc+CCocdxOatJccAD2uSEpb/CWJDzQqENjOShgWQkBi/Ceo vgYnMcBCdowMm6JF6c1rZUrazL/1IWCsqWq016vErauJfytCyP5LouoiX59ofKa80fyc dOmQdnJydscGiK21AcSsT9vxJAK21kmHRIw2lw2hezks2fof6xfSvsMA+S/r8l6EdbIk ql8A== X-Forwarded-Encrypted: i=1; AJvYcCUjoom+lPfeFOcSMQNpfP6gzgHilNbipoYL+Ox5JvrRw3Wvqjskaqi1pq0J/QeZ5oiNfgv0nlSUmjb93ymHU0bIhz/tmQ== X-Gm-Message-State: AOJu0YysYdsbSdkpjesAtaB3WzFkW6I+uFTbJaA42WiGBBMaqTiHD5JQ cqzl9OKOxF5RfROzfkPowXYzCNCTjmk3vLbYJ7oOztQi5DA1L76AsqgALz45DYY= X-Received: by 2002:a05:600c:548e:b0:418:fc73:c0d3 with SMTP id iv14-20020a05600c548e00b00418fc73c0d3mr519184wmb.24.1713461183769; Thu, 18 Apr 2024 10:26:23 -0700 (PDT) Received: from lion.localdomain (host-92-17-96-232.as13285.net. [92.17.96.232]) by smtp.gmail.com with ESMTPSA id u17-20020a05600c19d100b00416b163e52bsm7166057wmq.14.2024.04.18.10.26.23 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 18 Apr 2024 10:26:23 -0700 (PDT) From: Caleb Connolly Subject: [PATCH 0/9] qcom: RBx fixes and USB support Date: Thu, 18 Apr 2024 18:25:43 +0100 Message-Id: <20240418-b4-qcom-rbx-fixes-v1-0-f5f19d52969e@linaro.org> MIME-Version: 1.0 X-B4-Tracking: v=1; b=H4sIAJdXIWYC/yWMzQqDMBCEX0X23IU1xiT1VYqH/GzaHNSa2CKI7 95QYS7fDN8cUDgnLjA0B2T+ppKWuUJ7a8C/7PxkTKEyCBKSZGvQSVz9MmF2O8a0c8FOKq2C1s5 0Dqr3zvwfqvYYL868fur1dpXgbGGsJ1Pahib0UpEjI3xQNgZi0p64prdGhNZGEzzdo4bxPH/iI RMxrwAAAA== To: Caleb Connolly , Neil Armstrong , Sumit Garg , Tom Rini Cc: u-boot-qcom@groups.io, u-boot@lists.denx.de X-Mailer: b4 0.14-dev X-Developer-Signature: v=1; a=openpgp-sha256; l=1586; i=caleb.connolly@linaro.org; h=from:subject:message-id; bh=38TM/tmPYJYcbc2Pv1BLn8wG1YpYnE/zyJ/5KBsxEjA=; b=owGbwMvMwCFYaeA6f6eBkTjjabUkhjTF8H23okXWiDnXPZhjFuO9IPSk2sZbb7YkhNw7wqz+Z Yl8o19YRykLgyAHg6yYIov4iWWWTWsv22tsX3ABZg4rE8gQBi5OAZjI/kuMDJtfT9/fLaHcZvLt ddaXS7Y/+jI3CB/nnBXmtX3ZPpNXxw4x/OF1PqBkZPNO1GXj+XO72CLvPgxgMZt1QIMlwkGwxmC dpAIA 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 This series is a few loosely connected patches to get the RB1 and 2 boards booting from USB with upstream U-Boot, and a few preperatory patches for rb5. Unfortunately the RB5 board requires a regulator on the RPMh peripheral to be turned on for the USB VBUS rail. Support for this will be added in future patches. * Add a few missing compatible strings for sm6115/sm8250 * Fix the femto-v2 HS USB phy used on sm8250 * Fix USB role selection on RB2 (without breaking Linux!) * Pick a value for CONFIG_SYS_LOAD_ADDR that won't cause a null pointer on most boards * Fix EFI booting by generating SMBIOS tables --- Caleb Connolly (9): gpio: qcom_pmic: add pm6125 gpio: qcom_pmic: add pm8150l iommu: qcom-smmu: add qcom generic compatible phy: qcom: snps-femto-v2: drop clocks arm: dts: qrb4210-rb2-u-boot: add u-boot fixups mach-snapdragon: implement ft_board_setup() for USB role selection qcom_defconfig: enable OF_BOARD_SETUP qcom_defconfig: define safe default SYS_LOAD_ADDR qcom_defconfig: generate SMBIOS tables arch/arm/dts/qrb4210-rb2-u-boot.dtsi | 6 ++++++ arch/arm/mach-snapdragon/of_fixup.c | 20 ++++++++++++++++++++ configs/qcom_defconfig | 5 +++-- drivers/gpio/qcom_pmic_gpio.c | 2 ++ drivers/iommu/qcom-hyp-smmu.c | 1 + drivers/phy/qcom/phy-qcom-snps-femto-v2.c | 14 -------------- 6 files changed, 32 insertions(+), 16 deletions(-) --- base-commit: d5460b082cd6afd0e07c0ec0e5a82d1af8dc09f7 // Caleb (they/them)