From patchwork Tue Aug 13 09:48:56 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Rasmus Villemoes X-Patchwork-Id: 13761676 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id AB7E8C52D7C for ; Tue, 13 Aug 2024 09:50:02 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:List-Subscribe:List-Help :List-Post:List-Archive:List-Unsubscribe:List-Id:Content-Transfer-Encoding: MIME-Version:Message-ID:Date:Subject:Cc:To:From:Reply-To:Content-Type: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References:List-Owner; bh=h878N1ltMbwyps1BBLvUzwBZh69S/6revIrfQoK+5EQ=; b=YA+6ML5R4epQAX+/R7ePqVaIiW MxW20sWrbqagfk40tyJBw6iuOjTDCwh9R/8mkjl6OtoEVWBWVkWYD4Y/bXgFrG6wnQ0bTQrlWyRHe gmGf8QlSbQ7qATD2nEljXC7w2shYtpi3zE8QJeps2ArRWxdukghPc+5EQgUqIm9vPe6JVIlrZDiFF w/505i+TUNel/scje8bU9v3/G+XZZtmOwoBKvjyTkPgh5sd0Olzm2hmjOpHJoaXVhF0QVEuFXwU+m PoOODO6kmtCcjsV9u7DCFR+v19daq+aB7afD69+DQW7XXvX4ODHu4Vz3yqQM2wuNGaX/+AaVQM8G+ wJwd42Dw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1sdoA3-00000003CGj-3KFt; Tue, 13 Aug 2024 09:49:51 +0000 Received: from mail-lj1-x230.google.com ([2a00:1450:4864:20::230]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1sdo9E-00000003C1z-0Ql8 for linux-arm-kernel@lists.infradead.org; Tue, 13 Aug 2024 09:49:01 +0000 Received: by mail-lj1-x230.google.com with SMTP id 38308e7fff4ca-2f16d2f2b68so73717561fa.3 for ; Tue, 13 Aug 2024 02:48:59 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=rasmusvillemoes.dk; s=google; t=1723542537; x=1724147337; darn=lists.infradead.org; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=h878N1ltMbwyps1BBLvUzwBZh69S/6revIrfQoK+5EQ=; b=TPAKWW7u/iT7McXU8Rc0UEtqhv0RGsr53ZpfAZIbyziL0EK1Y2maQAvIjTb8Hc34Gm jvACQvc7mov+AIlsApXOKpjUFtqwYC4rzoJ//mPR75HWysW/j5gGn0lkG81QvRzDpwB+ yUHBNEegEG7pxAJ/6ORQmJM2ZV4sHQrYFNbgc= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1723542537; x=1724147337; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=h878N1ltMbwyps1BBLvUzwBZh69S/6revIrfQoK+5EQ=; b=Khgz3+XAHJCYz3suKVs6xzU03+MKzKuOyZxCqzqd9xMN5kLntOb2sACvDwFboF1D6y KFjSSo+N+44AnNe2QHI6GMNUbtu274Ft8BV30SEFVYTUbtnZ2vw5N0+ftoGNP8tJcdok F+7eeXsKK01XiWbyObPHRr/9VSQNhPQEfnCB3tIBv6f1zBK9V6V8zyeSMjonpcaTxhCu QTt/XpwVq+7r8ssOWDFABNWWA8EKmupHQ/ocVmWOk8m2329oxlOad671Rzvw7ztCn1/L MoBMKEJ8dyzKwhZiaeJacpeJs5LZ9jX9XKosSYETnQw/4M0HtKmrkK2dPTpw3hPzS0pT DpIg== X-Forwarded-Encrypted: i=1; AJvYcCU9fopIe3AXaEKKKP4cX2N8xE1HVSFFCTbzl1eEijFjxqOmWzR0R5QFPVTu5A6yuUXkp6fZjE/CsCGvnIQXsIbS9POif7eyi1VTSXAqnUEQU0cDiJ0= X-Gm-Message-State: AOJu0YxBwk4cANMj5laNcaE2etQrrDtof4C3vV82pimPXkFx1X0i0aGD 5hqvuS5BZiJtNZewHi+lpItvu3VzYDCRoYfJ3wA2T9YKIO63GU+i8ahXHuFNDklqzZGqgnR2who 1EE8= X-Google-Smtp-Source: AGHT+IFyaivarUL51wlthGyrH39YfO53KObdJGwmf6kji3tTiJEkFRg2CDGM0zOg8uYNy2SdNWXqww== X-Received: by 2002:a2e:9591:0:b0:2ef:2dfd:15db with SMTP id 38308e7fff4ca-2f2b715542amr25402491fa.19.1723542537241; Tue, 13 Aug 2024 02:48:57 -0700 (PDT) Received: from localhost ([81.216.59.226]) by smtp.gmail.com with ESMTPSA id 38308e7fff4ca-2f29af3abe3sm8919721fa.58.2024.08.13.02.48.56 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 13 Aug 2024 02:48:56 -0700 (PDT) From: Rasmus Villemoes To: Marek Vasut , Alexandre Torgue , Maxime Coquelin Cc: linux-stm32@st-md-mailman.stormreply.com, linux-arm-kernel@lists.infradead.org, Etienne Carriere , Rasmus Villemoes Subject: [PATCH] ARM: dts: stm32: include st,stm32mp13-regulator.h in stm32mp131.dtsi Date: Tue, 13 Aug 2024 11:48:56 +0200 Message-ID: <20240813094856.2002113-1-linux@rasmusvillemoes.dk> X-Mailer: git-send-email 2.46.0 MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240813_024900_216064_113E5FB9 X-CRM114-Status: GOOD ( 12.18 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org From: Rasmus Villemoes The file stm32mp131.dtsi uses symbolic constants such as VOLTD_SCMI_REG11, VOLTD_SCMI_REG18 etc., but does not include the header where they are defined. So when adding a new .dts file that includes stm32mp131.dtsi, the build breaks unless the .dts itself includes st,stm32mp13-regulator.h. Signed-off-by: Rasmus Villemoes --- OTOH, it seems that (if this is applied) stm32mp135f-dhcor-dhsbc.dts and stm32mp13xx-dhcor-som.dtsi could drop their #includes as they do not use any of the VOLTD_SCMI_* constants except through stm32mp131.dtsi. arch/arm/boot/dts/st/stm32mp131.dtsi | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm/boot/dts/st/stm32mp131.dtsi b/arch/arm/boot/dts/st/stm32mp131.dtsi index e1a764d269d2..490d38dc8d54 100644 --- a/arch/arm/boot/dts/st/stm32mp131.dtsi +++ b/arch/arm/boot/dts/st/stm32mp131.dtsi @@ -5,6 +5,7 @@ */ #include #include +#include #include / {