From patchwork Thu Apr 18 17:25:44 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Caleb Connolly X-Patchwork-Id: 789796 Delivered-To: patch@linaro.org Received: by 2002:adf:e6ca:0:b0:346:15ad:a2a with SMTP id y10csp684440wrm; Thu, 18 Apr 2024 10:26:35 -0700 (PDT) X-Forwarded-Encrypted: i=2; AJvYcCWG+ShKGbtFK3O0yJnKzQNgW49seIBDgrqtmruWG3GIxyCDRarVCwAlZOm+1Aje+6QK0vhNR2hF86wrgOxgxLiS X-Google-Smtp-Source: AGHT+IE59AKXynzs3z7/5irKZUzQl7dHDixC3tIlP2637TF5ZT3srvccRTJqZ5QkKFMTVz3Rg+p8 X-Received: by 2002:a17:906:2284:b0:a55:387b:eef9 with SMTP id p4-20020a170906228400b00a55387beef9mr2236558eja.10.1713461195765; Thu, 18 Apr 2024 10:26:35 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1713461195; cv=none; d=google.com; s=arc-20160816; b=jrP/FR61UHUx0XB3GYQCS22Zf58sJnXr/GfMAJsFJBQkW/s7ZN8iqxtLdqDAz1EknJ VWjr14wZoec5MO1TiEkV3Z4mW8myAQCaSMk033OPSXAXoLrPz7sp+PUGQLcegdNZFKUZ TQ5pItAmJ3NLb7MBu1uIZr98MhWuJwiMaeua6+G4ORMvzPHAzjQixCqpfrkx3qYkMO+q Kv0Vhy8apQx7R2CRPJ66mdZ2cy+BS7MrjMkYyev4SAXpID08BuCgD1t3XAKTPfZRnW0g QqihKm21F0a+qILWP6VOK9hzgyZqA0Qugi61RyKqevlK29pyH8xUBuzvKW00fXibykMU d9HQ== 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:in-reply-to:references :message-id:content-transfer-encoding:mime-version:subject:date:from :dkim-signature; bh=kjhWfkg2iMXib1TZN4ivFfM1EGBgzLIKjXndcigHPmE=; fh=/yqozwvAG8I4VIOWZBatJ2FBqokXyjx3vTKo0QVkOrI=; b=ZP6RObIagXyShPY04zIQczLANJq7N6e1JEeFZbZKQjDZpT3Ja5+K5NjTqsJHaFTb5O +lZHQFHdJaWZWRxUrqt9cEgF9LKn1EMhgZAMQLBcRdL9xlZj4uBr2JCk3BwYKLaeI6rt MDO5VaaYiFFVUeYbjFfIaOFMWlv7Osycc+DPtwvKi8r8MDgwmMu3aZZ6wHeXhO5E/g2/ jxaEDrL+KAMZH8eHiKMlowXB/oAG7ZFUMQli7gR84zuFKdGv/nfW0/yP1DhjLBYwK7su pcpNiHQAv+8yogxi3id4pt7cwAbCQBm48BrmhJRGWGpOYt7ePlD9RVQUhVpKWAdENlU/ VvOg==; dara=google.com ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=prF3WYwL; 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 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 jw17-20020a17090776b100b00a555932bc37si1023011ejc.15.2024.04.18.10.26.35 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 18 Apr 2024 10:26:35 -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=prF3WYwL; 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 Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 6D21388694; Thu, 18 Apr 2024 19:26:29 +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="prF3WYwL"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 2E73988697; Thu, 18 Apr 2024 19:26:28 +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-x32d.google.com (mail-wm1-x32d.google.com [IPv6:2a00:1450:4864:20::32d]) (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 44BBF88691 for ; Thu, 18 Apr 2024 19:26:25 +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-x32d.google.com with SMTP id 5b1f17b1804b1-418ee2fcd6dso5239595e9.3 for ; Thu, 18 Apr 2024 10:26:25 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1713461185; x=1714065985; darn=lists.denx.de; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:from:to:cc:subject:date:message-id :reply-to; bh=kjhWfkg2iMXib1TZN4ivFfM1EGBgzLIKjXndcigHPmE=; b=prF3WYwLG2izaSyZ7ert0/uSq0hdrA//b9bx50u1ukb8jbB0T7jXnue+CcjRrQfkE5 /kcz99sg7Ly6d+0yflLJCBtM9lKd7LKwP3M9InSu+p82hCWZ1Gx7G+CvPVR25sbWLhRJ 1q9BuGqpnnTQ3Cg1YmY2RNRb9vPjFT5LXJ+bruR0o2iZsKX1Uk9wi2pvh0cEC2794Sn/ e6XwWdE1cVtdsBUSJMRYki0SsaEU8+fgVjVFlyu9tjPWfSqKgMangjrydOyCsbarHksn cVc99pMskTqZOrlSybG9XD8evKzX0Vw+As/K608Vzk0rMWh26gpyCmma7c4sZG0HPIEA yDnQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1713461185; x=1714065985; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=kjhWfkg2iMXib1TZN4ivFfM1EGBgzLIKjXndcigHPmE=; b=mXZ4cM66O1xYKeujX/7AahgQWiLqUvPSYAgGfrbN5nsdQBATpjAwPBye2f07VnoetN UtkPJpuAKUi1KPrv31B6qjNltl70UyK1keMbCYy7C5J/1JuRSdR4AxY2NSx8n+4GNer4 HQHTjkPY8SAKwr0Q9pmJ7U7ZwTZvPGiRVLRS+jliXbI02zafLFrex+4xETC6NT5v/wqh j5ptl8fdFWjji5MQPcRrVEjHr7dTZIgNV0ElRN9f/MJCNKaL0PgBwOgWwOOP4EOaAT+5 B88ZVTZlB/50B2AVHzzUe0KAXCpwjtxwKfN7/4PVhahlpSIDcWeByY5nkkmXgE8qZiOa 8Zhw== X-Forwarded-Encrypted: i=1; AJvYcCV0hnn93EzJBebmw++jxfm2ZHftNueEzPpgd2EfWKQYEGO3l/33/cesWAFby5sYjboGLDhWTvNCrlUVFcZT4ERbGppc/g== X-Gm-Message-State: AOJu0YyoCQEPD83XTEjIvrkdhJRyjov8drP0SXoHpvuKhmdTgI6Z9ZGg oMhW1koUJ7wbUqys/MkWVjxB28Swwjb0Kv3p9Y1Ciwrw4bxYjT7TfN7G9dkgcqc= X-Received: by 2002:a05:600c:358a:b0:416:c23a:2c4b with SMTP id p10-20020a05600c358a00b00416c23a2c4bmr2578764wmq.17.1713461184842; Thu, 18 Apr 2024 10:26:24 -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:24 -0700 (PDT) From: Caleb Connolly Date: Thu, 18 Apr 2024 18:25:44 +0100 Subject: [PATCH 1/9] gpio: qcom_pmic: add pm6125 MIME-Version: 1.0 Message-Id: <20240418-b4-qcom-rbx-fixes-v1-1-f5f19d52969e@linaro.org> References: <20240418-b4-qcom-rbx-fixes-v1-0-f5f19d52969e@linaro.org> In-Reply-To: <20240418-b4-qcom-rbx-fixes-v1-0-f5f19d52969e@linaro.org> 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=884; i=caleb.connolly@linaro.org; h=from:subject:message-id; bh=kfdleW4GLsQlnwbnRLqDXz1KJnE26LYo2jLTTPsZmUg=; b=owGbwMvMwCFYaeA6f6eBkTjjabUkhjTF8H2Rcut/fBJfpfbtV42V2+qt1/P4iowTjJgkF6Q1L lfrnLCno5SFQZCDQVZMkUX8xDLLprWX7TW2L7gAM4eVCWQIAxenAExkggLDP/2qwl2ue04cPrRi 71ODsxseaZkqLdoZ8iV+feX007MenzBn+GdW6ZF2sPHz2yV7TQztJGw7y6JKxZ7IPgqcKrLaJOm uRzYA 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 As with some other modern PMICs, writing to the GPIOs seems to make the device reset. Signed-off-by: Caleb Connolly --- drivers/gpio/qcom_pmic_gpio.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/gpio/qcom_pmic_gpio.c b/drivers/gpio/qcom_pmic_gpio.c index dfb70faf94b4..362d98dbf8cb 100644 --- a/drivers/gpio/qcom_pmic_gpio.c +++ b/drivers/gpio/qcom_pmic_gpio.c @@ -363,8 +363,9 @@ static const struct udevice_id qcom_gpio_ids[] = { { .compatible = "qcom,pm8916-gpio" }, { .compatible = "qcom,pm8994-gpio" }, /* 22 GPIO's */ { .compatible = "qcom,pm8998-gpio", .data = QCOM_PMIC_QUIRK_READONLY }, { .compatible = "qcom,pms405-gpio" }, + { .compatible = "qcom,pm6125-gpio", .data = QCOM_PMIC_QUIRK_READONLY }, { .compatible = "qcom,pm8550-gpio", .data = QCOM_PMIC_QUIRK_READONLY }, { } }; From patchwork Thu Apr 18 17:25: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: 789797 Delivered-To: patch@linaro.org Received: by 2002:adf:e6ca:0:b0:346:15ad:a2a with SMTP id y10csp684507wrm; Thu, 18 Apr 2024 10:26:44 -0700 (PDT) X-Forwarded-Encrypted: i=2; AJvYcCVUNwRK0u9kUSwk+HV51caLq8H3wwl+S6bvxkgtRcdG+OqKzTNu3dm9wSfYLUZGoxGhjggc7Rnp1GUDSt3Aze3F X-Google-Smtp-Source: AGHT+IGiRGAJ11FjRFIfigBP/dEHzy4DDUd49SqcOVa1Wvdkoh6KfVWP7Kkp1aevYcKymkWmBvCm X-Received: by 2002:a05:6512:158d:b0:51a:b49d:238a with SMTP id bp13-20020a056512158d00b0051ab49d238amr71213lfb.8.1713461204411; Thu, 18 Apr 2024 10:26:44 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1713461204; cv=none; d=google.com; s=arc-20160816; b=UNl4OFwFw0Y63dvtZWsk3dlHQ+7/d0rMw+fAK6wdS986egKqfQHP/PTl3ewgw+RK2l g5BQLYYY5zq60hPnS7WIQ+ZjWNpy9JdTnjv0Dh014ahsknvGPqN0/oEgiC2ZuSRkVSb0 njaCzyXSn6tQg2rWnrLrVG7prqRM6LDMzgvhmSa9IFhH9cqxhiE8qTBvIMSkOSj2pI+1 +8zFl08SAaP/e9jTKAzJv1v5Q9q1kfjXiF3zhsh6yHLagbW86O7IEFcZwaBOZ/Ldwkip 1y6yZ9e5sD/oPxsSZRo08ELdfl7M5qYC48DiVYTPXvGzgQ+ktIVFdoHiUkNkIZzk1ceY g2Eg== 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:in-reply-to:references :message-id:content-transfer-encoding:mime-version:subject:date:from :dkim-signature; bh=PkB93u2GEugy/u3O/UwbjGL8DV0p1duoITuRUfQFiYQ=; fh=QGJZQEgHB5OL4VAqnFr9dRpvIZYVgEKF3X5Qd2cSfM8=; b=kMsd1mULJ5OubaOJ5GzznfZnaWyRKzk/YBw8nw5X7BQOKre06+SDvfqAoUXODbOih2 JPekUqZYbDqXpLq6GydO/dozchdKeFDABkM7gxLuu0sysfn+WP6XWwdCq1iIzLab0Wlz j2LFWWFrO5YKgXMc2p1z1jUCf1cq4Ld8zObtH9c2arkshUpm7YGGk1OmLXc/53GnSsjP fpO1taxykKI8/HRlTHlg0TWF/Lxsb3/CHrhKy44PuASYN5c1k+9KGCKgoPcXlNPvIsPL Y8Zvmoa9opRkUHcChzbaLtaOYNsYpZKGK9pa2W/7Y+hhTBZvNNkTbgXxMZtGR2gYYrES 5jSg==; dara=google.com ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b="e5XK/QZh"; 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 q6-20020a056402518600b0056df9d6b14asi1117474edd.442.2024.04.18.10.26.44 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 18 Apr 2024 10:26:44 -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="e5XK/QZh"; 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 CCC8B8869E; Thu, 18 Apr 2024 19:26:29 +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="e5XK/QZh"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 3630988691; Thu, 18 Apr 2024 19:26:28 +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-x32e.google.com (mail-wm1-x32e.google.com [IPv6:2a00:1450:4864:20::32e]) (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 2A34488693 for ; Thu, 18 Apr 2024 19:26:26 +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-x32e.google.com with SMTP id 5b1f17b1804b1-418effbc70cso5568565e9.0 for ; Thu, 18 Apr 2024 10:26:26 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1713461185; x=1714065985; darn=lists.denx.de; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:from:to:cc:subject:date:message-id :reply-to; bh=PkB93u2GEugy/u3O/UwbjGL8DV0p1duoITuRUfQFiYQ=; b=e5XK/QZhxljW84UVwC9zdXDGgYC2+xdt8k5R2Wkh2cipOPYpsZC24bdH38kW7zzQxu knw9nnsXgfNKVBwVYlT/RV/yr6ADyWf9UaasC7CkSHdcoLcrOrbHm0L14RnMXwG65Mg8 CrZiFy3RGIlUZgidkWPrGzvF2gTTK+Jy7DQgBZQG2FL7lmIRaxXH/+KSOES8akt9wcaV hILtB1ErUtccK9EapOlDH2S6yns6NS9UH/JRh90r9GnyeNJhusFEd9krNoHR5U5ZEme1 UhMd9UfnjqLnn1X+yrhb/0dGZFdmwj00r5Xnl3wr1fl/3hsfNNyqiJ/nvAWIN6l0ocfP fFlA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1713461186; x=1714065986; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=PkB93u2GEugy/u3O/UwbjGL8DV0p1duoITuRUfQFiYQ=; b=OFXLTwTARinXTfb/e01N/vD5ck1I8D7ZLz7hO2T0Ua5GGBdjpyjTmk2wQPknPDendn qlrx087e8kqHncst2Qo8tswnC/tn89YaB1/mLHLc7/SwIdpRmryQRFRSN9kowWIYeOuI 4YkjftA92NwXJBAL6hf/QLmaMh83io6eBNFP3EELJuAO9JWEgJm4dopbymxS23rKR0IJ Dy2iscZwk4v+2gYjw222LP7gzFc0Al/w7sZYC+mZmc0jeMuWXKvrTObKUHOQlDMJdycD SF8Z24oSRALtQnHBlTAPGDlMvyVwDvr8s5IjCPd5yQ7/aaoDjEjsZdBEm8AxDcB/co1g FYQw== X-Forwarded-Encrypted: i=1; AJvYcCVx1iUyysqdrt5M/TE1r8eBp36t/+adsCF3DXPBoLN2xyCKUVp8FXTQwUkxV9NG1sg7kn+RJHrDFzsntcym2SKINg8lhw== X-Gm-Message-State: AOJu0YwxY+kX9DZPhRdY+x/7h1UUIw/yuyFOuQ4uPMbUDKwhy1u4VvWn V+OrPiTmPKUck80CtTGLE1MF+e7C8MaMeHIjYUWXfLe2NO34vvdgmnDu4N6hPps= X-Received: by 2002:a05:600c:19c8:b0:418:95a1:1975 with SMTP id u8-20020a05600c19c800b0041895a11975mr2384113wmq.20.1713461185800; Thu, 18 Apr 2024 10:26:25 -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.24 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 18 Apr 2024 10:26:25 -0700 (PDT) From: Caleb Connolly Date: Thu, 18 Apr 2024 18:25:45 +0100 Subject: [PATCH 2/9] gpio: qcom_pmic: add pm8150l MIME-Version: 1.0 Message-Id: <20240418-b4-qcom-rbx-fixes-v1-2-f5f19d52969e@linaro.org> References: <20240418-b4-qcom-rbx-fixes-v1-0-f5f19d52969e@linaro.org> In-Reply-To: <20240418-b4-qcom-rbx-fixes-v1-0-f5f19d52969e@linaro.org> 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=895; i=caleb.connolly@linaro.org; h=from:subject:message-id; bh=SyJsuXFveE9NP3j11TB258tmAMK9y8RumBgL+mBQw2A=; b=owGbwMvMwCFYaeA6f6eBkTjjabUkhjTF8H06h+OPK94zOfxogeKkjty73l9fP1xtufDk41N9e /faN53i7ShlYRDkYJAVU2QRP7HMsmntZXuN7QsuwMxhZQIZwsDFKQATMS5lZNg1ry3YNXN19wLD 6z65GRdWfrx/3H8vb9s/1e86umX6ZY8Y/vAIsdb7xq/4NlViZd2ps48z479n/+i6b6Mx8W1xwMN 3ha4A 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 is used for the volume keys on some SM8150/SM8250 devices. Signed-off-by: Caleb Connolly --- drivers/gpio/qcom_pmic_gpio.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/gpio/qcom_pmic_gpio.c b/drivers/gpio/qcom_pmic_gpio.c index 362d98dbf8cb..0dd3434e9e04 100644 --- a/drivers/gpio/qcom_pmic_gpio.c +++ b/drivers/gpio/qcom_pmic_gpio.c @@ -364,8 +364,9 @@ static const struct udevice_id qcom_gpio_ids[] = { { .compatible = "qcom,pm8994-gpio" }, /* 22 GPIO's */ { .compatible = "qcom,pm8998-gpio", .data = QCOM_PMIC_QUIRK_READONLY }, { .compatible = "qcom,pms405-gpio" }, { .compatible = "qcom,pm6125-gpio", .data = QCOM_PMIC_QUIRK_READONLY }, + { .compatible = "qcom,pm8150-gpio", .data = QCOM_PMIC_QUIRK_READONLY }, { .compatible = "qcom,pm8550-gpio", .data = QCOM_PMIC_QUIRK_READONLY }, { } }; From patchwork Thu Apr 18 17:25:46 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Caleb Connolly X-Patchwork-Id: 789798 Delivered-To: patch@linaro.org Received: by 2002:adf:e6ca:0:b0:346:15ad:a2a with SMTP id y10csp684562wrm; Thu, 18 Apr 2024 10:26:54 -0700 (PDT) X-Forwarded-Encrypted: i=2; AJvYcCX72LxhttU5KMbzIDAtazI48Kn65QsYbExbwHW6Prsjg1Dp7ni5LBmhcMCHeS9S20w6VmTtiH+3EvhwBMvodxAR X-Google-Smtp-Source: AGHT+IHVZMSc6T9zohL0YFB5NESZxgmqjxq62UhwQ1w4YfT1rujLnbGFwyKzKubjkj49x4zSjDMF X-Received: by 2002:a50:9352:0:b0:56e:2332:cb4b with SMTP id n18-20020a509352000000b0056e2332cb4bmr2068715eda.40.1713461214049; Thu, 18 Apr 2024 10:26:54 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1713461214; cv=none; d=google.com; s=arc-20160816; b=FL/rWtfqUZGV+y9ntUPyKUUu7ts48XftX8Y7hhV7qDbQgwt6W3NpEw0cFFHVKjHF0B pj6VGfc4J/JCl5Jd8HfEWG8KxoGRaCpgSEl6mZxbflKqaG3kofpVEy5gS7FDSt3S7PNP aiLbquvq5xShGKrW0SQzDos/FX4fZbJziU89n8irDGR5BW6gV7mliMGEZpIQAvMNNTAd D7yqylsK9WahNQ8IMDVrC/DpN7NKk2XOhPGPcc0+uTbcZUC4z6QJnhdFcE6mW5fNYprD tkgfJ3kzGlTfUvR/NAIRIxMGwvPmC5MPZLlm7im3qx7xHmPd9XeGzhCIWhi0mkICoXwL n7tw== 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:in-reply-to:references :message-id:content-transfer-encoding:mime-version:subject:date:from :dkim-signature; bh=5u1Os4mPjY9uiiBmDt0/pCIDUWOOpkIMsv7xW5JLldI=; fh=UuUtIqEoSXnQ/Lt12sTlH1CZVbdLDNcxQoAVL3sXgzY=; b=oC3P8isEsRUjoygcS9QomR1WyN6/joNfZTwr5P8vceQ3Fhc660PsJzUl34Iz3YB2l/ n874LQS6xBtzO9OsNUAmrTI/CdHfYbEEfTlcvkI1U+L+ab0NeBo5HNZRy5SNaOBy+rX+ Xk3w+BZPdP3wlg35UzJPpON2cF9Elibg8bwv/cLOZ1lnbP6NpAL1cCFGZfECqyeXnxeB AU4FTLpuGAAnbJJogG7b7k/edPWieYhUW3cOLO710dYs/a8XufSUboRaydfd2nktSWdZ tVhClrFw8Wd5zCK91+7bQNnZ5lEREflp8OHRcyWzC8twz3SMHi7NyRkISi/ujoEF1jPR nzGQ==; dara=google.com ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=W9+gFgTe; 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 b20-20020aa7d494000000b0056e6cdc5e2esi1126776edr.153.2024.04.18.10.26.53 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 18 Apr 2024 10:26:54 -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=W9+gFgTe; 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 3BB5B886B0; Thu, 18 Apr 2024 19:26:31 +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="W9+gFgTe"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 02BF288694; Thu, 18 Apr 2024 19:26:29 +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-x335.google.com (mail-wm1-x335.google.com [IPv6:2a00:1450:4864:20::335]) (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 1B2438868B for ; 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=caleb.connolly@linaro.org Received: by mail-wm1-x335.google.com with SMTP id 5b1f17b1804b1-418a0256381so7876165e9.1 for ; Thu, 18 Apr 2024 10:26:27 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1713461186; x=1714065986; darn=lists.denx.de; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:from:to:cc:subject:date:message-id :reply-to; bh=5u1Os4mPjY9uiiBmDt0/pCIDUWOOpkIMsv7xW5JLldI=; b=W9+gFgTeEWrUw/FVhD6E6aki+bEDwroAG4QZXXU6HNPgSkXldf81CAwFlWKNCjeqph iOz8/LnkNASUR/yhshOQYoMfzIym4ndWHI9717kgDHf8kpCdugsJ3OEUYHNZmN/aXnhE +mRvM+s9PdEO2/quw9t6cNQEopqgysySluzahAel3t+TDLxYq8KMtcar62wfL2MaACii 98qsvgEPoQ35dSuO7mTT4EZIFggq3ZsFfiodmW9tb/LNZy0dNTVxdTx8In2e8/GN1tjk yakOsLnPrGMapRsuzkK+/Yra6/nP9bqACoL2uwP/kxdIR3h5h5GP3YauBYpPyGRAY3nx Sdqw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1713461186; x=1714065986; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=5u1Os4mPjY9uiiBmDt0/pCIDUWOOpkIMsv7xW5JLldI=; b=Xm6Q6emp3aOSMay7qpop4VBRPy6bOtNel7nkCGWzG5/bGZkA8NQZ6CoKAhFhf9vg9Y 8AOZxyUZvcybD7rM3vGHcSrHtDQ7XbG64ivI/n8OtWdA1EtOTHuiOYQSoMura8PFDzf1 86jHeqJdk/CpgErGl1974lX0yt39DOOPkhAWFpjBx/FsXpuXIjGU6DHL3V4GBtk/PWJA 9j5SinrN7OMQKnVxKazzXsvWuDQjKNQLfw0dgFPlE5yJrQptkCXAyYxNy7ikpxkyPWvd uGhfhtCNe4w+UXMAbhde77eH8SarxWLnXcvl2KB1glzjdLwn8etwDoK2uLfT2e/AL1Hb RMKA== X-Forwarded-Encrypted: i=1; AJvYcCUQHtwHy6MhF8eCF0RtH+F4HmX5ENr7xbod7CZyn+tU4Ozx1YvPGMpIxZZiXo7fpIaWuVWTOXbysuV8XHM/TOsj22bD3w== X-Gm-Message-State: AOJu0YwCZgpM1OZH8vSmM7IlzBuIfTaHNn/mufcaikNdA9Cs7kGK/OyQ 2wBTLaaKXvOQIQcfR9SLjbGTu+PwcUrC+Y+iY9MVSMNB8KO1SH7IElXjG2zKQbI= X-Received: by 2002:a05:600c:3504:b0:418:d58e:2944 with SMTP id h4-20020a05600c350400b00418d58e2944mr2515032wmq.18.1713461186520; Thu, 18 Apr 2024 10:26:26 -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.25 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 18 Apr 2024 10:26:26 -0700 (PDT) From: Caleb Connolly Date: Thu, 18 Apr 2024 18:25:46 +0100 Subject: [PATCH 3/9] iommu: qcom-smmu: add qcom generic compatible MIME-Version: 1.0 Message-Id: <20240418-b4-qcom-rbx-fixes-v1-3-f5f19d52969e@linaro.org> References: <20240418-b4-qcom-rbx-fixes-v1-0-f5f19d52969e@linaro.org> In-Reply-To: <20240418-b4-qcom-rbx-fixes-v1-0-f5f19d52969e@linaro.org> 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=843; i=caleb.connolly@linaro.org; h=from:subject:message-id; bh=s6fQFUO8M4qjLm/bsMgQzOPNj/VYaDfmD9iMPRCs0DM=; b=owGbwMvMwCFYaeA6f6eBkTjjabUkhjTF8H0f3iyweTT9jldDx0H3i3/NjnGZl0ftmJb+x11Ar 6Oy9Ob3jlIWBkEOBlkxRRbxE8ssm9ZettfYvuACzBxWJpAhDFycAjCRWUKMDN2NV5uvzl3GlNxt 0fhpg87KUCnNaVITmt1lTbM+KRzd9JzhnxrrQxOj/quvpttf5tQ78n1x5eVjWva3Yn9ndUT93O/ GawgA 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 With the exception of SDM845, most other Qualcomm SoCs have the Qualcomm specific (but not SoC) specific SMMU compatible string. Add it here so we can match those without having to add individual SoCs to the list here. Signed-off-by: Caleb Connolly --- drivers/iommu/qcom-hyp-smmu.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/iommu/qcom-hyp-smmu.c b/drivers/iommu/qcom-hyp-smmu.c index f2b39de56f4a..7b646d840dd4 100644 --- a/drivers/iommu/qcom-hyp-smmu.c +++ b/drivers/iommu/qcom-hyp-smmu.c @@ -380,8 +380,9 @@ static struct iommu_ops qcom_smmu_ops = { }; static const struct udevice_id qcom_smmu500_ids[] = { { .compatible = "qcom,sdm845-smmu-500" }, + { .compatible = "qcom,smmu-500", }, { /* sentinel */ } }; U_BOOT_DRIVER(qcom_smmu500) = { From patchwork Thu Apr 18 17:25:47 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Caleb Connolly X-Patchwork-Id: 789799 Delivered-To: patch@linaro.org Received: by 2002:adf:e6ca:0:b0:346:15ad:a2a with SMTP id y10csp684618wrm; Thu, 18 Apr 2024 10:27:04 -0700 (PDT) X-Forwarded-Encrypted: i=2; AJvYcCUiP72P1A3GfFi5ReKVPlKLhOBa20D/AOFTGagvqCFo5lACrJjWV6U8TOdy7PlVaKGvelthx9ZAmzTh8Q3Yxqlr X-Google-Smtp-Source: AGHT+IEpDO9k++cpcqS7uf1YMmMxxSbjaFQJzHHGAKV8w28J4y9hze9MRDMrJk2DeVSVfLq8gSwl X-Received: by 2002:a17:906:c104:b0:a55:6f2e:bb2b with SMTP id do4-20020a170906c10400b00a556f2ebb2bmr2297823ejc.13.1713461224277; Thu, 18 Apr 2024 10:27:04 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1713461224; cv=none; d=google.com; s=arc-20160816; b=vyeLiyOKAVf89UPxW9vX3GSQv3HHVZIhSuDAzptaSAC6ljMS+2YLBq1Y2FkCrOULVs NOUZmhYMi5c72d89VQBEx3NysU5TcgbQdD6gfp7PHj1wuXOzcYdOvezVexaxhhjGPvpi wp6buTy7uJiDGHdGCf+LjLEFkjeirEVOHn/cel5S8dYpAm+9bT8TmjG91PaIZK80lZH0 jqCphqkTYJWUhER6ZjmChpdAc1f38Zoc5QZkecOfZ9+HtlFnoBtiwCcgToEwwYF2eGpY YDUyZwfik6cLKh22XepaLDXqIkNRjcrk4cW5BFg9ReQJYPbXGCB0HR7cnGCfb1HAWE8U 1OQg== 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:in-reply-to:references :message-id:content-transfer-encoding:mime-version:subject:date:from :dkim-signature; bh=d/wErtk16zYIKMThyrT+EkU6QGyKz9kq913d8psFgRE=; fh=T0Xf/ck0Z36zhsuvBONaYa9xkf1xpS9MatWGrTrAhtM=; b=Md/bMb5KZFcaoxMwT94yiOoJ5DL55UPawlMYqzInzYMqfVBeA3JorQ76Y3vOZmNl5O OlfSIx9W0QSiINFrqdhHI3kd0ZgITxyHQDKVGwsIGGcyUYJnLDRwb2RS9psWsyAfKNCJ Ak/mVnIVl2Cy34DersO73UvJW/smrNxoQkaHY2N2XqAil8eBtn9JcCHlWzgKjployUgb EeVJG45av6BGw5Q1Tt3An50vSNuT2hRkmK8SWwRdaCHh4hYsWEvlOuMaheWtmA0GZvwO /yRuD/aG18bhjkrsTV7JAgyB8AbswsEXDH77Kpw/21VDS/80lAmNVR11xOBbMjWa4OpS 5lCw==; dara=google.com ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=yXkueJZu; 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 y2-20020a170906070200b00a4e29cf2d76si1114844ejb.151.2024.04.18.10.27.03 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 18 Apr 2024 10:27:04 -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=yXkueJZu; 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 99C9988698; Thu, 18 Apr 2024 19:26:31 +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="yXkueJZu"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 36211886A6; Thu, 18 Apr 2024 19:26:30 +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-lj1-x229.google.com (mail-lj1-x229.google.com [IPv6:2a00:1450:4864:20::229]) (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 3CCE188692 for ; Thu, 18 Apr 2024 19:26:28 +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-lj1-x229.google.com with SMTP id 38308e7fff4ca-2d8b194341eso11129531fa.3 for ; Thu, 18 Apr 2024 10:26:28 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1713461187; x=1714065987; darn=lists.denx.de; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:from:to:cc:subject:date:message-id :reply-to; bh=d/wErtk16zYIKMThyrT+EkU6QGyKz9kq913d8psFgRE=; b=yXkueJZu4C5rN9KpxKgU0VXk15MFv+N5OkXGkCjHJ0ons/5tS3wayWDWw7bXV+TyQS CeKNf1cRnybulILEbI4HnIhD5js4NEqDa8b4HWtHvx79DKP2P0Ki0tnS52cENmiSvRr3 YtzyIWyr63GUEFKGh3rqEd3q0R3RHfQun/WLYSRU+37ISRzRK3gi+5EqCMeSPyU6gKnJ LdJ3jfPiuksnEI01fVaaY33AufYintzCfpvS+V+YLqCybTJ6hE6U/HNXFXIJX/Bm1lP1 aoNykATD5Fx8VIhdTjOrGpwh6rIrO6FRghN0q5JNilqiY3LpEUNBFuEe/gGWPDVJMkBa 9TKg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1713461187; x=1714065987; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=d/wErtk16zYIKMThyrT+EkU6QGyKz9kq913d8psFgRE=; b=Pr+/G1++pdIJpNQeuArF6zjK2dP612W7fsVOs5sKYcbPWqKshz5G+d/38rV2n/Zm4x p2rgmzI2aOnjRAF4CQQ805uwXIe0x416sXSa3KX2xfg8w5i+2i+7b8zvtF2hXGHL8XFh tiM257g6U0Qquo36QbhsxeXIhCzv9qQGdMwwn2ldK/nhLEIMQ3qv0KvqWu/I9MNEevgQ K+2/PFLDqdEH+I41EeDORp1ygoqIpuKLdtI5LLj57azizxA38Oyow9IfjqHqZCcx7boo OelNJqQiJv52oiYBmuC2E3OhRpMC0iBeqRlqeftQ/lfv/sHJETZ8SAv4NpA0q4b3hN3A F6Bg== X-Forwarded-Encrypted: i=1; AJvYcCU/yqdvvJhMz1JVebTgmyT390EwCR1qhsaLx0Y0AUVDDZy+q+oRqXfw+CfcW+iM94Vr8Rn5nW4WxaXDv3nQwbKGT4EuAA== X-Gm-Message-State: AOJu0Ywd8QaORxjEQRRuB2jTiqsdBkUJyuyyPM/EnAZB0H/gmssbbrHQ ZCbgmAB7X1q/ZO1HNkzhrnyijiqhApMMG8q5LFUESEI8IbdWfZplHs22wPi0T4E= X-Received: by 2002:a05:651c:10c9:b0:2d9:fe84:a485 with SMTP id l9-20020a05651c10c900b002d9fe84a485mr2071238ljn.29.1713461187540; Thu, 18 Apr 2024 10:26:27 -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.26 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 18 Apr 2024 10:26:26 -0700 (PDT) From: Caleb Connolly Date: Thu, 18 Apr 2024 18:25:47 +0100 Subject: [PATCH 4/9] phy: qcom: snps-femto-v2: drop clocks MIME-Version: 1.0 Message-Id: <20240418-b4-qcom-rbx-fixes-v1-4-f5f19d52969e@linaro.org> References: <20240418-b4-qcom-rbx-fixes-v1-0-f5f19d52969e@linaro.org> In-Reply-To: <20240418-b4-qcom-rbx-fixes-v1-0-f5f19d52969e@linaro.org> 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=2290; i=caleb.connolly@linaro.org; h=from:subject:message-id; bh=ICCz9hpOfFIT7tLy64Sy4o+II72OOqyAu2y9tUZCKcE=; b=owGbwMvMwCFYaeA6f6eBkTjjabUkhjTF8H1zp3+Sbb25aFv5PP2Oyft1o+Vvt5cvdlh0WzlRY 139vu8WHaUsDIIcDLJiiiziJ5ZZNq29bK+xfcEFmDmsTCBDGLg4BWAi+usYGWYKpbZ9DvcpsntZ K13z8C6DZWzUi/Dp71MY/306/ex4Ngcjw8LF7zdoKC9ZEHe4XytEo5znytlcoXqPBpvbnd7LPdP 7zwIA 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 There is a clock associated with this phy, but it's always from the rpmhcc and isn't actually needed for the hardware to work. Drop all the clock handling from the driver. Signed-off-by: Caleb Connolly --- drivers/phy/qcom/phy-qcom-snps-femto-v2.c | 14 -------------- 1 file changed, 14 deletions(-) diff --git a/drivers/phy/qcom/phy-qcom-snps-femto-v2.c b/drivers/phy/qcom/phy-qcom-snps-femto-v2.c index a1675b664e46..04f0f0e7817d 100644 --- a/drivers/phy/qcom/phy-qcom-snps-femto-v2.c +++ b/drivers/phy/qcom/phy-qcom-snps-femto-v2.c @@ -5,10 +5,8 @@ * * Based on Linux driver */ -#include -#include #include #include #include #include @@ -16,9 +14,8 @@ #include #include #include -#include #include #include #define USB2_PHY_USB_PHY_UTMI_CTRL0 (0x3c) @@ -61,9 +58,8 @@ #define REFCLK_SEL_DEFAULT (0x2 << 0) struct qcom_snps_hsphy { void __iomem *base; - struct clk_bulk clks; struct reset_ctl_bulk resets; }; /* @@ -142,10 +138,8 @@ static int qcom_snps_hsphy_power_on(struct phy *phy) { struct qcom_snps_hsphy *priv = dev_get_priv(phy->dev); int ret; - clk_enable_bulk(&priv->clks); - ret = reset_deassert_bulk(&priv->resets); if (ret) return ret; @@ -160,9 +154,8 @@ static int qcom_snps_hsphy_power_off(struct phy *phy) { struct qcom_snps_hsphy *priv = dev_get_priv(phy->dev); reset_assert_bulk(&priv->resets); - clk_disable_bulk(&priv->clks); return 0; } @@ -174,21 +167,14 @@ static int qcom_snps_hsphy_phy_probe(struct udevice *dev) priv->base = dev_read_addr_ptr(dev); if (IS_ERR(priv->base)) return PTR_ERR(priv->base); - ret = clk_get_bulk(dev, &priv->clks); - if (ret < 0 && ret != -ENOENT) { - printf("%s: Failed to get clocks %d\n", __func__, ret); - return ret; - } - ret = reset_get_bulk(dev, &priv->resets); if (ret < 0) { printf("failed to get resets, ret = %d\n", ret); return ret; } - clk_enable_bulk(&priv->clks); reset_deassert_bulk(&priv->resets); return 0; } From patchwork Thu Apr 18 17:25:48 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Caleb Connolly X-Patchwork-Id: 789800 Delivered-To: patch@linaro.org Received: by 2002:adf:e6ca:0:b0:346:15ad:a2a with SMTP id y10csp684705wrm; Thu, 18 Apr 2024 10:27:14 -0700 (PDT) X-Forwarded-Encrypted: i=2; AJvYcCXQnFooL5GProiXF56+6vMy+BnXwZYnZmCWz/ZRYSv40PoeTYj7qlVzwYZ1x9fOzcYS6sdYM4N5g7lM1HQkzJXO X-Google-Smtp-Source: AGHT+IH1PGkhiGqGCN7XZJC5FZq5zUA5zhgagwSdKfZOf4F2jBDOZDHzK+VO17ihLpVgyKzyDhkA X-Received: by 2002:a05:6512:a92:b0:519:7041:d18a with SMTP id m18-20020a0565120a9200b005197041d18amr2670380lfu.4.1713461234188; Thu, 18 Apr 2024 10:27:14 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1713461234; cv=none; d=google.com; s=arc-20160816; b=F5Fq+agy5UW0re6CWAs8U64/tS/C+++LPOljRkX9MwvGxqkLFnTsFj/V5GcmIed8o2 JnjasfuTGEoy4BHwZ84aqpG+lrODkFyLS8OQMXVUFnqyb8uvbDT2TWs3ZeFRPEmFI9p+ L6y+sLVSGMiBB7NO37PqhmFYojs3e6RPeeYP0OwVln3AMs5qZRdSU7E9kki2FJqMnVxc MubzFUa9L5DEYXcLbuqiKDyq5ZrPYYV5aSGXDGoSbSMVm6o1tSY/y9mSOGS6j/hg2iq5 XKZoe+JhRZ9oYzufCAmPoC+NsQTUGk0SStN3qGey/qcPdZbv41EDthUI/+sSUy3G9R+k rkvw== 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:in-reply-to:references :message-id:content-transfer-encoding:mime-version:subject:date:from :dkim-signature; bh=ysUkJvznPlkaXDP3wq0WHW9sRVz3WIX/KBxeJN26Cj4=; fh=Yqy4rl7pXBx8yiVybYvkF7rsuV/j2cKUSuArvA6exKo=; b=wTnn9QHtlXCrEDXawTu4v0zQ7w3txk6z7DZ2XFTnuh768GDmO2YBqOw4DKIPAbSgqC 5G4UZNpRi+Qqa9hOxlR7ej2EyB4SuYQA7dYU9rXsVcNTCVh7d+iFZhuzz0f3Fogudi1p AwaijGH8BRpdk0cBNpr7NiTT36gm9KMkQDxuYSnPXogOTjg830h3IK6Jv0rJ+yqLw9hM AS2IP04Juy5PubuW4T76JikO9zCcl30vICroMBRCiNR0uD/seef01ZeAiiiB/ntXHJ1W XsTkgHeEMaTOGDo2OqCjX56KB/Vfs+E+u2KNOx2r7pyNeVpN+GzR8egYxIFvi3mYIrCR j+yg==; dara=google.com ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=mR+yLjzn; 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 j5-20020a170906410500b00a5196a15dd1si1060809ejk.176.2024.04.18.10.27.13 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 18 Apr 2024 10:27:14 -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=mR+yLjzn; 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 07E7E8869A; Thu, 18 Apr 2024 19:26:34 +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="mR+yLjzn"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id C8EE9886AD; Thu, 18 Apr 2024 19:26:30 +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-wr1-x433.google.com (mail-wr1-x433.google.com [IPv6:2a00:1450:4864:20::433]) (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 E487188693 for ; Thu, 18 Apr 2024 19:26:28 +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-wr1-x433.google.com with SMTP id ffacd0b85a97d-34782453ffdso1091193f8f.1 for ; Thu, 18 Apr 2024 10:26:28 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1713461188; x=1714065988; darn=lists.denx.de; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:from:to:cc:subject:date:message-id :reply-to; bh=ysUkJvznPlkaXDP3wq0WHW9sRVz3WIX/KBxeJN26Cj4=; b=mR+yLjzngSikE1JnznZ+MD6Xu9B+jg5AU0YCN4adoDzeQ1F2rV76zIFVPOxMaOUNb8 +tC0xzTQyNUn8dFwTBkJXDabA7BypGTrGFLph3GK7fcTDkH7criVzDPYOrXGcRJATrRg WDi17b+OvnKqD9htO/ve7QClxdu7mamZTB4ArZXeGXqe4YiQUjV87A6DuW47jIp9Cf0N 0rXsSa5mGTOTigKtrBuabrA0fVinahOpjVTzQPonuLayu+rJVC0jjbHnDhNt0neP7amf ZLh+0YzvqyZfXtIkUG58ZeTRY9EPNvG72PD38otYrVtZxHIo7yWWzNqTGSKQzGLF0xET P2yg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1713461188; x=1714065988; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=ysUkJvznPlkaXDP3wq0WHW9sRVz3WIX/KBxeJN26Cj4=; b=RbqPEu0af+SA36FM6k0Dfal5goVBmJppLBqaLwqmGRenpuMKuSqNiHH62i6fhg2obX vzBSAvDJH7yKtT20zITbzCnkjP679kpnJc1qAa58kplPeprPMfP4MUhADceyIqGsU4Qm OTQhz5b6EW+Raow7/EGk0CC9ars13/TS26igtAql0uBAM0LcgjINR747ELWm7TjpNQpk khsWum+/OUy9/o+3ufQ9d2dnZEwTrf2yy6zcnNtXEV30rKO6kLul/vAu+Aobf5BwrAkJ nspqZ2MBAyOWHQNBIs3hYEEkmWC1Yh7cYJrZ753wjOp7wvi7ApgvjsoZhoL1etbucmOo lQLQ== X-Forwarded-Encrypted: i=1; AJvYcCXIy7KnCwTGMpGcpLnn8rXkiYIipEyPANwSeRnljaG2OythkrTd27Crb6i19bkmNB1Rxmje/ENac3c6HUT7SyHUbei18w== X-Gm-Message-State: AOJu0YwtkzurQWqcMEMSoCYQB2Vu5D1Kw7m4a8K0mw79csVMcXmNrswX TJt3clsgjUejpLS/3DKLM2zlnxhqzsq44taGOrH7jMcBGHYA1gJp7vKP0wVfJ3E= X-Received: by 2002:a05:6000:70c:b0:34a:2a8f:db18 with SMTP id bs12-20020a056000070c00b0034a2a8fdb18mr1784451wrb.7.1713461188421; Thu, 18 Apr 2024 10:26:28 -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.27 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 18 Apr 2024 10:26:27 -0700 (PDT) From: Caleb Connolly Date: Thu, 18 Apr 2024 18:25:48 +0100 Subject: [PATCH 5/9] arm: dts: qrb4210-rb2-u-boot: add u-boot fixups MIME-Version: 1.0 Message-Id: <20240418-b4-qcom-rbx-fixes-v1-5-f5f19d52969e@linaro.org> References: <20240418-b4-qcom-rbx-fixes-v1-0-f5f19d52969e@linaro.org> In-Reply-To: <20240418-b4-qcom-rbx-fixes-v1-0-f5f19d52969e@linaro.org> 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=589; i=caleb.connolly@linaro.org; h=from:subject:message-id; bh=sEeuLcHn4o6Fr54349Q/wHpTGLmNF2RBFRknZhKdS9s=; b=owGbwMvMwCFYaeA6f6eBkTjjabUkhjTF8H0WOrcajt3tZ7kwefNhn0szG71rRSZnzb0qcvXJz xUci+X1O0pZGAQ5GGTFFFnETyyzbFp72V5j+4ILMHNYmUCGMHBxCsBETk1k+MNzRuFOm6TlUotj inzcCd8/CV3jLm7VPDbztJS0+U5+JmGGf6ov8k/96L57YqmQsMkqhpqVD4UyBBkm3W88ZpBXzyw VHwcA 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 Add a fixup to force dr_mode to host for U-Boot. Signed-off-by: Caleb Connolly --- arch/arm/dts/qrb4210-rb2-u-boot.dtsi | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/arch/arm/dts/qrb4210-rb2-u-boot.dtsi b/arch/arm/dts/qrb4210-rb2-u-boot.dtsi new file mode 100644 index 000000000000..7d1375f38c44 --- /dev/null +++ b/arch/arm/dts/qrb4210-rb2-u-boot.dtsi @@ -0,0 +1,6 @@ +// SPDX-License-Identifier: GPL-2.0 + +/* This is usually OTG but U-Boot doesn't support that properly */ +&usb_dwc3 { + dr_mode = "host"; +}; From patchwork Thu Apr 18 17:25:49 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Caleb Connolly X-Patchwork-Id: 789801 Delivered-To: patch@linaro.org Received: by 2002:adf:e6ca:0:b0:346:15ad:a2a with SMTP id y10csp684768wrm; Thu, 18 Apr 2024 10:27:24 -0700 (PDT) X-Forwarded-Encrypted: i=2; AJvYcCXKsXewaMbMRIyg5KtaJ5ce6640yiKiVJG0G0O0HGBN588UtGm7jbivzBBMJUFiiAi61R/ghopA+XGxHbjtIhPm X-Google-Smtp-Source: AGHT+IHlA69b/amK7LM2KP3wTujMz/iNCxVX1RLVhSZZ3HiPpifdX5QPNssPuo4z8JpPl2YKB6fr X-Received: by 2002:a17:906:d98:b0:a52:262d:d998 with SMTP id m24-20020a1709060d9800b00a52262dd998mr2217521eji.62.1713461243985; Thu, 18 Apr 2024 10:27:23 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1713461243; cv=none; d=google.com; s=arc-20160816; b=A8sepGGK/rbSpq+Ti+gxcPbk0bhAa9SJQgTbxPk4T+gW7X/uB5+6NWQP9X1HHtZV6l vKKv9Oc2imC8Ci85ecHO1ujOFtTzKVIwskuDyHfTVPCoMwQRrOgx3eGT+z8wByTYvYpQ gwXNGNgrFXij3yUE0X9H10FFx2Hu5NFp36AOXMl0iwyf7/mgyxdODFX3nO79V1UbilL7 UvgINqzTjbpmWjhM155N8kU1I6saHD2GBHpqAr9HGZvQe+Fa03SPn7u9ea9Fj6sKluWe 9fPA/2fzeaeTdt7T7gvfu1kecEfysqN+38tEFpBAOtraEsTcyA+TR10sYdN++pGRcUft rqvw== 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:in-reply-to:references :message-id:content-transfer-encoding:mime-version:subject:date:from :dkim-signature; bh=uIunq2hVl4wOxoVQv+vRWpmXjACM5TsW7K5jOwtHs2s=; fh=cxVCy3eHy3nijErbMEJaNRtqkZXikxCx2t/IdwYWGwE=; b=xRtxTquXpC/OxZjoWaBWUUU9Ne/Ededv+RaWpl9YmXmhxiebGQCjUYSJPDmmdGJE0M s8WWSvI1naMtAiTLLTYoCn2y9UD9m8VEqVU/tEgnDQVGXCDlaqjQDlrdeuKafVDr4VMR nR9IhO3kM/ybnGFs49paymTTm8WwWaEED/b2cYiu4mLaHM3XUiUlaY9NbyPVsqqHIqHE O/NFVkIWizHaTU7OOXXQpUQfuCi4PMu5OvvOmiu2OW+6LgqtfiRL61zNZtBFMyA4v97z M25Uwc2nCzs+OzWeAheKCCeFwAq7RN/vAjlvIh4/rQBZxZiHjrE4Fkil9Ckq3TcqQMri WhoA==; dara=google.com ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b="WzTv+/VF"; 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 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 jw24-20020a17090776b800b00a555506da5esi1080805ejc.346.2024.04.18.10.27.23 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 18 Apr 2024 10:27:23 -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="WzTv+/VF"; 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 Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 69175886A7; Thu, 18 Apr 2024 19:26:34 +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="WzTv+/VF"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 1E28F8869D; Thu, 18 Apr 2024 19:26:32 +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-wr1-x429.google.com (mail-wr1-x429.google.com [IPv6:2a00:1450:4864:20::429]) (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 C34298869A for ; Thu, 18 Apr 2024 19:26:29 +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-wr1-x429.google.com with SMTP id ffacd0b85a97d-34665dd7744so720736f8f.1 for ; Thu, 18 Apr 2024 10:26:29 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1713461189; x=1714065989; darn=lists.denx.de; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:from:to:cc:subject:date:message-id :reply-to; bh=uIunq2hVl4wOxoVQv+vRWpmXjACM5TsW7K5jOwtHs2s=; b=WzTv+/VFMEBi7D2zOC8uhYrwr++DfoC4Oi6/H/SISCpf5TuQLsjGkHIoYp1K/tiGGM itVQmmh2PdYfJGrOiN85voYLdP4t24U7DTG73xJaMEwFctqPcxtk8/VP+f4X0y5gx6w9 B0qHiVaToQxKFFSZusft0c8uaq9iyENv2CcXyylymMlooG4BvRvMot2y4IFc1aW0VNx0 m8Iom0V3Y7nv6YuvdaTDXwiiWjy0egETIDNhkDoC0U9GwVZ18qKrbvy4c8HWXgK3mP9V RgQzGrOgAvqhT1x9iKNliVlY/fJqBThCjzfkb6L7+BVNCXWd+MP/QfSe+40EU0lq6TSD XSDQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1713461189; x=1714065989; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=uIunq2hVl4wOxoVQv+vRWpmXjACM5TsW7K5jOwtHs2s=; b=RYdRjnfphMpBp2HzYstzEoL7Qlg0L85s3GTbgCFjrqbuMWRG7RqUavX9EYNsMPYA7v EebSVS9n/A9FfFw6O7XxeF+CesTMTIsc7WkLk2j4V0AaSIbWMNyVmvE8B2tFEflqw2Oa 6SBI3bgGE7TfSC/CjtAG5jt/+7FvAgk+FREIoAIvVB3DejJZuUGk2VM9bGZIR6Ed7FXX GT6/teFuV47rbK7UvFwz5Ud7giRF6pQBRJ+JD3PBXu8zEm5ffxpVZZxaasYOVX+6HSU9 5hsbdvGqCxqyrgLCc2zN5747I2VTJy5+0iWHINSsJbTwhW1tT28BknHbc5tfEz5ypWrG yKQw== X-Forwarded-Encrypted: i=1; AJvYcCWIu1xAskIbLJ1VxJ3kDxyz76kO8GgCZNjPnoIaWPXeNOwWiF+cgCm52BjS5u0bqAAXnHeR1DWrdcltSzi1bYu7zOUBWg== X-Gm-Message-State: AOJu0Yz5mnEkoPeizvPl8Vnlc+cAjg6bZ1LQsYYml+hBJob4AwU/fHj8 9oL6vGr79PHZpFv8vDIssPk2iNN04VPaiKJ/u7bocZaS6zdZz4DLfgRr+xSTt5Q= X-Received: by 2002:a5d:684c:0:b0:345:f08b:a7cb with SMTP id o12-20020a5d684c000000b00345f08ba7cbmr2380672wrw.4.1713461189373; Thu, 18 Apr 2024 10:26:29 -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.28 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 18 Apr 2024 10:26:28 -0700 (PDT) From: Caleb Connolly Date: Thu, 18 Apr 2024 18:25:49 +0100 Subject: [PATCH 6/9] mach-snapdragon: implement ft_board_setup() for USB role selection MIME-Version: 1.0 Message-Id: <20240418-b4-qcom-rbx-fixes-v1-6-f5f19d52969e@linaro.org> References: <20240418-b4-qcom-rbx-fixes-v1-0-f5f19d52969e@linaro.org> In-Reply-To: <20240418-b4-qcom-rbx-fixes-v1-0-f5f19d52969e@linaro.org> 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=1783; i=caleb.connolly@linaro.org; h=from:subject:message-id; bh=vTdWylU+Qm/b2Kjzlu3fUijp+wgsNbm8wf9HDTuxWOg=; b=owGbwMvMwCFYaeA6f6eBkTjjabUkhjTF8H388XE9U1fUmLvWffZNU5pRtttEoqq74PGq+S1ux 6X1Lv3rKGVhEORgkBVTZBE/scyyae1le43tCy7AzGFlAhnCwMUpABNhSGH4yTh5E//KkzeZOLkZ d+5PfGzPv6r4jeZjK8bqjxf5TYsWhDAytE9c4TJrX/jcXl5PjukqSW2bKryzWXkid/758m1xVs4 PNgA= 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 Some Qualcomm boards have only one USB controller which is muxed between the type-c port and an internal USB hub for type-A and ethernet. We modify the DT for these to force them to host mode in U-Boot. However in Linux DRD role switching is supported (required, even). Use ft_board_setup() to adjust the dr_mode property for these boards. While we're here, define pr_fmt for this file so we can more easily identify log messages. Signed-off-by: Caleb Connolly --- arch/arm/mach-snapdragon/of_fixup.c | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) diff --git a/arch/arm/mach-snapdragon/of_fixup.c b/arch/arm/mach-snapdragon/of_fixup.c index 3f7ac227bd09..55368dd43b66 100644 --- a/arch/arm/mach-snapdragon/of_fixup.c +++ b/arch/arm/mach-snapdragon/of_fixup.c @@ -16,8 +16,10 @@ * Copyright (c) 2024 Linaro Ltd. * Author: Caleb Connolly */ +#define pr_fmt(fmt) "of_fixup: " fmt + #include #include #include #include @@ -152,4 +154,22 @@ void qcom_of_fixup_nodes(void) { time_call(fixup_usb_nodes); time_call(fixup_power_domains); } + +int ft_board_setup(void *blob, struct bd_info __maybe_unused *bd) +{ + struct fdt_header *fdt = blob; + int node; + + /* We only want to do this fix-up for the RB1 board, quick return for all others */ + if (!fdt_node_check_compatible(fdt, 0, "qcom,qrb4210-rb2")) + return 0; + + fdt_for_each_node_by_compatible(node, blob, 0, "snps,dwc3") { + log_debug("%s: Setting 'dr_mode' to OTG\n", fdt_get_name(blob, node, NULL)); + fdt_setprop_string(fdt, node, "dr_mode", "otg"); + break; + } + + return 0; +} From patchwork Thu Apr 18 17:25:50 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Caleb Connolly X-Patchwork-Id: 789802 Delivered-To: patch@linaro.org Received: by 2002:adf:e6ca:0:b0:346:15ad:a2a with SMTP id y10csp684844wrm; Thu, 18 Apr 2024 10:27:33 -0700 (PDT) X-Forwarded-Encrypted: i=2; AJvYcCXnly8UbgulooYvrbxJyyWzqtY5SBZ8UfUQC87EH7TsxEGRid/6O9vYB+UD9EIiU2QNlSWElv2PDpIMA99hwpHv X-Google-Smtp-Source: AGHT+IG1MU++N2uzYuspZ9urfJvvSLxnNbtMRuS+joFweKOyasulwwh1SVpjnxs8PHO0PA2wqju0 X-Received: by 2002:a17:906:36d2:b0:a52:5aa4:79b0 with SMTP id b18-20020a17090636d200b00a525aa479b0mr2112253ejc.24.1713461253509; Thu, 18 Apr 2024 10:27:33 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1713461253; cv=none; d=google.com; s=arc-20160816; b=cs43Ur7JYbPgSW98e4nZpaKhHuW/quSvFfkLDPbRHfOgYWOkvHKj+8QCpjwz/w2eVr d4fRROWMtpEoju7O7oWEKJzJ3pgdHTG3If6Mj/lzuAW0rmPr0F8bReKXXhgkI6VzEEA7 eEEETUIxP76Xm7BO7gKJ7Hd3X0pRJauH8DaK6U6BewuFjU5/ebMj++0GrpCaMbFRM2a6 0nLeAUrkJ7AoNEc2kcegpyB5gltSNw6IU3pNGkhpDPSWIDgWX9X3oGWd9UL0ezAQTGjj QHuWATSQKdiFzUvxebyKD9NL7piyvl1HAKDmtRKeraBV8KE6yq+gpjBP8Y4+sXURY+9M HN4w== 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:in-reply-to:references :message-id:content-transfer-encoding:mime-version:subject:date:from :dkim-signature; bh=LuY4IJnS3xAD09urZivC55YkvTtWrEUFIrmTWhylKUg=; fh=AL0KmjieaNEXJXrp1ojAzo92xqdwlo2jf1GeV6zKEK4=; b=Junx/g0f1NK0kMJugL+B6BX6WlWF7iE1F8TG4JgfpH049QB7j3aMiRGJXF5o+LafUS pkgzYbWvej7G6Nxvq4DAyWAwvsSQnjxZYw7nEbWJzTbay1T6mwL1QvNiCRSkSsAW0VH2 7mA7Jw+rTnxSg6S5lee0/cGj1LyGW862h9oOEHte7iTPJGD6M40LnVFydSoaJxAaqOCD MP0ygUdr1T6zUc8sHABmQoiOzcysf1cTlz/IAlgE3XpTPtMQ9l+Ni5y5GLaiI0Sy4Twb /xiDiCt9E9t2JM2g7X2SuD5LUiYr9Xd8iwyCGtw6GaKQEv/MVuPhoi4VGeUx9AbEfGt8 A0qg==; dara=google.com ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=xaM2NV++; 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 q19-20020a170906a09300b00a51d7203458si1092084ejy.778.2024.04.18.10.27.33 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 18 Apr 2024 10:27:33 -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=xaM2NV++; 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 C9CB1886AC; Thu, 18 Apr 2024 19:26:34 +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="xaM2NV++"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id A5EAC8869D; Thu, 18 Apr 2024 19:26:32 +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-wr1-x432.google.com (mail-wr1-x432.google.com [IPv6:2a00:1450:4864:20::432]) (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 950A1886A7 for ; Thu, 18 Apr 2024 19:26:30 +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-wr1-x432.google.com with SMTP id ffacd0b85a97d-3476dcd9c46so768001f8f.0 for ; Thu, 18 Apr 2024 10:26:30 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1713461190; x=1714065990; darn=lists.denx.de; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:from:to:cc:subject:date:message-id :reply-to; bh=LuY4IJnS3xAD09urZivC55YkvTtWrEUFIrmTWhylKUg=; b=xaM2NV++3SuMXdaQysSs8skgPWK7PqV0JF4YMq3WB9wayAbJpmBH5C0PA6qKJ9I3EO XcESgJANKoxwxvDGE/+dlHh3l/64x+6MSKIR75pt5/wQlcpTURbyOagd+vj+HfaLh+4i B+cO9PO7VpQN7ttruuvbHHymXK7943Y8gEjgo1rKpUQ4d9pcAI4w3TG6Yy7m4iULiwlu PnIiGSMTE4A4R/G9ipufn26Xqn7H8wqrT1Ui08fln02feQroE7EdZFIwNyX7mh5ec3Hy 8i2Gie1cgH0WLwlSXTUdzyruu8+qFj+dlRZQoieuGdiB4IHUxiIkOVsW1v1K6yLYBg5X SJ2A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1713461190; x=1714065990; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=LuY4IJnS3xAD09urZivC55YkvTtWrEUFIrmTWhylKUg=; b=FSVCHo879//6fE+PCzTw5xCE1tRBXjsumeqfrI8Ozp5JGsSlwPO4NXrDj24z4qSSvX ykVdZhz4/2lBelG/F0rtCHKJ7ggEoSiH6hQ3G0vLtaFLbISiZgG4T5uVpWHfYROS3ykl 5bZnJoTWWNMJ/TS2N88JY+VFCDMegMaiJagQsMdwA9kEDszzExJZevT+wo2U9oEawkOX xJwxCHebfgr7Jzng63Y1t+2h5CDJAQwUC83mB/ge0L5NPyzNWo5WjvVFtASCSaL24Jbv KDFLNTK0NZmw0AoBAObbidOVwBfMEpr93zgvzq821ytHGk2RvLocJoviiaqXSP+4QKXU SIuQ== X-Forwarded-Encrypted: i=1; AJvYcCVxYhJNLcRDbDe8OnBTbOIDyxOZ8MWHjo4NHPbXlwTMySb3IC2ec1hhsKZ+bzGcrDpt8F9EK5tXpRUc7xxSqWXstY/rRA== X-Gm-Message-State: AOJu0Yy5ALZVrtnKTj3d8anbZN5ixwfjvNnm5IM98IcSzY1bpLCQN9Oy MUopsUKUlcIU2OILhTIlzdqhKVufGkouNC9TXrgZ2GkteZkZheZoMgVMQMWAS+c= X-Received: by 2002:adf:db46:0:b0:346:9903:d10f with SMTP id f6-20020adfdb46000000b003469903d10fmr2178935wrj.12.1713461190114; Thu, 18 Apr 2024 10:26:30 -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.29 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 18 Apr 2024 10:26:29 -0700 (PDT) From: Caleb Connolly Date: Thu, 18 Apr 2024 18:25:50 +0100 Subject: [PATCH 7/9] qcom_defconfig: enable OF_BOARD_SETUP MIME-Version: 1.0 Message-Id: <20240418-b4-qcom-rbx-fixes-v1-7-f5f19d52969e@linaro.org> References: <20240418-b4-qcom-rbx-fixes-v1-0-f5f19d52969e@linaro.org> In-Reply-To: <20240418-b4-qcom-rbx-fixes-v1-0-f5f19d52969e@linaro.org> 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=577; i=caleb.connolly@linaro.org; h=from:subject:message-id; bh=KWVbTvhUmSkAmdAG6mFU79kzv6VdwapreGlEz7VrjFI=; b=kA0DAAgReTBFn7kwMhcByyZiAGYhV76giO3I8/wmzkurrAzAqdzeaBkp9apr/RnZFTiyDE4Id Ih1BAARCAAdFiEEF8imOYKt0z8ot6DQeTBFn7kwMhcFAmYhV74ACgkQeTBFn7kwMhd7JwD8CJac 8lDMUYpvCn3AQt36M+zrvS4CGYJcJLr0HkxEQ3MA/09j/ZQL2P7glTTX6v/S7y7ee1/yAnAfX+d XgADndQSA 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 Use our new ft_board_setup(). Signed-off-by: Caleb Connolly --- configs/qcom_defconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/configs/qcom_defconfig b/configs/qcom_defconfig index 7b589f0bf7a7..209a7ba324d0 100644 --- a/configs/qcom_defconfig +++ b/configs/qcom_defconfig @@ -33,8 +33,9 @@ CONFIG_CMD_USB=y CONFIG_CMD_CAT=y CONFIG_CMD_BMP=y CONFIG_CMD_LOG=y CONFIG_OF_LIVE=y +CONFIG_OF_BOARD_SETUP=y CONFIG_BUTTON_QCOM_PMIC=y CONFIG_CLK=y CONFIG_CLK_QCOM_QCM2290=y CONFIG_CLK_QCOM_QCS404=y From patchwork Thu Apr 18 17:25:51 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Caleb Connolly X-Patchwork-Id: 789803 Delivered-To: patch@linaro.org Received: by 2002:adf:e6ca:0:b0:346:15ad:a2a with SMTP id y10csp684908wrm; Thu, 18 Apr 2024 10:27:43 -0700 (PDT) X-Forwarded-Encrypted: i=2; AJvYcCW3/FHM6aozQomZ3KxBKWDR79VG7dJYri0OHnPLVOKmCYSQy313VxTvY2kUMiHC4oX1Ak5KTE8oepYpyj/7SVl7 X-Google-Smtp-Source: AGHT+IEV9+jnFZhIUOGueVNp/GsfZKdjhUVk+Cl+30Fb36S0eXauIY1BEfAz4wkfi2Y4gcUbNc5/ X-Received: by 2002:a17:906:2794:b0:a52:8da1:aeba with SMTP id j20-20020a170906279400b00a528da1aebamr2262196ejc.9.1713461263001; Thu, 18 Apr 2024 10:27:43 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1713461262; cv=none; d=google.com; s=arc-20160816; b=DZTnRoMi0NBm5CDerT/HABxP4swBmM0FQLgeMU9NhC6u4GZutNIWOUl0DDWq5Tu63y l3zCIzCXfVXZ5hWbtnuAhGxuQ2ysH++RXO58/jg9WqPhvrlyifQmObiz69aVyeM8QJOI AY/CzrHb5CcDW6Al6tN1TO2okj55rqX4ayOtWuZO8ZAi9HWVvrOWF4vl1gKl+RhDZwzq 0+j0vhzTK6Jfi3boZGMQkpJ+hMzNHLDJZMM+G1/EW7OpwJWvmxlzHzudqWzpxe96+Uii IFeOCCSTYc0VduMSKZn5MTrLhq2ZfIVn5tVGxka6tW2Sq1DCcJqsZBGbnrnzk7sCpIPq rixw== 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:in-reply-to:references :message-id:content-transfer-encoding:mime-version:subject:date:from :dkim-signature; bh=Y6a3GLSxUNj02BzbfG0Y6SJymgdyRdvu3NJTVnfUdoU=; fh=rZdz9oRzkvg0Yn7gNeuYIBhs56x4/2kX9IIBCwhx0c8=; b=c2Mfcmsl26YgPRWtqoPhkcTiFrue1STZXO9SC5sSEewpmN6HNzvcHURhGj/PCwJa3N W6qMb8wJqBjPDlZvukRpwjQU34GqmbhQwff3tao5to1NkR5Ba7nILQs1CWNIb00I+156 8/fwAWgQ1kMjm2DnhfWwS4mSnpfzUHbrXjjoc/0FcagLnWgJfddNlEA+gEcic7QTmTZ2 ruYINUWFnoMCtiwPT4rKiO1YIS6fzcDQucA+J2b/01MELFQdQz6yAtQCpnGTzf03jcn8 9/9Vm+zZd8lAiTFflb2BIly8ZxGoFIeDG2l6LVwRohhV2eMJIhj4Y7vBXTgX4yP6NiLN 0FyA==; dara=google.com ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=wZbcJh8O; 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 cd13-20020a170906b34d00b00a52194f72d6si1128175ejb.777.2024.04.18.10.27.42 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 18 Apr 2024 10:27:42 -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=wZbcJh8O; 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 3B34088692; Thu, 18 Apr 2024 19:26:36 +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="wZbcJh8O"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 8014B886AA; Thu, 18 Apr 2024 19:26:34 +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-x333.google.com (mail-wm1-x333.google.com [IPv6:2a00:1450:4864:20::333]) (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 F05A9886B7 for ; Thu, 18 Apr 2024 19:26:31 +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-x333.google.com with SMTP id 5b1f17b1804b1-415515178ceso8874455e9.0 for ; Thu, 18 Apr 2024 10:26:31 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1713461191; x=1714065991; darn=lists.denx.de; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:from:to:cc:subject:date:message-id :reply-to; bh=Y6a3GLSxUNj02BzbfG0Y6SJymgdyRdvu3NJTVnfUdoU=; b=wZbcJh8O3LrGSD7qh9C9GVxph6SORlbb7VpjpSmQ03Ftmzx55pjxRLFuFmTwgFJB8l HYs94QY1Jt9+Rl7Ey2gLva/2iIvsBfU4aHJc8+boYtcpm0AoXysClYv8MPoCRz34GFMl sY6ay0sSEzOVXMstySYCZLkJOYi+rvC5zbyCC2H4Psy5u8wgTh6h0FkBxD2FyaaDKrlN hm9LyPs1iVJ31oC1NxioWWs/o5Y0w1A0KGOSH/KdWz6Lm9UTFhwc3LKJvxGEgjMTanJU SXuDFDaZo307xnQnczjh6cbAysTm3Iu8j371E/CBBQ2aTAhPULPhXLJzBgF2gCY4nJZ4 9JIw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1713461191; x=1714065991; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=Y6a3GLSxUNj02BzbfG0Y6SJymgdyRdvu3NJTVnfUdoU=; b=QHIDwbjK9EQwrNWnE+wAJUlVsZ/yXHwaq3qc5OzUTUIKR7zhJpZk5EV63GX0TYB4Nd JaQPhTHYv0A+aa4vQvDWfs+60idFSqZM1bVYIhJpGRyJCwnZYLozE/+eVl29DGhoemgt lannsu/gsZRZER9I0Sij7pNRFItm3mJI8Vdpo6cxI2H5ZX5Z2zerXyZTYsvbhpWGlkhz nhAJ/A16+01zFUKoHmugMQgdwEyRqG2TwrglP31asU9Qiqi6yGcplMeR4m4s6hEEneZV vogtuRqa86DMtMqAMYospu6i3SbXacSH25mNjLobTytv3vw/qNu1aQY51Lc8ClQJ62aY gvTg== X-Forwarded-Encrypted: i=1; AJvYcCU3T3/eiIul++d64M0ue8uC52uhXcSB2Esbd5OdQn4Y7N+VZ8RnA4YWbzzoPPskZjRatFNrQYHNexBTjJIH+SaB+pkfIQ== X-Gm-Message-State: AOJu0YzPnYtOWsd+BFthB8Qxlp0srRlhwdO73YGEauN8ZACcCueWRWi+ /bFblnzhaopN7Y8aBjKCyYiw7lMU0N2SNWAc4dygJV2aXC60ushnhA4tiAJoFIo= X-Received: by 2002:a05:600c:34d3:b0:418:ea1e:39fe with SMTP id d19-20020a05600c34d300b00418ea1e39femr1437491wmq.11.1713461191534; Thu, 18 Apr 2024 10:26:31 -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.30 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 18 Apr 2024 10:26:31 -0700 (PDT) From: Caleb Connolly Date: Thu, 18 Apr 2024 18:25:51 +0100 Subject: [PATCH 8/9] qcom_defconfig: define safe default SYS_LOAD_ADDR MIME-Version: 1.0 Message-Id: <20240418-b4-qcom-rbx-fixes-v1-8-f5f19d52969e@linaro.org> References: <20240418-b4-qcom-rbx-fixes-v1-0-f5f19d52969e@linaro.org> In-Reply-To: <20240418-b4-qcom-rbx-fixes-v1-0-f5f19d52969e@linaro.org> 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=798; i=caleb.connolly@linaro.org; h=from:subject:message-id; bh=1V1Gh5aVu/+gXh20VBp/jcaLhsPFs2yDJS0tddNqSqA=; b=owGbwMvMwCFYaeA6f6eBkTjjabUkhjTF8H3xzmcrWiR774n8Xlb97+vJoIxL3wwifkSv3HlLx Y4xZYp7RykLgyAHg6yYIov4iWWWTWsv22tsX3ABZg4rE8gQBi5OAZiI/XqG/6kLPlpaRT6adtg2 U1Of+59S9e58Ka4d/vfclvmoBqs2n2D47373/ZSln2cW/JNfWLvG/tsro+MuMk9Sc7jCInQrDm7 UnggA 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 Defining this as 0 results in bootm causing a null pointer exception... Define it at a safe default which is valid RAM on most qcom boards. Signed-off-by: Caleb Connolly --- configs/qcom_defconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/configs/qcom_defconfig b/configs/qcom_defconfig index 209a7ba324d0..41545fd72fcc 100644 --- a/configs/qcom_defconfig +++ b/configs/qcom_defconfig @@ -2,9 +2,9 @@ CONFIG_ARM=y CONFIG_SKIP_LOWLEVEL_INIT=y CONFIG_POSITION_INDEPENDENT=y CONFIG_ARCH_SNAPDRAGON=y CONFIG_DEFAULT_DEVICE_TREE="qcom/sdm845-db845c" -CONFIG_SYS_LOAD_ADDR=0x0 +CONFIG_SYS_LOAD_ADDR=0xA0000000 CONFIG_SYS_INIT_SP_BSS_OFFSET=1572864 CONFIG_BUTTON_CMD=y CONFIG_FIT=y CONFIG_FIT_VERBOSE=y From patchwork Thu Apr 18 17:25:52 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Caleb Connolly X-Patchwork-Id: 789804 Delivered-To: patch@linaro.org Received: by 2002:adf:e6ca:0:b0:346:15ad:a2a with SMTP id y10csp684948wrm; Thu, 18 Apr 2024 10:27:52 -0700 (PDT) X-Forwarded-Encrypted: i=2; AJvYcCXYr+o+7ytcfklfjfxFYTw0qOqpBVTjh0X/FVMKmv3qY85ZI0sRMy6Zn0baFHtuKzTwGdeFC8SxiEhovkzf82iU X-Google-Smtp-Source: AGHT+IEkbmRTKyjIUDfDvzRIF2DZVi39E6uBJJAku5XmDBRSGoN83vZXwh9ezVwRVgw61xjFt2Yh X-Received: by 2002:a50:8a88:0:b0:570:5214:f62 with SMTP id j8-20020a508a88000000b0057052140f62mr2782921edj.0.1713461271968; Thu, 18 Apr 2024 10:27:51 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1713461271; cv=none; d=google.com; s=arc-20160816; b=yBQDpQqBRMV1XU+/cop6TDPLsIIT6ZT1ObPrjH+OezzLJgmFaHekAVYf6c14lDL7nV 9m5O5wj9BTtSaFzTtGb/3UltL5dehSLLMf8J+ffxvZxv//4mtCLgmOaFXX1LJrUqz97w X8xILHElrRlplIw76xUfCbD+YdMA62Ea/f0CzqjWHaM8XVaQbelLQ4/edeY88LAxdKBs XA3hn3Bv8Ja3xEpGaTLLPslj0kqrf3XUdjY4Sxd4/UaSVbA/Q9uaxUAdl1aghZykRYw+ kekV4m/j1Izlq9Lq2KvFBGGQLNLlOTA72lMZYWul4TCEyBWo3mREHWzZqlkgxlud2oUJ ZIxQ== 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:in-reply-to:references :message-id:content-transfer-encoding:mime-version:subject:date:from :dkim-signature; bh=hee65EIpC2V4d77ZgGX2p62UO991ymcdUjAytLH517Q=; fh=arGQRcdIbZ+n602waMBs3J6xsNh3PLyrQhvri3+CMnE=; b=V3uxKju+msvfZtPYg1salHGikL79o5Cy9CyvZjdsDwitCZwV8JvW8DrzD5IoHKeGjN SBZd4SOz6XAm3S6Xf+ebg+Fhnovj0/nclQAncbfmFUXNQu+BDdVgFJuO40YUkHnKbhks yYP9dZn/CNdMFPMmmAF4MAcb53irPApVaOnccZjfZKQMOR19S7AFoDdGWdGHNpkYBVBQ brcIIyl/Hn5hjoHIn826CRFrw2uvBvJ1zRqSHu0VqQ090dG65a3AzHTBeZtnCDJNgmad SlfKocPGLVsEul/hZom3KhGvDqX0PcjaqR+Y/928FE0wZTVSV5/stYOmsG8AF655+6Fg 7dNA==; dara=google.com ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=vyHqI+oq; 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 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 w5-20020aa7d285000000b005705fb03f7fsi1047893edq.334.2024.04.18.10.27.51 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 18 Apr 2024 10:27:51 -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=vyHqI+oq; 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 Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 928AE886B9; Thu, 18 Apr 2024 19:26:36 +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="vyHqI+oq"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id D9B2D886AF; Thu, 18 Apr 2024 19:26:34 +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-wr1-x433.google.com (mail-wr1-x433.google.com [IPv6:2a00:1450:4864:20::433]) (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 D35228869D for ; Thu, 18 Apr 2024 19:26:32 +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-wr1-x433.google.com with SMTP id ffacd0b85a97d-3454fbdd88aso817027f8f.3 for ; Thu, 18 Apr 2024 10:26:32 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1713461192; x=1714065992; darn=lists.denx.de; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:from:to:cc:subject:date:message-id :reply-to; bh=hee65EIpC2V4d77ZgGX2p62UO991ymcdUjAytLH517Q=; b=vyHqI+oqfhHFwkG30uo+BCg4hJpHMWDutHwBo8UwYmK+HbivGGhn9BFG/8GFuZ22GH ZR8I3aScNI8NTjs4I9sN1dKA4DGJMaqS2khRBNHcyE7MpvpomLApMR22LBElXkMHj4Zp JXT++1bfVyrHm/2PGnGuw3pK/2koovFs/6vqUe1KDdE7BtKCiuKVxbdwtnESKEolyjg3 3UBFr8IpsiXpxKlKdxLV6nlCmpZH0pfbuqsm5+BOsMO8bMU0ImOK2n+J8wcjVYZ1yMmf YFb12XvD8juEhwM/XvpNZ3kqs7GYBoQtARdpSkKhr5HwDHzGfUzaakLgd1btFzUfDrGH ao2g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1713461192; x=1714065992; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=hee65EIpC2V4d77ZgGX2p62UO991ymcdUjAytLH517Q=; b=kwvse07WfyOujS3y093psGb1AtgSjBbA5PRCvKh+bTloi7dPm8Z9dNBGd5alGm0qAB ENBitsoYfHrkuSa13ycB3K+5ekn0bJIg0Vwm5mz4OCWatJouM6RrQKMjV4239R30qz+E SbAwxYNJDZ3JSG6wzxcd/o8yYkpp/EXkHNHAqbTFyVNrb8m2Wr8epfSYouXSIo4ckPlB n11KxssV8UPcIhPjyFTOK/HuffAQCeLdbx7iGCv5XDZVILg0qnj8HhzmfCDB5XeBuk4d b9mbpL2GgncU8xlx93F5y783kSDrnGkOZrBwIpwr8JrUn3MojvMQoiUnB7oJl08NqNhG eafg== X-Forwarded-Encrypted: i=1; AJvYcCUiCwkxwUJr+LSMoidsIrEaqPdH7C6ebKzI0pc1kcv6vznw48dIEStFZlS91XrqFjj7zeXC2C0bE73IvJ566ZPtpfPciA== X-Gm-Message-State: AOJu0YwGkNH0whQU0QYMwRJIWGKUkLout70S0BlDJprHYiBYIy1zkTWT 8WLwEhYsbemNvp2kjF+aQQFSSXKz9CTlHf508ONkOsUDuo7qqmqWPdolg4rL93o= X-Received: by 2002:a5d:69c5:0:b0:343:e02f:1a46 with SMTP id s5-20020a5d69c5000000b00343e02f1a46mr2412643wrw.2.1713461192425; Thu, 18 Apr 2024 10:26:32 -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.31 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 18 Apr 2024 10:26:31 -0700 (PDT) From: Caleb Connolly Date: Thu, 18 Apr 2024 18:25:52 +0100 Subject: [PATCH 9/9] qcom_defconfig: generate SMBIOS tables MIME-Version: 1.0 Message-Id: <20240418-b4-qcom-rbx-fixes-v1-9-f5f19d52969e@linaro.org> References: <20240418-b4-qcom-rbx-fixes-v1-0-f5f19d52969e@linaro.org> In-Reply-To: <20240418-b4-qcom-rbx-fixes-v1-0-f5f19d52969e@linaro.org> 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=756; i=caleb.connolly@linaro.org; h=from:subject:message-id; bh=04rYvVgrujXen6xBauiwx/qT8sudWdK57JfzlMz1wW8=; b=owGbwMvMwCFYaeA6f6eBkTjjabUkhjTF8P3l2v513EfYLT/1Z1w/tL8w2uZaNWca34ekslzOm R1CT9Q7SlkYBDkYZMUUWcRPLLNsWnvZXmP7ggswc1iZQIYwcHEKwE0WY2RoODFn0VyTP9kqS1+b XbkruuMff8aMDZ/XtlziUdGwf868mOF/RslPZnGnkp3Mi+XuvV78XeD4yZNxXLn+oed5ttjyXJ+ 5EQA= 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 EFI initialisation fails without this, and with proper SMBIOS v3 support in (and automatic generation of useful tables) there's no reason for us not to do this on qcom platforms. Signed-off-by: Caleb Connolly --- configs/qcom_defconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/configs/qcom_defconfig b/configs/qcom_defconfig index 41545fd72fcc..7919aeb9755d 100644 --- a/configs/qcom_defconfig +++ b/configs/qcom_defconfig @@ -104,6 +104,6 @@ CONFIG_VIDEO_FONT_16X32=y CONFIG_SYS_WHITE_ON_BLACK=y CONFIG_NO_FB_CLEAR=y CONFIG_VIDEO_SIMPLE=y CONFIG_HEXDUMP=y -# CONFIG_GENERATE_SMBIOS_TABLE is not set +CONFIG_GENERATE_SMBIOS_TABLE=y CONFIG_LMB_MAX_REGIONS=64