Received: by 2002:ab2:6d45:0:b0:1fb:d597:ff75 with SMTP id d5csp573286lqr; Wed, 5 Jun 2024 14:35:18 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCWb4Lh30R25G6F5PNx0dSmX9wrQOlLbtBf+KvO6rRRhW/VF2l6+Z/z+BGWn2j58SJGcax+up5B9Cy4WHKRQiNWrSOltIomFsST4JZHM/w== X-Google-Smtp-Source: AGHT+IHv1Wh9uYjhAVseKiStmO7zy7KvVTZdev76F1Z/JahY11Zwrjhb/Y7KHtwCcpMK/+rLQeCL X-Received: by 2002:a05:6a21:81a4:b0:1b0:27dd:3355 with SMTP id adf61e73a8af0-1b2b6f1d821mr4145493637.21.1717623318103; Wed, 05 Jun 2024 14:35:18 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1717623318; cv=pass; d=google.com; s=arc-20160816; b=FUcpfS7QGH44G7zEBKn7h5X+AwynFa2Q/yr6dJz68aJVlhkO990PVNtRZHQdok6vtR NDuAuXSosDLPeZP6vCnaCkauMSh7Oi/gB1eIAfUlw/ZmYTrA9kDTrqz3JyUTQ4+UXu9U qtjFselEpXA2gUZqCvF10kkbVwah14g3hzRLNpaUu7hFajG0WvkngogSncLh5XsN3u9g 9ac7R+zCT4nmy1YEf4ghKepHYnvWUWvNa9xZ2T5ROu15FnTRSZJT+vqX30P/t3cev4Qg 0w0XPDzteOXiP5r15T6NNmwE5vTLjRrggsICVaHMv4DmVsE9/ep+3MipF9QzUmm5S4JA pIKw== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:in-reply-to:message-id :date:subject:cc:to:from:dkim-signature; bh=qasIk3RIlDr87q8vk5+/hF6hYt5CYIJF1PO4NtdRHKc=; fh=F5i+rNW4hjf57QJHDx14Nq4Eso4Z4OyY/LhC2i40VT4=; b=KJWKGiS+1wcReUnllz8e4AFh8+1L5B+zTOtTT2kwE5zA+HwekmYWqbWM4kVkPevAkc wbRQjTSwiKi1dqBEZH14eWzDXnTt4JkPkLGUG7dwl05QO/nrW76JADMSEW695feV2SCi ncK++yjzQHdjJuY15youcxiRJ7SwguSFN12TYvpctIGmkbkWfW+vsrtTHheUDdPYd/80 Ssau+0YQizJdvzpgcP8Uj4z9DneHrguA+0P0Qrx9loeMT57xLhQkFZcYGv+jzYMMigpw ZDmBua0N65U11LoA20NswzG6WCrT/sRGdTcMWS+MAdajNyFZIF7+WTp3+VVVs8Siw2yA mS/g==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@ibm.com header.s=pp1 header.b=NALWO5t6; arc=pass (i=1 spf=pass spfdomain=linux.ibm.com dkim=pass dkdomain=ibm.com dmarc=pass fromdomain=linux.ibm.com); spf=pass (google.com: domain of linux-kernel+bounces-203276-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-203276-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=REJECT sp=NONE dis=NONE) header.from=ibm.com Return-Path: Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [147.75.48.161]) by mx.google.com with ESMTPS id 41be03b00d2f7-6de275facc0si2236a12.449.2024.06.05.14.35.17 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 05 Jun 2024 14:35:18 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-203276-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) client-ip=147.75.48.161; Authentication-Results: mx.google.com; dkim=pass header.i=@ibm.com header.s=pp1 header.b=NALWO5t6; arc=pass (i=1 spf=pass spfdomain=linux.ibm.com dkim=pass dkdomain=ibm.com dmarc=pass fromdomain=linux.ibm.com); spf=pass (google.com: domain of linux-kernel+bounces-203276-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-203276-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=REJECT sp=NONE dis=NONE) header.from=ibm.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 sy.mirrors.kernel.org (Postfix) with ESMTPS id 828E0B2525E for ; Wed, 5 Jun 2024 21:29:04 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id F2F74183A8B; Wed, 5 Jun 2024 21:23:49 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=ibm.com header.i=@ibm.com header.b="NALWO5t6" Received: from mx0a-001b2d01.pphosted.com (mx0a-001b2d01.pphosted.com [148.163.156.1]) (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 5B699169AE9; Wed, 5 Jun 2024 21:23:42 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=148.163.156.1 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1717622624; cv=none; b=HRTFkN6adyFeItJBPZ6+gZ1ZP5gYvU25nw3OukOqu9TrrdV2jIcX7r2nO+R9YqEzvTrfoC3QUbwwom6O5ny2uFvDAiBiBSSkweB1CXxsWDc9ATTNv7T4P9voRCBW1HELx+fglK5beGBzF+Jj5gAd896EvyV5tGfgH2S03NfTi7o= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1717622624; c=relaxed/simple; bh=jDLtDsIPQ9cZDigPLWvteHkrW9nW7CaI9vdJjdDIbyQ=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References: MIME-Version; b=TKIrw9R8cJm6wP47+Rn5kI+QyUMqiuwK2r1ZaD4nrZnqD4L6nGp83sGsRkh46CT63gyvzIDOEmGLnhBg5lIWPykxn20A34kRm9GpLO49QEkIxVGqEi5o7/jHSQWG0Awu/e4o7hEXuVntMX9V54Ou/CKPaO+e23t5Uoa1PteMdj8= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linux.ibm.com; spf=pass smtp.mailfrom=linux.ibm.com; dkim=pass (2048-bit key) header.d=ibm.com header.i=@ibm.com header.b=NALWO5t6; arc=none smtp.client-ip=148.163.156.1 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linux.ibm.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linux.ibm.com Received: from pps.filterd (m0353729.ppops.net [127.0.0.1]) by mx0a-001b2d01.pphosted.com (8.17.1.19/8.17.1.19) with ESMTP id 455LBkFI011845; Wed, 5 Jun 2024 21:23:30 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ibm.com; h=cc : content-transfer-encoding : date : from : in-reply-to : message-id : mime-version : references : subject : to; s=pp1; bh=qasIk3RIlDr87q8vk5+/hF6hYt5CYIJF1PO4NtdRHKc=; b=NALWO5t6GwqWu9gJynh6ScYqB74uYALXX2q4J7hbK+2E0ixwkU2MjXCSueNH+iAqHHWS Jsbq5oz5gApjtkxJl4SfQEN9ZwgBcFTzU+HuoWuT52iDFqBSrdV/ZvYSJhxESDc++gLS vQd9YxxOcojRcLPtCqfTovzDCerXB/ZED+Ns0cvX7HpOsG5jQtX6/1MUUrXTdHPlvnCq KVGzK5/nGLrruyM21brKh8udMRuPf3FNuFl88nKHapgKoyvYlkKwZ4WuHFq8Tkr8a7T+ F+oSqn7SSwGbAXwsmxRkDozu6sb8nwv6nspUFMAr8M9gL3C5x8vJ3+rTML79oNCOIAVX 9g== Received: from ppma22.wdc07v.mail.ibm.com (5c.69.3da9.ip4.static.sl-reverse.com [169.61.105.92]) by mx0a-001b2d01.pphosted.com (PPS) with ESMTPS id 3yjyqf00s1-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Wed, 05 Jun 2024 21:23:29 +0000 Received: from pps.filterd (ppma22.wdc07v.mail.ibm.com [127.0.0.1]) by ppma22.wdc07v.mail.ibm.com (8.17.1.19/8.17.1.19) with ESMTP id 455IRk5G008458; Wed, 5 Jun 2024 21:23:28 GMT Received: from smtprelay05.wdc07v.mail.ibm.com ([172.16.1.72]) by ppma22.wdc07v.mail.ibm.com (PPS) with ESMTPS id 3ygec0xv72-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Wed, 05 Jun 2024 21:23:28 +0000 Received: from smtpav06.dal12v.mail.ibm.com (smtpav06.dal12v.mail.ibm.com [10.241.53.105]) by smtprelay05.wdc07v.mail.ibm.com (8.14.9/8.14.9/NCO v10.0) with ESMTP id 455LNPii26215096 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Wed, 5 Jun 2024 21:23:27 GMT Received: from smtpav06.dal12v.mail.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id 1871858059; Wed, 5 Jun 2024 21:23:25 +0000 (GMT) Received: from smtpav06.dal12v.mail.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id C59E35805D; Wed, 5 Jun 2024 21:23:24 +0000 (GMT) Received: from slate16.aus.stglabs.ibm.com (unknown [9.61.121.242]) by smtpav06.dal12v.mail.ibm.com (Postfix) with ESMTP; Wed, 5 Jun 2024 21:23:24 +0000 (GMT) From: Eddie James To: linux-fsi@lists.ozlabs.org Cc: eajames@linux.ibm.com, linux-kernel@vger.kernel.org, linux-i2c@vger.kernel.org, linux-spi@vger.kernel.org, broonie@kernel.org, andi.shyti@kernel.org, joel@jms.id.au, alistair@popple.id.au, jk@ozlabs.org, andrew@codeconstruct.com.au, linux-aspeed@lists.ozlabs.org, ninad@linux.ibm.com, lakshmiy@us.ibm.com Subject: [PATCH v4 39/40] ARM: dts: aspeed: P10 and tacoma: Set FSI clock frequency Date: Wed, 5 Jun 2024 16:23:11 -0500 Message-Id: <20240605212312.349188-40-eajames@linux.ibm.com> X-Mailer: git-send-email 2.39.3 In-Reply-To: <20240605212312.349188-1-eajames@linux.ibm.com> References: <20240605212312.349188-1-eajames@linux.ibm.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-TM-AS-GCONF: 00 X-Proofpoint-GUID: idsBmgqBPFjTMenUQ9YqFj1idWgwxJ-z X-Proofpoint-ORIG-GUID: idsBmgqBPFjTMenUQ9YqFj1idWgwxJ-z X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.293,Aquarius:18.0.1039,Hydra:6.0.680,FMLib:17.12.28.16 definitions=2024-06-05_02,2024-06-05_02,2024-05-17_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 phishscore=0 priorityscore=1501 mlxlogscore=758 impostorscore=0 adultscore=0 bulkscore=0 malwarescore=0 clxscore=1015 mlxscore=0 suspectscore=0 lowpriorityscore=0 spamscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2405010000 definitions=main-2406050160 Now that the driver doesn't hardcode the clock divider, set it in the device tree. Signed-off-by: Eddie James --- arch/arm/boot/dts/aspeed/aspeed-bmc-opp-tacoma.dts | 1 + arch/arm/boot/dts/aspeed/ibm-power10-dual.dtsi | 1 + 2 files changed, 2 insertions(+) diff --git a/arch/arm/boot/dts/aspeed/aspeed-bmc-opp-tacoma.dts b/arch/arm/boot/dts/aspeed/aspeed-bmc-opp-tacoma.dts index 213023bc5aec4..96a8f727bc389 100644 --- a/arch/arm/boot/dts/aspeed/aspeed-bmc-opp-tacoma.dts +++ b/arch/arm/boot/dts/aspeed/aspeed-bmc-opp-tacoma.dts @@ -193,6 +193,7 @@ &fsim0 { #address-cells = <2>; #size-cells = <0>; + clock-frequency = <100000000>; fsi-routing-gpios = <&gpio0 ASPEED_GPIO(Q, 7) GPIO_ACTIVE_HIGH>; fsi-mux-gpios = <&gpio0 ASPEED_GPIO(B, 0) GPIO_ACTIVE_HIGH>; diff --git a/arch/arm/boot/dts/aspeed/ibm-power10-dual.dtsi b/arch/arm/boot/dts/aspeed/ibm-power10-dual.dtsi index 07ce3b2bc62a3..44e48e39e6e96 100644 --- a/arch/arm/boot/dts/aspeed/ibm-power10-dual.dtsi +++ b/arch/arm/boot/dts/aspeed/ibm-power10-dual.dtsi @@ -8,6 +8,7 @@ &fsim0 { #size-cells = <0>; cfam-reset-gpios = <&gpio0 ASPEED_GPIO(Q, 0) GPIO_ACTIVE_HIGH>; + clock-frequency = <100000000>; cfam@0,0 { reg = <0 0>; -- 2.39.3