From patchwork Sun Oct 8 15:44:55 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Dario Binacchi X-Patchwork-Id: 2991 Return-Path: X-Original-To: linux-amarula@patchwork.amarulasolutions.com Delivered-To: linux-amarula@patchwork.amarulasolutions.com Received: from mail-ej1-f69.google.com (mail-ej1-f69.google.com [209.85.218.69]) by ganimede.amarulasolutions.com (Postfix) with ESMTPS id DA51A3FA20 for ; Sun, 8 Oct 2023 17:46:02 +0200 (CEST) Received: by mail-ej1-f69.google.com with SMTP id a640c23a62f3a-9ae686dafedsf319006866b.3 for ; Sun, 08 Oct 2023 08:46:02 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1696779962; cv=pass; d=google.com; s=arc-20160816; b=rAtNNuoplg74/5Joo3pX2TyRfuEOgVOQoH5Jj4ag/3KuLgIAAl+XDgfr2b5xNTkXh8 gBQuJV4rpUzX5D/mIfdLoemwqIAuMkF0p8cEv2EeHAjtlu/cNvZrWb96R/gEwbs8Fk/8 ELVOmpzJlfSqDf0dMfEwUChcsGZduE4fr/RzfOCjrzB/JHewaMBPEpwlInnDOi3nBgGB aJqz0Yl3USHwthEw0H21UcfKxaMuz4F2QGknnhTlEdcVbr+vmuEUqy3IC6agL5ySqUEK Dd5O+h66HbMRIFUE4yA23JcJ73hyui6NXhnz3HY/tJRkObQuhVpnzfZEPOfd2GzYdWdv LAwQ== 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=+3h7d4s27V9kPEWOyIk0PifDBBITAvOu08vSlNv5Lns=; fh=G1L7/xxzt+w38Iw9zi+0vBZwn8EvOdRlLFVpqkUuFRY=; b=wWomoqztaRMlY1Wa5Qt7kGkMJ99LdopBqCoBsoXusBctCsELCSWqGBOMbwVdADzAj3 T+YGUWGXr9CEIFuPqp1r5/JtTY6dkc99LziP/3lo0LK4MEDkVGaoydILlStZ6x+K0msC Gl4xfAboXUQxbmFYpRCxFvvrRXzho35bazRNdS5oLywEbX0XQRr9kZoVi3NPY1mMxzmG YcjluIK2zTI7ybwuWdlQX89pEa1lHRxcUadMEn/VUKfmtlWlxmseb4jGlbuLcsREjJPL dpdUbXj/OJ5lh0tcz972nudVcO5vDeM+1ctrZ8ibTDG7p+6Ifi9ndY1UMJsLQHq3+rH5 48aw== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=HEY6Q8tJ; 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=1696779962; x=1697384762; 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=+3h7d4s27V9kPEWOyIk0PifDBBITAvOu08vSlNv5Lns=; b=Fdz945JR1jSXdREtVcAIN/NyYiKlwgJQfTLZleUiQISBre5n1hQEHXnxcD7JHCuGmY N34b2r50jyQYdWOi7iYBNn623dMpHC5i1Ol5oAHP6KGayUr9zOBZNH+gYOp7ifvUrqpG y2BWcG+8y8NKnWYIWNAO3lYUUWctI+Lnyno3s= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1696779962; x=1697384762; 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=+3h7d4s27V9kPEWOyIk0PifDBBITAvOu08vSlNv5Lns=; b=WLSM1Jy3BI1ut/i/iaQwyfkTwqjOU/4/N+e0RDnL3569AixlGF1V0nmE9d2VlYpfE4 rLVzYj/Qf0cMDLhy1RXWkVFEfyRwRhzixa8p8V7pXp6GUISSVwaAfnPWVgtTwiLlQHwH es24w/qk7zStrVHPBavZ0iZEBDeq6wzm/pxU9RFng3P30pdVFuAXw5yDgvaTt5P1shhK r5I2+uB5Dp8in8Gett7jm0WCiIHw8er2U5YEsgjVb+mEvNIFOTczjP5eO3hOcpV3aRSm soIiDaPa47CocT+ddS90XkznDcDccRZ/JKnR18yo7Is8xsDyFprfW5hsJTdLAuqAgBiE RwFA== X-Gm-Message-State: AOJu0YzuwAZMxSgJtz93y3npGsB2a8hNAL9DpS8fU6YHV8l+QIzTHWC1 kLTcatp/7kAoMr/g/8pps/mGAWUHiKCSqaA+ X-Google-Smtp-Source: AGHT+IECQ9wcqUW8LdDz3gi3lEXH6RgCe0Vvl8rmV23z45YsNJGEGIYps37pUYWy0vgAh929KGGJbQ== X-Received: by 2002:aa7:c6d5:0:b0:523:36cf:8bf1 with SMTP id b21-20020aa7c6d5000000b0052336cf8bf1mr11839419eds.34.1696779962681; Sun, 08 Oct 2023 08:46:02 -0700 (PDT) X-BeenThere: linux-amarula@amarulasolutions.com Received: by 2002:aa7:d28b:0:b0:525:b947:ff4 with SMTP id w11-20020aa7d28b000000b00525b9470ff4ls72111edq.1.-pod-prod-04-eu; Sun, 08 Oct 2023 08:46:01 -0700 (PDT) X-Received: by 2002:a17:907:7749:b0:9b2:b9bd:a369 with SMTP id kx9-20020a170907774900b009b2b9bda369mr10986192ejc.45.1696779961373; Sun, 08 Oct 2023 08:46:01 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1696779961; cv=none; d=google.com; s=arc-20160816; b=Tx8Cf01uyAGI1dwdhdiGn9Z2lEbUDl30BQGhKcn5ur7HgOeaMi7Fdlg95ehbkKVYFQ b3Gh2B5dmbFIDdWDnQw9u0YzKr3Zj8ieP13ROmo2HN9UbvXLkWO3ERnFue+5a1mgCABH X34PSKDf/COX4utq801OVy/Db54T5yBVL9VdaWnPUDDFBhwM0yav1DzNJHI6Usx/95D0 eQuwa2BhrdrwKiVNsgvsyNqeDlOWc/xRyZYN6/F4/HSUbHbYgc7QiC7cexX27Ex8o6bv GxvFqYpPfnbURmtj+OihSky6vzhnfxjR09fMGIWHufx/1OLrMaUMx+eO65H/4VTtfKhV O++A== 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=eTx7xiY1gVrYaN4UWiDJPmdtqAhZcB13UK7nV6rDAms=; fh=G1L7/xxzt+w38Iw9zi+0vBZwn8EvOdRlLFVpqkUuFRY=; b=cu2vbNA5AGe94aC2f7nCkWpDjy4GXqkXtrHsvwpMYZL1bYumQgdxfyE8BqiV+VaWye CAecIwwp9q+xmp5VAc4nUAaf1gIc9bztA6o9asLYun1FS+hi/Wlyya/nx4Su0sulkJQ8 QOUfPpsANflPlO+KHILfueqzQpWCo6G++Png+u0QsHXDpqqYuQB2bFst/YoC9/u9xS9l XYIfE9M1GytN4xof8AZGob9cJK4/xuNAm4bjaUjgjDo8oZTbcCWBwhliIoZfQbhX5srX jmag+fyGsT97PbkrMeLpVL2hbAYGV1bER5YbS/9KeeMbfVigt3FIEa87MdB9N1Lqm8go Vqcw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=HEY6Q8tJ; 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 ze16-20020a170906ef9000b009b28faa8670sor2766433ejb.20.2023.10.08.08.46.01 for (Google Transport Security); Sun, 08 Oct 2023 08:46:01 -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:a17:906:2932:b0:994:522f:3f4a with SMTP id v18-20020a170906293200b00994522f3f4amr10705904ejd.29.1696779961136; Sun, 08 Oct 2023 08:46:01 -0700 (PDT) Received: from dario-ThinkPad-T14s-Gen-2i.homenet.telecomitalia.it (host-79-50-102-159.retail.telecomitalia.it. [79.50.102.159]) by smtp.gmail.com with ESMTPSA id lc11-20020a170906f90b00b009b9aa8fffdasm5623981ejb.131.2023.10.08.08.46.00 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 08 Oct 2023 08:46:00 -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 v2 3/5] ARM: dts: stm32: make the DSI clock usable by the clock driver Date: Sun, 8 Oct 2023 17:44:55 +0200 Message-ID: <20231008154538.1622772-4-dario.binacchi@amarulasolutions.com> X-Mailer: git-send-email 2.42.0 In-Reply-To: <20231008154538.1622772-1-dario.binacchi@amarulasolutions.com> References: <20231008154538.1622772-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=HEY6Q8tJ; 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 --- Changes in v2: - Add Patrice Chotard's Reviewed-by tag. 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; };