Received: by 2002:a05:6a11:4021:0:0:0:0 with SMTP id ky33csp1647974pxb; Thu, 16 Sep 2021 12:00:45 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzPkb+LAe4LJ17oIVkJcV0Um5G/IvYLtysnsHsZON3YslNX6ncQwoBf7pzLpSBADSWPeTe/ X-Received: by 2002:a17:906:4093:: with SMTP id u19mr7927591ejj.110.1631818844809; Thu, 16 Sep 2021 12:00:44 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1631818844; cv=none; d=google.com; s=arc-20160816; b=CRnCGhYzvEwBbc1iD8eNP3xZLBjLEw/EHuXZ/yw/cephjDrjJNn4K4dDxLfOJUBMYx x/48AerDj1jr/uMosWGXOclSGItxVPxKAl8chWpLDwPpfJTe/91ar6duU1j7aLNvKKkH 4QuITE34SnbON16BtEL1JUMXrr6TKRJ/vtHkKGLlYJOIgfZ5it/4C1Enx7pcNvbXzXn/ 72x2WBOh476YQdiZ7u5yUPY26bgv6k8xdqeXsX4O4aMNNiyTh7efk8j1019n7mG5FEyr 01iE1TaqoSYjOXp6Ccv6y6bpmUkkXJZ5uzBWFNMIWFINvFa03eH4gaskuzAK4z2gcCGk cilQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :user-agent:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature; bh=ly/5I1hKjmyY7kRn+GX8w+96c1ox+NZSICs1G+nGTiQ=; b=tbjbGZPVyo+z3C7nqIotx5TczOhdTRSg9cwFboWoMQPHf35RZJkzdyThlaoLpRFdFd Gao4BnH950K/9arybJ2UHfA6YYK5fhYHtgiwz1nJ+31Eb/m+CAXw0dV18JD7QP+89joW umS9wXsey0iUN8E5Wpou93cEA2yo0wmf+aPFQTwkU8jkCZqCEnXWJ320VJuso4nEBnKj UJEiwFw+Pzjdx57kx2PvsgJuRk2mavng+NQjEth/g/LxTnQwO2xrPTxsywZ1+G8akBkJ 2BXu0UyJifpdfEn42876zGygaosK1QeNnNUNBHZH9EwAw5NKQtUjfPYY9l6Z800FA6OG FMEQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=iOG+MJcK; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id s11si5084438edh.403.2021.09.16.12.00.15; Thu, 16 Sep 2021 12:00:44 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=iOG+MJcK; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231233AbhIPQGV (ORCPT + 99 others); Thu, 16 Sep 2021 12:06:21 -0400 Received: from mail.kernel.org ([198.145.29.99]:44740 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S240574AbhIPQFg (ORCPT ); Thu, 16 Sep 2021 12:05:36 -0400 Received: by mail.kernel.org (Postfix) with ESMTPSA id 229C361241; Thu, 16 Sep 2021 16:04:14 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1631808255; bh=zKFwVPh6w7sSAUCjNbZlm7mreJ4hxC0yCAVig3VfeiU=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=iOG+MJcKO/g66QH6VB0jfWMVKYCqJOAfStWChhYrGBgIxMxqvPaJu5VAswkhV6YDU ecI1WfDkcN5Boyg0EzOaxPrhhVVftmESqXkhnC0mPsl5qzhoMFyeN11vUJQFpi57dS Q3T5arynjGKLLLTg33n8Uj74bzPmeUao6PHSIQpk= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Kris Chaplin , Dinh Nguyen , Stephen Boyd Subject: [PATCH 5.10 019/306] clk: socfpga: agilex: fix up s2f_user0_clk representation Date: Thu, 16 Sep 2021 17:56:04 +0200 Message-Id: <20210916155754.586782819@linuxfoundation.org> X-Mailer: git-send-email 2.33.0 In-Reply-To: <20210916155753.903069397@linuxfoundation.org> References: <20210916155753.903069397@linuxfoundation.org> User-Agent: quilt/0.66 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Dinh Nguyen commit f817c132db679d492d96c60993fa2f2c67ab18d0 upstream. Correct the s2f_user0_mux clock representation. Fixes: 80c6b7a0894f ("clk: socfpga: agilex: add clock driver for the Agilex platform") Cc: stable@vger.kernel.org Signed-off-by: Kris Chaplin Signed-off-by: Dinh Nguyen Link: https://lore.kernel.org/r/20210713144621.605140-2-dinguyen@kernel.org Signed-off-by: Stephen Boyd Signed-off-by: Greg Kroah-Hartman --- drivers/clk/socfpga/clk-agilex.c | 9 +++++++++ 1 file changed, 9 insertions(+) --- a/drivers/clk/socfpga/clk-agilex.c +++ b/drivers/clk/socfpga/clk-agilex.c @@ -193,6 +193,13 @@ static const struct clk_parent_data sdmm .name = "boot_clk", }, }; +static const struct clk_parent_data s2f_user0_mux[] = { + { .fw_name = "s2f_user0_free_clk", + .name = "s2f_user0_free_clk", }, + { .fw_name = "boot_clk", + .name = "boot_clk", }, +}; + static const struct clk_parent_data s2f_user1_mux[] = { { .fw_name = "s2f_user1_free_clk", .name = "s2f_user1_free_clk", }, @@ -306,6 +313,8 @@ static const struct stratix10_gate_clock 4, 0x98, 0, 16, 0x88, 3, 0}, { AGILEX_SDMMC_CLK, "sdmmc_clk", NULL, sdmmc_mux, ARRAY_SIZE(sdmmc_mux), 0, 0x7C, 5, 0, 0, 0, 0x88, 4, 4}, + { AGILEX_S2F_USER0_CLK, "s2f_user0_clk", NULL, s2f_user0_mux, ARRAY_SIZE(s2f_user0_mux), 0, 0x24, + 6, 0, 0, 0, 0x30, 2, 0}, { AGILEX_S2F_USER1_CLK, "s2f_user1_clk", NULL, s2f_user1_mux, ARRAY_SIZE(s2f_user1_mux), 0, 0x7C, 6, 0, 0, 0, 0x88, 5, 0}, { AGILEX_PSI_REF_CLK, "psi_ref_clk", NULL, psi_mux, ARRAY_SIZE(psi_mux), 0, 0x7C,