Received: by 2002:a05:7412:b995:b0:f9:9502:5bb8 with SMTP id it21csp7441629rdb; Wed, 3 Jan 2024 17:00:20 -0800 (PST) X-Google-Smtp-Source: AGHT+IFzKMxfcVjPS2YJOJoHV8HdKBKG4zk/v/iKmNfkaH3szZhDEZrUJGnf0cdA2G3gasJfdEoz X-Received: by 2002:a05:600c:3b8c:b0:40d:28ce:bb9b with SMTP id n12-20020a05600c3b8c00b0040d28cebb9bmr8993976wms.51.1704330020766; Wed, 03 Jan 2024 17:00:20 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1704330020; cv=none; d=google.com; s=arc-20160816; b=MZldp6A2VLR3mE6bOikZoT5oao0nOwnsJM8TlFmM73U7LQyF5txHNYG9K6uc+aMQC3 28WlN26OLrNdf81F9OHSalqmOhw4HbBm4+6sduZ+Rd+SoNs65vTfwral+8c9/vTjnAOe 0NCy9LHfc1icmBsUghXyKstf/W7hN/up6sriaZHcp2sS/Np9SiaHuAMsSbjhJX5SyTd/ x88EE0k7s4PgozYuABHPAwR3+CXHZVwQbL87Wj1n4n4L+Mu6MyB76TBO3CQc0ND3rGa5 zw+rC+eW906gMHB4EHuVnFg6hG1eZr0sjJleNPyWrpHaSwZ7nTRzspW6/tf+PEyLwVZV +dJQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=user-agent:date:to:cc:from:subject:references:in-reply-to :content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:message-id:dkim-signature; bh=YhPccyep9c7+vkew2LR1MHBYks2F3iHuMcYZNxDs8JE=; fh=Scys1vAgDJeB3voaXu6jfvUlsAZFDhOKPv+NlgxpxMU=; b=biDjnzTXymTQ/CzCxAHYjONJgjcnADpAfCyvFVPfXQ2PY2UMdD+oOrf59+eEix1hET r/oiP5Jo/R1f2Uf3tIf814shiFlt7UyeeObHw6SnhHoFAR0uYXn87Bg0hhk+Nbr+rs1/ x8CeRYoKsE9NBcyCcCRtOWnmgp0mCvfPx2D04cFZz9RBZOIH7l6vhpLWXDMJC3VAhkgS CbwB3OlzIExAvQ7o6tmCv2B576lSvSQDvE1Db8/5gJ21tj39u6B4gx+/ZBF3jDXEpw/C UyFbgYZbJC964NBIjbXMD8zw7mdCtd/ExAUzJ0cTMGx0ZFt+p7ZkmWn6Mk8/amkoFshP Oc9Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=jn8tdyiz; spf=pass (google.com: domain of linux-kernel+bounces-16164-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-16164-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [147.75.80.249]) by mx.google.com with ESMTPS id ay10-20020a170907900a00b00a280da89f8fsi2593639ejc.193.2024.01.03.17.00.20 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 03 Jan 2024 17:00:20 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-16164-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) client-ip=147.75.80.249; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=jn8tdyiz; spf=pass (google.com: domain of linux-kernel+bounces-16164-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-16164-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=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 am.mirrors.kernel.org (Postfix) with ESMTPS id 82B001F2620D for ; Thu, 4 Jan 2024 01:00:20 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 78DC917FF; Thu, 4 Jan 2024 01:00:11 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="jn8tdyiz" X-Original-To: linux-kernel@vger.kernel.org Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id A8D361849; Thu, 4 Jan 2024 01:00:09 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 1CEF7C433C8; Thu, 4 Jan 2024 01:00:09 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1704330009; bh=YhPccyep9c7+vkew2LR1MHBYks2F3iHuMcYZNxDs8JE=; h=In-Reply-To:References:Subject:From:Cc:To:Date:From; b=jn8tdyizXuYWy3et3cfDV8Oex21VlgAgjfPLg8mcj9WenKss5F2xL/eV7hORqsg8C cdo/Lxy5Zl8AaYcxzBMPvUrnrpFD7A/dUZs02bLvikeL5Hsh+D0uTk3a1U2dG1HpRb P8nm4CyvrnJZ+nnQ6khZAQrbY+X4f+Ll2nHkQVR1E7kZPlgUgCbg5LqLoucXdF9cfj k+XuXh8BuBOFweE4yy/HO5yaMcNxyJrNDlnlYwQ8DATrZ2xzIVJvlqXKuLBc/QWGk8 HOGyjm2h7MYDTwNUuuNuqEAK1I8mUC2ecqHhi+dJno8fewwnn3rfdWD1y94wA1DBXQ n8xtaPpDjTqlQ== Message-ID: <55fd522918aa41f386e01432248933da.sboyd@kernel.org> Content-Type: text/plain; charset="utf-8" Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable In-Reply-To: <20240103072017.1646007-1-naman.trivedimanojbhai@amd.com> References: <20240103072017.1646007-1-naman.trivedimanojbhai@amd.com> Subject: Re: [PATCH] drivers: clk: zynqmp: remove clock name dependency From: Stephen Boyd Cc: linux-clk@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, Naman Trivedi Manojbhai To: Naman Trivedi Manojbhai , abel.vesa@linaro.org, angelogioacchino.delregno@collabora.com, krzysztof.kozlowski@linaro.org, michal.simek@amd.com, mturquette@baylibre.com, robh@kernel.org Date: Wed, 03 Jan 2024 17:00:06 -0800 User-Agent: alot/0.10 Quoting Naman Trivedi Manojbhai (2024-01-02 23:20:17) > Currently, from zynqmp_get_parent_list() function the clock driver > references the clock by name instead of its reference from device tree. > This causes problem when the clock name in the device tree is changed. >=20 > Remove hard dependency of clock name and update the logic to use clock > reference from device tree instead of clock name. Please use struct clk_parent_data instead.