From patchwork Sun Sep 3 20:57:01 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Dario Binacchi X-Patchwork-Id: 2979 Return-Path: X-Original-To: linux-amarula@patchwork.amarulasolutions.com Delivered-To: linux-amarula@patchwork.amarulasolutions.com Received: from mail-lf1-f72.google.com (mail-lf1-f72.google.com [209.85.167.72]) by ganimede.amarulasolutions.com (Postfix) with ESMTPS id 35233414AC for ; Sun, 3 Sep 2023 22:57:12 +0200 (CEST) Received: by mail-lf1-f72.google.com with SMTP id 2adb3069b0e04-500ac71f353sf781176e87.2 for ; Sun, 03 Sep 2023 13:57:12 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1693774631; cv=pass; d=google.com; s=arc-20160816; b=k99YztEpiZkpQGGvkziSYEolED7gvaJB7j8vDVcb3d5kYUkK++pEmbH8BS5TsUU5tN kSLJIiDNXQmDkd+vEghPLxal3kqMf8Ydv7HxHs/E2z/2qMMOzVAmqCBWTFX8oJYERyqH OkxR7FQtwfVznkZMxfPlzAcawnozQvwVu1TNNZqwcw2SGiWxC+ItSDwV0UU6bnQMB1Kp 2x/tVbY8laO7cH0AmUcMvUqWHaZpQgXvHE91SgL9XfHR0ahgQfudDhHaWnpbif8bhoKs +CuXyquapsNKTsT5y4UxD3aQz+9w5KHWH3pt68Q8pTACWjIw4aNwd8gyopEPp4zwdsUO L45Q== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-unsubscribe:list-archive:list-help:list-post:list-id :mailing-list:precedence:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:dkim-signature; bh=dxssa4MQ9Z093XCMLKiWr6cdmcCWQlWQ7a1E15pkm40=; fh=G1L7/xxzt+w38Iw9zi+0vBZwn8EvOdRlLFVpqkUuFRY=; b=YbpO+FZJsCyhg2Vxk5UUHf2VQ/QZhPOxqplrv7Ec1eVcvdqC7rdrfD0PkXoB8U6gjM KTtyQuDlt+k7zQlBDK5E5JKX4z0i8xEeg6UONOHgh3U7wY6//duEj+4pRGjwQ0WmCO3H sNWLeVqM+GtIJCnEnTTiMlPmpTH2S7P0u8GtfR/rNNVC9ZkYWwbhkpoOySEf8VNCsVTt N2JgBdfh345inU6y9zOaW+xlXcmg7FB16EQ9dN35TSlCqEgJ9J9FyNginZZMn28Ii/VV Ox2fmDYBsxCKLcmw70YXuQvumaGPnLTa3h4+C1n26ftLLpJGKmUAX3OXuLDJCpv/9K3l w1tw== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=Ecu16wh2; spf=pass (google.com: domain of dario.binacchi@amarulasolutions.com designates 209.85.220.41 as permitted sender) smtp.mailfrom=dario.binacchi@amarulasolutions.com; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=amarulasolutions.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amarulasolutions.com; s=google; t=1693774631; x=1694379431; darn=patchwork.amarulasolutions.com; h=list-unsubscribe:list-archive:list-help:list-post:list-id :mailing-list:precedence:x-original-authentication-results :x-original-sender:mime-version:references:in-reply-to:message-id :date:subject:cc:to:from:from:to:cc:subject:date:message-id:reply-to; bh=dxssa4MQ9Z093XCMLKiWr6cdmcCWQlWQ7a1E15pkm40=; b=LFE5kBGLIsp7rg6f1AAMKhFKZ2iY/mU8/1xTH571wPrLgHtWXZkSldHhnPA2P8DOtQ S2LPgy1ahIYrvNWU7QM1KPtQCCm/JfXFLGrehySR6qy22wuQsqukhTUqs+hKjjM2Pb47 dI1r7YEQrOKsJK12LhuN2zGnfk7LKdqHayEgg= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1693774631; x=1694379431; h=list-unsubscribe:list-archive:list-help:list-post :x-spam-checked-in-group:list-id:mailing-list:precedence :x-original-authentication-results:x-original-sender:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :x-beenthere:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=dxssa4MQ9Z093XCMLKiWr6cdmcCWQlWQ7a1E15pkm40=; b=LzvY2XvGIcQDUGKVemNEyI/WSLCUsI8udhERp9+BICfzItsh8k4inFnJLnVvfpAndo rDHfuTLW0TdAv7id5M8VL+BIHklmA4dI5tuVpzlLofi730QgeZj77co08jBdE3CLNyIN jQ4Zjm93gqLbkiyvevAlytHLSo/zp4IZlSO39+qu+TD6WGGdEZXcizH8/WUuHCVFj2Ha gSaA/xaghqGIfkFK0BWwXYca2rKYJtG9OdjODRuAKWSX7pZQyuqoQbQzcIS+DfxECNpb UtpGReA5bM9wmNJPzEYCWwikHEMkMRKXY/WcgTVeHQ+8haCkmiiXZoKZQGkasJ/dd7tI ag5w== X-Gm-Message-State: AOJu0YxBgu8ZPjqZOlo4IMTLL36PharQd+0kt1GgpY3IqiX0sasAxkd/ Iu8JoDGWz/OcpLwPy6RMpmQsoCBt X-Google-Smtp-Source: AGHT+IGtPdr1GiUq2jy4STUXN6dzGaaR0yrJBL+CJHsT3YIQrQwhA8ZM8fr5QhSsbV4AV25ZM95RJQ== X-Received: by 2002:a05:6512:3446:b0:500:12c6:c91b with SMTP id j6-20020a056512344600b0050012c6c91bmr4920401lfr.40.1693774631510; Sun, 03 Sep 2023 13:57:11 -0700 (PDT) X-BeenThere: linux-amarula@amarulasolutions.com Received: by 2002:ac2:5059:0:b0:500:7f17:b77d with SMTP id a25-20020ac25059000000b005007f17b77dls219287lfm.2.-pod-prod-01-eu; Sun, 03 Sep 2023 13:57:10 -0700 (PDT) X-Received: by 2002:a05:6512:3c98:b0:4fd:f7a8:a9f3 with SMTP id h24-20020a0565123c9800b004fdf7a8a9f3mr6530607lfv.38.1693774629794; Sun, 03 Sep 2023 13:57:09 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1693774629; cv=none; d=google.com; s=arc-20160816; b=KokLyWQ+PnjjONxmZinKZfOHk8+rYGXp/+sxGu8c8wA5/hVGqqbacLtSAB3eMVmEcN 7riI+0qhGzpU1HhCELfwxXg6fHqamE3/SJ5rXAf59NeUxlhkhZkEPO44VIXoxyTTn4wn nOaWVeUeYCe3z3lX7xBCvVZD2bjio3JsFfhX9Wk20VzkpiKvWz3X2h0xKwSeSzQ7PrX/ MM6PHcSFLzijctCFclqI/o6/78spp/70J/dP6gffC683oVuZ+285xwDW1w2AMknJ9g3l +OAC2+fAGrb742mCCpsMXGUJZVAee68+OvBhuNoorFMJyXWWJT3YkcyVAMmLkYy8Qn1A 4KKg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:dkim-signature; bh=MbSzTvc7TKxmIY7ZC52gEHS3qqkfD7Pv8oCtaBas99Y=; fh=G1L7/xxzt+w38Iw9zi+0vBZwn8EvOdRlLFVpqkUuFRY=; b=DHp5HjkB5KXfyxmZQa9+ReBAB9HthLb/NRYssE+Q4S8jCGWQIe6/v3Rq5Uo57TAdng RmsBVIHQPdMP94HqFlK4cDx4ZNEXwf9QbgW0ZDqFOFcehbkqrfHgaggU3T6VXCekpYKe VTWit/q3NWQd4Xaix73+Se3DEojbpWrq9BtcNtwFIe9Ll71oqj66cvnaDcqncrKWhEHf cHhA7LUKioGdcT5LLqUOE+AjTL+BmTcacn8929Z21THvMLYrAw0st6IMrtLT9WPO5DtS L1kZ3rGIPR9gHs390mCdhIBCM1BA6Cujg3EgsrqvoUDY1fcDk6xiF00nUveuKhmIo13Y sTIQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=Ecu16wh2; spf=pass (google.com: domain of dario.binacchi@amarulasolutions.com designates 209.85.220.41 as permitted sender) smtp.mailfrom=dario.binacchi@amarulasolutions.com; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=amarulasolutions.com Received: from mail-sor-f41.google.com (mail-sor-f41.google.com. [209.85.220.41]) by mx.google.com with SMTPS id z21-20020a195e55000000b004f5bc12c27esor3242868lfi.3.2023.09.03.13.57.09 for (Google Transport Security); Sun, 03 Sep 2023 13:57:09 -0700 (PDT) Received-SPF: pass (google.com: domain of dario.binacchi@amarulasolutions.com designates 209.85.220.41 as permitted sender) client-ip=209.85.220.41; X-Received: by 2002:a05:6512:1054:b0:500:c709:5845 with SMTP id c20-20020a056512105400b00500c7095845mr6421859lfb.4.1693774629463; Sun, 03 Sep 2023 13:57:09 -0700 (PDT) Received: from dario-ThinkPad-T14s-Gen-2i.homenet.telecomitalia.it (host-79-54-71-141.retail.telecomitalia.it. [79.54.71.141]) by smtp.gmail.com with ESMTPSA id v22-20020aa7d9d6000000b0052568bf9411sm4850232eds.68.2023.09.03.13.57.08 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 03 Sep 2023 13:57:09 -0700 (PDT) From: Dario Binacchi To: u-boot@lists.denx.de Cc: linux-amarula@amarulasolutions.com, Dario Binacchi , Patrice Chotard , Patrick Delaunay , Simon Glass , Tom Rini , uboot-stm32@st-md-mailman.stormreply.com Subject: [RFC PATCH 3/5] ARM: dts: stm32: make the DSI clock usable by the clock driver Date: Sun, 3 Sep 2023 22:57:01 +0200 Message-Id: <20230903205703.662080-4-dario.binacchi@amarulasolutions.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20230903205703.662080-1-dario.binacchi@amarulasolutions.com> References: <20230903205703.662080-1-dario.binacchi@amarulasolutions.com> MIME-Version: 1.0 X-Original-Sender: dario.binacchi@amarulasolutions.com X-Original-Authentication-Results: mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=Ecu16wh2; spf=pass (google.com: domain of dario.binacchi@amarulasolutions.com designates 209.85.220.41 as permitted sender) smtp.mailfrom=dario.binacchi@amarulasolutions.com; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=amarulasolutions.com Content-Type: text/plain; charset="UTF-8" Precedence: list Mailing-list: list linux-amarula@amarulasolutions.com; contact linux-amarula+owners@amarulasolutions.com List-ID: X-Spam-Checked-In-Group: linux-amarula@amarulasolutions.com X-Google-Group-Id: 476853432473 List-Post: , List-Help: , List-Archive: List-Unsubscribe: , As described in [1], the "clocks" property contains "a phandle to the clock device node, an index selecting between gated clocks (0) and other clocks (1), and an index specifying the clock to use." The current version of the clock driver, unlike the kernel, is currently able to properly handle nodes with "clocks" properties with an index set to 0. This patch is preparatory for future developments that require the use of the DSI clock. [1] Documentation/devicetree/bindings/clock/st,stm32-rcc.txt Signed-off-by: Dario Binacchi Reviewed-by: Patrice Chotard --- arch/arm/dts/stm32f469-disco-u-boot.dtsi | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/arch/arm/dts/stm32f469-disco-u-boot.dtsi b/arch/arm/dts/stm32f469-disco-u-boot.dtsi index dcc70369cd0d..8e781c5a7b23 100644 --- a/arch/arm/dts/stm32f469-disco-u-boot.dtsi +++ b/arch/arm/dts/stm32f469-disco-u-boot.dtsi @@ -90,6 +90,11 @@ bootph-all; }; +&dsi { + clocks = <&rcc 0 STM32F4_APB2_CLOCK(DSI)>, + <&clk_hse>; +}; + &gpioa { bootph-all; };