Received: by 2002:ab2:6a05:0:b0:1f8:1780:a4ed with SMTP id w5csp1992392lqo; Mon, 13 May 2024 05:04:44 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCXGjMSK2S4i0m+ct7+RvgSI5Q3dhAOUOyw1A4+7jCT73CxqcOQqLgtGgUU4mpC+6UR9BTyghdIZ+l6kOuZFV4qRGmTY582CZpSTDZ+StA== X-Google-Smtp-Source: AGHT+IGkGdj6IhF4zxkjKsgcTek5GH8aA6yevI0EPoRngO6ne1BAQGp3mceFP8lqHd62X0RcViok X-Received: by 2002:a05:6358:c015:b0:17b:f721:4565 with SMTP id e5c5f4694b2df-193bb517de3mr914582855d.9.1715601883739; Mon, 13 May 2024 05:04:43 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1715601883; cv=pass; d=google.com; s=arc-20160816; b=GeRj8ZsK4HZYLqI22Js9HeuPQbT8mRl1Obv/RUPiv5gpnE3NqJWHQW6jAjT8LKZODg bSyK0UvYF4jUbC1YXzEPIU5hjO8gHlDQ7WMzijPERdQV9syXhT3LcFf/ZLneY80DVWAZ bx4Kpa1bDNov6uMrn7PCZf3qFC8BA/YYFgcG+F4LxBM+X7BFiHrZ3eIouEjmYZUFNRFv uVnPfK59khT48DBScG/lmrRvb5fZtczWIrzwNYJfILBpfwrgNSD/iMAu7AXZps/b2Bdy iK4rI+lLaFub9u6GCMKS2sLWDnAuCJ43rrE3bDGmuzW1dmo+JmjoCdKYbkn+Q6aHBbmW 62Rw== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=mime-version:list-unsubscribe:list-subscribe:list-id:precedence :message-id:in-reply-to:date:subject:cc:to:from:user-agent :references:dkim-signature; bh=evr7Nj7xKQ7Cd3Ztm3Cf+ORmYJrKhwgikDv0J0g06qQ=; fh=7EBdRWgtTEcxqxE3MTp63iECuLwRTkCX0+xucOQvdYA=; b=L2p1oiX++cAU7X5/ifD7yEftXSbY032ZM092K/UsqlzaGvFkSgtaaOwB1ReiJ9OaYC qIQ6x3uIJY0oWDjb2T/o/fzxjAujlVdaT0bsjiwxNAgFw53xgXehUmKdjhdjwVFzYHbu KSyqiGH/x58Y14dRrWTmUg0tZFLaluPjcOPFoECYWoYYp+SbUDpu2sGTydI355DUeOgd Fd2YVL8+0gTk82gW3pUaJWYlnTK9RxYuB7j2QaQXevgC8JHxwf+big+QgxVFKA/qDHVe QQXs90qL9zxr4gbqb7t1EiPuX/bi5Thjz5NAnHOEM/BTrK0xNxv7AB4EAh8alra7uij8 BD0w==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@baylibre-com.20230601.gappssmtp.com header.s=20230601 header.b=wo780eQs; arc=pass (i=1 spf=pass spfdomain=baylibre.com dkim=pass dkdomain=baylibre-com.20230601.gappssmtp.com); spf=pass (google.com: domain of linux-kernel+bounces-177538-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-177538-linux.lists.archive=gmail.com@vger.kernel.org" Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [139.178.88.99]) by mx.google.com with ESMTPS id 41be03b00d2f7-634103f6857si9559144a12.284.2024.05.13.05.04.42 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 13 May 2024 05:04:43 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-177538-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) client-ip=139.178.88.99; Authentication-Results: mx.google.com; dkim=pass header.i=@baylibre-com.20230601.gappssmtp.com header.s=20230601 header.b=wo780eQs; arc=pass (i=1 spf=pass spfdomain=baylibre.com dkim=pass dkdomain=baylibre-com.20230601.gappssmtp.com); spf=pass (google.com: domain of linux-kernel+bounces-177538-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-177538-linux.lists.archive=gmail.com@vger.kernel.org" Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sv.mirrors.kernel.org (Postfix) with ESMTPS id C6DEC281019 for ; Mon, 13 May 2024 12:04:42 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id ABF8314F114; Mon, 13 May 2024 12:04:36 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=baylibre-com.20230601.gappssmtp.com header.i=@baylibre-com.20230601.gappssmtp.com header.b="wo780eQs" Received: from mail-wm1-f43.google.com (mail-wm1-f43.google.com [209.85.128.43]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 4768114EC5E for ; Mon, 13 May 2024 12:04:33 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.128.43 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1715601875; cv=none; b=gtQCAEMnrUoRJy7YDAK+44zZ9AI0Tq4ZInx6zWNdN+mUmk5PnOTPjBZg3fvoVuX02utH2Lh9lLCWV1kygJ4TNw93nbrZTr4Sb0trt0zUDO0hl2i4g3PIHw/qd7/HgDQBHC0M0POlqSOnnK8hQEGllnA930XRNUgcu/uiYZIlSvo= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1715601875; c=relaxed/simple; bh=5j40C07Qf/yIsZFYFIIXmoDKx9psThMJypiQuPwNDBE=; h=References:From:To:Cc:Subject:Date:In-reply-to:Message-ID: MIME-Version:Content-Type; b=lyVVsWGWtoQqoNEIKLF6zVBKkCf6cbo9W7SeodeG3N7A2Q/UHYQ9xU5pJ0UDZigop6nqlDLwgqlAaZs+3wEH2MFmQqzv40uwBlMEEbPgIYewjuZs+lC1OUBArG6lGEc7le/ylGvXySqn/2AUmVdYRpYNpjcKOjlSBg44iHOLXsY= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=baylibre.com; spf=pass smtp.mailfrom=baylibre.com; dkim=pass (2048-bit key) header.d=baylibre-com.20230601.gappssmtp.com header.i=@baylibre-com.20230601.gappssmtp.com header.b=wo780eQs; arc=none smtp.client-ip=209.85.128.43 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=baylibre.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=baylibre.com Received: by mail-wm1-f43.google.com with SMTP id 5b1f17b1804b1-41fe54cb0e3so26417105e9.2 for ; Mon, 13 May 2024 05:04:33 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=baylibre-com.20230601.gappssmtp.com; s=20230601; t=1715601872; x=1716206672; darn=vger.kernel.org; h=mime-version:message-id:in-reply-to:date:subject:cc:to:from :user-agent:references:from:to:cc:subject:date:message-id:reply-to; bh=evr7Nj7xKQ7Cd3Ztm3Cf+ORmYJrKhwgikDv0J0g06qQ=; b=wo780eQs09LomHHrPqf+wef963s6432F1cAI0SJZBFsHMHKXoqCwsoePDkU9kP8vqm y3gnFhtJOb6qio3NvsjH69VzZr8Kqo3clE+tU2dLt7AurQcLid2aZ4SKDD1d1tA+u53h SPcIFYpZhDhkxABxXdTEX9muLVb/Idchq4prQq71+oSY3x0FvBBbxeqz29alGYrwdvQA sqvSS4bk6B9imWs/+lo6pyknbtsSE9VD0RCRVBj1VL7vpWs+f/u9YUo7q4IARG0DUTwk WqQr+fjFa/LwkwXpS7TYzRKWzl7f3921B63XIDQ1/zQCBqqjRdKVdpyKucGoVNAeL1NQ iijQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1715601872; x=1716206672; h=mime-version:message-id:in-reply-to:date:subject:cc:to:from :user-agent:references:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=evr7Nj7xKQ7Cd3Ztm3Cf+ORmYJrKhwgikDv0J0g06qQ=; b=kYNyrm9N/O5pBvwf3pTIDyjxau5hhkvbDuaIiqyN4LZjgdmVrnSozdav2JQQnQpRhb PBogu5zB9hS1L7K7FMET4RcK23G9aCZEqHTet3IHQTbm5HJktSpG2Obfn4M6g1WCap0e 6fJPoKa0onTAoUOZA0uC/2cXGFuxECnvSHXgGsG2V1Cpr2KyVFGrfYmpKO3/LZCSnwzi o1DkBJhsodpO8/T3DtAlwlkCbGaTulQ3UWgXek+hYxwfCvKPHxZtDnGOWE3HSY29CQPM mZh2bqaoIFF5CGmPUeQnghW3dBCPWoWYtEL3juInOy6ff6zXjMEXo5FwV6+C9dh4EYYk 2hDg== X-Forwarded-Encrypted: i=1; AJvYcCU+N4t+acdVNQbN5cfQnlpFPuishhkGq+Ztp32bJ+3MEVBBCbd+mU/Z3BrCPkye2ZATS/JLP9iJnyCkkt/vABiK3WLgAX/PRyt+gR+e X-Gm-Message-State: AOJu0Yx0sEbtuUpyoE33/uIYqNVuA5f5P13Z2ktwsJc3xFIzJq5mxie9 UiA4vBABUGqhui5ZPgKWY01ci6l31RJXdUmsSBce1cd9K04PJQUb/UMcG8re7VM= X-Received: by 2002:a05:600c:4fcf:b0:420:1585:7a99 with SMTP id 5b1f17b1804b1-42015857b80mr27774355e9.38.1715601871464; Mon, 13 May 2024 05:04:31 -0700 (PDT) Received: from localhost ([2a01:e0a:3c5:5fb1:5b77:3e5a:a808:339a]) by smtp.gmail.com with ESMTPSA id 5b1f17b1804b1-42013c5fa61sm49472435e9.40.2024.05.13.05.04.30 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 13 May 2024 05:04:31 -0700 (PDT) References: <20240510090933.19464-1-ddrokosov@salutedevices.com> <20240510090933.19464-5-ddrokosov@salutedevices.com> <20240511-courier-afflicted-e351af5cded2@spud> User-agent: mu4e 1.10.8; emacs 29.2 From: Jerome Brunet To: Conor Dooley Cc: Dmitry Rokosov , neil.armstrong@linaro.org, jbrunet@baylibre.com, mturquette@baylibre.com, sboyd@kernel.org, robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org, khilman@baylibre.com, martin.blumenstingl@googlemail.com, jian.hu@amlogic.com, kernel@sberdevices.ru, rockosov@gmail.com, linux-amlogic@lists.infradead.org, linux-clk@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org Subject: Re: [PATCH v2 4/7] dt-bindings: clock: meson: a1: peripherals: support sys_pll_div16 input Date: Mon, 13 May 2024 14:02:21 +0200 In-reply-to: <20240511-courier-afflicted-e351af5cded2@spud> Message-ID: <1jo799zzn5.fsf@starbuckisacylon.baylibre.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain On Sat 11 May 2024 at 14:03, Conor Dooley wrote: > [[PGP Signed Part:Undecided]] > On Fri, May 10, 2024 at 12:08:56PM +0300, Dmitry Rokosov wrote: >> The 'sys_pll_div16' input clock is used as one of the sources for the >> GEN clock. >> >> Signed-off-by: Dmitry Rokosov > > Provided that this new clock is optional in the driver, > Acked-by: Conor Dooley The way CCF works, it is not going to crash if DT does not have this. It will be viewed as non-connected input, in a way > > Cheers, > Conor. > >> --- >> .../bindings/clock/amlogic,a1-peripherals-clkc.yaml | 7 +++++-- >> 1 file changed, 5 insertions(+), 2 deletions(-) >> >> diff --git a/Documentation/devicetree/bindings/clock/amlogic,a1-peripherals-clkc.yaml b/Documentation/devicetree/bindings/clock/amlogic,a1-peripherals-clkc.yaml >> index 6d84cee1bd75..11862746ba44 100644 >> --- a/Documentation/devicetree/bindings/clock/amlogic,a1-peripherals-clkc.yaml >> +++ b/Documentation/devicetree/bindings/clock/amlogic,a1-peripherals-clkc.yaml >> @@ -30,6 +30,7 @@ properties: >> - description: input fixed pll div7 >> - description: input hifi pll >> - description: input oscillator (usually at 24MHz) >> + - description: input sys pll div16 >> >> clock-names: >> items: >> @@ -39,6 +40,7 @@ properties: >> - const: fclk_div7 >> - const: hifi_pll >> - const: xtal >> + - const: sys_pll_div16 >> >> required: >> - compatible >> @@ -65,9 +67,10 @@ examples: >> <&clkc_pll CLKID_FCLK_DIV5>, >> <&clkc_pll CLKID_FCLK_DIV7>, >> <&clkc_pll CLKID_HIFI_PLL>, >> - <&xtal>; >> + <&xtal>, >> + <&clkc_pll CLKID_SYS_PLL_DIV16>; >> clock-names = "fclk_div2", "fclk_div3", >> "fclk_div5", "fclk_div7", >> - "hifi_pll", "xtal"; >> + "hifi_pll", "xtal", "sys_pll_div16"; >> }; >> }; >> -- >> 2.43.0 >> >> > > [[End of PGP Signed Part]] -- Jerome