From patchwork Thu Mar 28 17:59:20 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Caleb Connolly X-Patchwork-Id: 783632 Delivered-To: patch@linaro.org Received: by 2002:a5d:4e01:0:b0:33e:7753:30bd with SMTP id p1csp2861240wrt; Thu, 28 Mar 2024 11:02:33 -0700 (PDT) X-Forwarded-Encrypted: i=2; AJvYcCUyek8TGIm4oNdqf+FUPT+6Jrn+ecd+ib0h8bsCr57/Wp5VWDi6tu77BMT5soQdPE1XVn71NhglGcKfP2Qzdu1O X-Google-Smtp-Source: AGHT+IF27utVdq2RmwG/KNLQ+N3lpFApKp4WK9eR0J932YTmsVibtOji6mjBAB2Dn2Zds7m2xBhi X-Received: by 2002:a5d:5343:0:b0:343:3034:7450 with SMTP id t3-20020a5d5343000000b0034330347450mr1895130wrv.69.1711648952985; Thu, 28 Mar 2024 11:02:32 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1711648952; cv=none; d=google.com; s=arc-20160816; b=d1sMkg3H33+7EsnkaAewn/47jSalInk+MEo54cJPiOGQxscd2z2VcdPDBA9OYesaxF Kk8v+bUEB79y+TaEGIAYKDtj1TGgBH5h4sa4YZ1scO2S6VbCLDLDUGBXpGfwW9Ed74G6 zXM/2EDNbATpVPF7ycZoJ1CTIbI9XHyelY/IHa3kuCocyc6kgQho8+jBGN79pNQoUYs0 LFNpP5T8f2gCyIW3DE4UAbpi8l34/PfD1lps9vtGb17A2283vqgMsqi9HCDZgzYZbMY0 lXOPFLIcz6fdLkAm7zxepTx1sq+whOUJMSWI6tmTzXP760+Mfr7wiMln8WmI8U73A4ny ZnLg== 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=P6XcPr9pfYOEmSnzHa2qooJBhM9QEIsjkS+to/+R8LA=; fh=gSVpyLKtvZ+QePPYgVwr0OwBuSQ/slJGUurC/y9msiw=; b=Uja+o9CGF3szKK9ur6xiGIttjdxn6YhmUYKTX0RMxkxX0Fx10MffabX7wKhOwbqiJW kHTc7cIc2w6xGxB5Rg2o8A2RtCOdR+upEY82plL4n2/8dlzT/cDUG9Xk/MmtCfryDrv8 A/iOYWMOv/7w8dUEPKrNkqwA2NBpaRg2uGi/DNoc3vTXkCxQlonzjX4gp61ezY5lKYGm IUw63tHz/aO+nUQuJhLRYUg/pEnG4/OOUglqjkyjGOD/XSYQ/bTSUoEVX6vRedQYTHs5 T4If7tmmHiztiVAnFjuVn19dEkm0uezyE0t30/9oiFL1jJCSEJAIn4bC4MBxr2C5nR8U 0T6Q==; dara=google.com ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=PYyDMVWE; 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 s1-20020adfecc1000000b00341cf964952si1073841wro.768.2024.03.28.11.02.32 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 28 Mar 2024 11:02:32 -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=PYyDMVWE; 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 D34AD88158; Thu, 28 Mar 2024 19:00:03 +0100 (CET) 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="PYyDMVWE"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 4059887A0E; Thu, 28 Mar 2024 19:00:00 +0100 (CET) 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=unavailable autolearn_force=no version=3.4.2 Received: from mail-wr1-x42d.google.com (mail-wr1-x42d.google.com [IPv6:2a00:1450:4864:20::42d]) (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 3C295881B5 for ; Thu, 28 Mar 2024 18:59:56 +0100 (CET) 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-x42d.google.com with SMTP id ffacd0b85a97d-341808b6217so756271f8f.3 for ; Thu, 28 Mar 2024 10:59:56 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1711648796; x=1712253596; 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=P6XcPr9pfYOEmSnzHa2qooJBhM9QEIsjkS+to/+R8LA=; b=PYyDMVWEkqfbt4GupZqzxrx1h+QyB3CO6gP2nD9semrI5XTQLuFRN3RswXvhLcFsJA h1pOn7aaxes85ypBg18pBu8We+VXpYtFOvwRDXZ/LsOmGxNcOB0k7nEZPVRM5IXPglwC uaN42Gu6ddSPsC/k7l8KAIWfFXIRlWGHYx+yVlvqedSXW8HNpwBJgZ1Mla6PKDgk6W/C 41sEiYFAMoqpPQ+AyDgowriCHy49A6Va0jY3tKnIf1CkzZdaVS2+U9+XorGTaWTXfJnY XsgBspSAZYO9sHCRDowpA7TpoSIxpP1ktZ8nPqLcJaQvLyOl8xnMbPQswk9mumnmFGeJ mLTA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1711648796; x=1712253596; 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=P6XcPr9pfYOEmSnzHa2qooJBhM9QEIsjkS+to/+R8LA=; b=iqU+rMFSOXpdTyzsrDUipbUJBE0hrcA096voKCYM7zIeIZ7KppaEeqizmmL+AD/OW8 GLiPZERcLc/6qlAnGlgw7R1VHzCvXsMjnQLmM1BsA+Ir0O25/A0fXwJ/3M651sIBi+P5 CXLbGlQOHjd2RDeH2vw90qrc9Rv2wdK2hwUJHvYFM5P2aDnXyse1ewONcue7SoYd/vvp 5TO2QRImCIVYmqHxMknF1PpONB3K7+p87qAr7bBgdnyeUoHMtQjTgHZ2bLaPk03qGYD+ bcAGwGP54bMfviMQEXJJcZxhekZbG3xatDPs2UH+CZ8mpOpey2gGjtCXeC97ejED8HAA kjjA== X-Gm-Message-State: AOJu0YyXOCql0T1iAn5xOpuBKcHJ2wFnOZZsT+tQ7nYfKT2HMAIJb9k6 cq1wETcSrjNeNdljhR+8sjzdn9XhIw9YfvYt6rPHoYhkXaTZo0kovYx9k5nXsPg= X-Received: by 2002:a05:6000:18cf:b0:341:7269:e4d0 with SMTP id w15-20020a05600018cf00b003417269e4d0mr2584939wrq.54.1711648795760; Thu, 28 Mar 2024 10:59:55 -0700 (PDT) Received: from lion.localdomain (host-92-17-96-232.as13285.net. [92.17.96.232]) by smtp.gmail.com with ESMTPSA id y13-20020a5d4acd000000b00341e5f487casm2292237wrs.46.2024.03.28.10.59.54 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 28 Mar 2024 10:59:54 -0700 (PDT) From: Caleb Connolly Date: Thu, 28 Mar 2024 17:59:20 +0000 Subject: [PATCH v5 14/16] qcom_defconfig: enable livetree MIME-Version: 1.0 Message-Id: <20240328-b4-qcom-livetree-v5-14-4e98228b3d03@linaro.org> References: <20240328-b4-qcom-livetree-v5-0-4e98228b3d03@linaro.org> In-Reply-To: <20240328-b4-qcom-livetree-v5-0-4e98228b3d03@linaro.org> To: Tom Rini , Caleb Connolly , Neil Armstrong , Sumit Garg , Lukasz Majewski , Sean Anderson Cc: u-boot@lists.denx.de X-Mailer: b4 0.14-dev X-Developer-Signature: v=1; a=openpgp-sha256; l=1104; i=caleb.connolly@linaro.org; h=from:subject:message-id; bh=nJRZofJGcS/sPbnQvIzqGqi1p7++HEANmQebMMxA9oM=; b=owGbwMvMwCFYaeA6f6eBkTjjabUkhjTWDVzTLTIydadF8F1TNogwO+B97qrlhu2da42K7HaJH JPu3SbRUcrCIMjBICumyCJ+Ypll09rL9hrbF1yAmcPKBDKEgYtTACay24ORYf2GO6rn5qqcmSpR 9qGERUZWZ98iHYlj69g6TUMrBZbOf8jwzyS0qG+mzuFQt7tsIWbPtQQXzPrIflErXC/ktmSccMz vEAA= 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 Qualcomm FDTs are on the larger size, and with the addition of DT modifications during board_init() it makes sense to enable OF_LIVE globally. The cost of building the tree should be offset by the increased efficiency at which we can walk it. Some rough measurements with CONFIG_BOOTSTAGE suggests that this might add 0.1-0.2ms to the boot-to-console time. However the reset-to-reset timer difference is in the range of 0.5ms so this could just be noise. Suffice to say, no significant slow down. Reviewed-by: Neil Armstrong Signed-off-by: Caleb Connolly Acked-by: Sumit Garg --- configs/qcom_defconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/configs/qcom_defconfig b/configs/qcom_defconfig index cbc612b44bd9..8c4402e8f780 100644 --- a/configs/qcom_defconfig +++ b/configs/qcom_defconfig @@ -25,8 +25,9 @@ CONFIG_CMD_UFS=y CONFIG_CMD_USB=y CONFIG_CMD_CAT=y CONFIG_CMD_BMP=y CONFIG_CMD_LOG=y +CONFIG_OF_LIVE=y CONFIG_BUTTON_QCOM_PMIC=y CONFIG_CLK=y CONFIG_CLK_QCOM_QCS404=y CONFIG_CLK_QCOM_SDM845=y