Received: by 2002:ab2:1149:0:b0:1f3:1f8c:d0c6 with SMTP id z9csp1735974lqz; Mon, 1 Apr 2024 16:05:17 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCUyvIVaIjRcJ8X53XD0A0lu386a1OV4ePwaVz6RqPvxYF/110c/Jei+cWSbtJOqeCFxmL0EY/2IKd88OLjjxxjX1/tCHOFNZmS6A1IsUA== X-Google-Smtp-Source: AGHT+IEw3WsjsXvQ91iMSywvtn9i/dJ3O9GyEsadpOkWL6A8CEd+OIIpNmO3oI4nTIOv0Nv0vbcK X-Received: by 2002:a17:903:449:b0:1e2:378f:e31a with SMTP id iw9-20020a170903044900b001e2378fe31amr7059305plb.68.1712012717353; Mon, 01 Apr 2024 16:05:17 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1712012717; cv=pass; d=google.com; s=arc-20160816; b=BC4RhWrc9WRDVWC6B/lUMZNKYHhGVxYBRUu4i+OIYFWShaP9yv7RTnmxej6zX38Lqc jiXb/MyDG51ZJQOHHhRApk8ppYcfhis5aR0HbS5hqwLbuHoDZvjxb1G+67ri4sGZbORd bO0wYAL0SFlzb1KRbs5HotYo3c4AaLmx1IdUxJKUGuEqKxElQIWGzGfqBmF7aVcU83m0 eyT/CHYBKC0ZXabDgjeLfQ8usVy0X/DMxtOq2vgTxTMW6v15Scc0szkLuoqRueJ/DjtW sFlZOSyB1PFkLSrwjojGjMPPCnMMYhbdGU+UdTXqbkJBQPc2TtHvQbVi2A9KQDhUPI5G NnMQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:list-unsubscribe:list-subscribe :list-id:precedence:dkim-signature; bh=2Ns3vmg+RhBRNwgNneyJSa4OOrkY3KigKEhbkR8ToKM=; fh=T4224z8TscfQ4viEXwibjmVMcfXt9pDclUpTnfHFT1A=; b=vs1kmUjQqy5btz8XE0Z3jDT/5+DAomRZJRWP+v5uXeg1BDHb7IKmD3wf+2QMsYqvFM 0/QIfHaCz5yhGxHG1uB6nTkUl/7mbETJw4AszswySHS/teThAX8cHe+tBrVwDty93u+g 8hr2NTkbEMqNAU/F5DZt7cgZgg8U09IsnxjsjMmEs2M9Tpzf1YeAR8LopzSZvEl1Jw4k 8/mlqq3nFA5YPAkbghEbPMcTk73hu7G5APA8ep2AF5Lr3l7IB8vyrfHLJiRYfwgrDbst 91AOjrG1Qp4X7xdvB+CDK31I6ZdqsHjU0r92VfpS8DXFcD3LMrwAC4cyZvTqBHx3yGT9 eCXQ==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=BoabbMPU; arc=pass (i=1 spf=pass spfdomain=gmail.com dkim=pass dkdomain=gmail.com dmarc=pass fromdomain=gmail.com); spf=pass (google.com: domain of linux-kernel+bounces-127158-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-127158-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [2604:1380:45e3:2400::1]) by mx.google.com with ESMTPS id w8-20020a1709027b8800b001e0b8740836si9596965pll.274.2024.04.01.16.05.17 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 01 Apr 2024 16:05:17 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-127158-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) client-ip=2604:1380:45e3:2400::1; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=BoabbMPU; arc=pass (i=1 spf=pass spfdomain=gmail.com dkim=pass dkdomain=gmail.com dmarc=pass fromdomain=gmail.com); spf=pass (google.com: domain of linux-kernel+bounces-127158-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-127158-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com 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 06FC5283725 for ; Mon, 1 Apr 2024 23:05:17 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 6E52256B80; Mon, 1 Apr 2024 23:05:10 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="BoabbMPU" Received: from mail-pf1-f176.google.com (mail-pf1-f176.google.com [209.85.210.176]) (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 58904D28D; Mon, 1 Apr 2024 23:05:08 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.210.176 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1712012709; cv=none; b=mWbxC8zVGsT/piH8xDal/NImhO+NT+JkQXDl8zMmYZcIVu1UKr9zjqpYsHmIkiTL+RVCvBJmtrWVEmwWLhcoTLriNQieYdSvtaqHFjb1zTvzUsEYDMeU+F/WLn+rn2Do2hoW6g0V1PYQWkmQp7fs7SHjrD0jgli/ziWtuh6ksB4= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1712012709; c=relaxed/simple; bh=4nfQ3VKgAVCoMffKoucpw3WN+zAqPsrt0JARR6EFVJI=; h=MIME-Version:References:In-Reply-To:From:Date:Message-ID:Subject: To:Cc:Content-Type; b=DiRM8LQAUT92WTDvtKVrCQol5QiHOuwyKkPcHdR3YDk6tXLwsur6dcs0Ll+cRlQ4Bti1LazOMDiIRSFnTUC52xRkIsxq/zQoNg6Wme30EIAkBIkGl/zyBGBZe91Owy5gPg0oRwt/zwevN4kAI1BnHRaS6u3C5xityUoVMhKjyTo= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com; spf=pass smtp.mailfrom=gmail.com; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b=BoabbMPU; arc=none smtp.client-ip=209.85.210.176 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com Received: by mail-pf1-f176.google.com with SMTP id d2e1a72fcca58-6ea7eff5f3cso748054b3a.0; Mon, 01 Apr 2024 16:05:08 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1712012708; x=1712617508; darn=vger.kernel.org; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=2Ns3vmg+RhBRNwgNneyJSa4OOrkY3KigKEhbkR8ToKM=; b=BoabbMPUra2n0Pn+URwSKOAQaSu/M6MS4tNkv2qc1fF0OK4/7VHcjbQZB21GzMpzjf 8J4EvXwL2PXPGKP5c1PQjEj1jBwzL8HYOESpnX6Nxl6toIZH0PIIPvDYeAcC/zBaqB4G 9P9LUS2DHjJeR7ESGN5LXanwDw9CLBG9zTxzi3h6Bi9Tf2H1mUFCSVJ8z4OF+oXDAbOP PyILHhZsvKSe3BpSM9JFJ25QeribC3F1P9Gwm6MT0LUGfuqxp1XIL8bjSPCf1xozobED 6J+95TSgtVobOsBQzNLAldJzqaxazZ09zh9athOFYW25FS/c7dCIDwMkCTHQgEIJpbDA EN7A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1712012708; x=1712617508; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=2Ns3vmg+RhBRNwgNneyJSa4OOrkY3KigKEhbkR8ToKM=; b=Awcqe/7VVlSSedR+G4ZiFJkUEMWwgho7xS9JSDduwQ9B3ALS4rp4xWYXAKA1UgrHWc kYzmWPZhEV9Z9U8QZ5hLXreGtVODY2GrxoLys1gKz43UwCRAFEOrDCBHSmCB/jCcTe/g ow6RKiua2yck650k4W3YdpGt4qgCPjbeIBFb1wQFTNxlnkI3GCcCAx+pwYbvew4eaVT+ BATccQOHSSzARZReWmcVkhsVJRKiox586pK6Jz1J45pLNexMl/dZnFVeoBriLAxh4FLl pJMel4Ges4ZbYWo8qoTa2U5pRHmUVenz0Kp/w9YCHgZhArz6z66RHEx6R6KaGyZJP6dc WvKQ== X-Forwarded-Encrypted: i=1; AJvYcCXHsKgD2tF5pMlVchcEStZ0ANRpsdX+gzZq3R61DQfpHyzRKrkrTLXdQfa8YdsAXvazdyJjCj5sRoj8YXT/Jj06xy65m3mSUuzZQHJk46CkeN2OJBTSatkKRsd5CAxRR8Y7gIZnYnKPK/WfFfo3SQyAI9b3zPd77ujddqxWgibHDA== X-Gm-Message-State: AOJu0Yw2cz0ac+QMuxJLVPLzczGJrng/Z4tTkD6/yzpITu+Z675DqE+O C3CbYIJuY2gsbOSt+JfFZRI3mYXPL6fgRt/T2O+0W/UzQyQxER2TEHy2B6Pl+P0BVHCIVLXivPp JLvZL4BT46YGyeAtUXnTAm+iJfyc= X-Received: by 2002:a05:6a20:7345:b0:1a3:c603:61d4 with SMTP id v5-20020a056a20734500b001a3c60361d4mr14923368pzc.3.1712012707679; Mon, 01 Apr 2024 16:05:07 -0700 (PDT) Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 References: <20240401-dts_fix-v1-0-8c51ce52d411@nxp.com> <20240401-dts_fix-v1-1-8c51ce52d411@nxp.com> In-Reply-To: <20240401-dts_fix-v1-1-8c51ce52d411@nxp.com> From: Fabio Estevam Date: Mon, 1 Apr 2024 20:04:56 -0300 Message-ID: Subject: Re: [PATCH 1/7] arm64: dts: imx8-ss-lsio: fix pwm lpcg indices To: Frank Li Cc: Rob Herring , Krzysztof Kozlowski , Conor Dooley , Shawn Guo , Sascha Hauer , Pengutronix Kernel Team , NXP Linux Team , Marcel Ziswiler , Philippe Schenker , Max Krummenacher , Alexander Stein , Joakim Zhang , devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, stable@vger.kernel.org Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable On Mon, Apr 1, 2024 at 7:25=E2=80=AFPM Frank Li wrote: > > lpcg's arg0 should use clock indices instead of index. > > pwm0_lpcg: clock-controller@5d400000 { > ... // Col1 Col2 > clocks =3D <&clk IMX_SC_R_PWM_0 IMX_SC_PM_CLK_PER>, // 0 0 > <&clk IMX_SC_R_PWM_0 IMX_SC_PM_CLK_PER>, // 1 1 > <&clk IMX_SC_R_PWM_0 IMX_SC_PM_CLK_PER>, // 2 4 > <&lsio_bus_clk>, // 3 5 > <&clk IMX_SC_R_PWM_0 IMX_SC_PM_CLK_PER>; // 4 6 > clock-indices =3D , , > , , > ; > }; > > Col1: index, which exited dts try to get. I cannot understand this sentence, sorry. > Col2: actual index in lpcg driver. You should not describe DT in terms of Linux driver.