Received: by 2002:ab2:644:0:b0:1ec:cbc4:63fb with SMTP id 4csp1145093lqn; Mon, 26 Feb 2024 08:56:16 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCW9i3h+dwvl4i/PzxFVUKoI2aKMigEs1KsezMDoQ7tK/lDWYopZz0WVTQNQ698y/qO6KlDbRGmp3QaQP969L/ION7LeRndN2mvsPO76Ww== X-Google-Smtp-Source: AGHT+IGOfOhJMRA3upNERfcxJW8HsydAawRcvMUOrdPwlNWuFDpF1T4/QLDgERVE3MZJOHOt4V/Y X-Received: by 2002:a17:906:1b0c:b0:a40:75e8:3889 with SMTP id o12-20020a1709061b0c00b00a4075e83889mr4937507ejg.41.1708966576094; Mon, 26 Feb 2024 08:56:16 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1708966576; cv=pass; d=google.com; s=arc-20160816; b=h9xE+gmINkKkfgCY+H/cC0AaUnMoC10H69+Lie0Op1xZtf60SuNrGxyVoqM0Nwb7EO 7r18th4aePxsxb63sJcYa1Uyrb3K6iA4B4PtYwdluGeV1ig0EAk7eEwS8lG8oVlsYoa8 nIQIdk0y0bNpu4cLW93IkjH9QQyn2QKWIBSccDpla3gp/ebLv2LINXAtOieueY4Gh7dZ JD5PusNHOtqdGOwIj0qQosxvsslaGhxpjfp0UTZl6Kp8xVq4j0RV5zX6+GMVKOxawcYL LI9K9X76ujD11PhSMmIav3MhqiqBdOOFCx55eCy8subvdE4xmjw+L4LFD62BcHr0p8ez aLmg== 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=wUxZWtjBlpcd1C3yzncmoKg+sMI8k4edHwJPu5+uZXE=; fh=hD87NRI2uXFKH7lntJG4G4naYHSrGp3lxTKSbIyEdj8=; b=lkx9yIF2vdVOx2gFc1tTJRTlCYSnvJafaKCzWTWIKP4Ccv7JiWuY+5gbR6T9PPd6Vc 5FR4YVmN2w8e+IS6nQGaEPVWKNcye7wNhHoqpIs4zqY/OdrBvXq/tMjJtZm615KqpevV vGxpk7uWo1F7Zmjpr5/rqH7+BQtOnHtNbzlqOLyq2KaW88yu57bXhGk555Ba1dnN4TFj mZeY2Zh5oMmL7EslZVy49brkzRavV947F1kelkYadwgUA0aTvPzW34RXfAtWdgw9Bjdn gOwBMZVwgn993YhtkBCPRLz8UJ1PNt/NO8TbDANQ73AL/66zTENSomGebiLmXrWC5W4s Y5UA==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@ibm.com header.s=pp1 header.b=A4NBfdmW; 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-81955-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-81955-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=REJECT sp=NONE dis=NONE) header.from=ibm.com Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [147.75.80.249]) by mx.google.com with ESMTPS id y17-20020a17090668d100b00a3e6478cbb9si2169930ejr.493.2024.02.26.08.56.16 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 26 Feb 2024 08:56:16 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-81955-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=@ibm.com header.s=pp1 header.b=A4NBfdmW; 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-81955-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-81955-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 am.mirrors.kernel.org (Postfix) with ESMTPS id CCCCE1F27F98 for ; Mon, 26 Feb 2024 16:56:15 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 4E1EA130AF6; Mon, 26 Feb 2024 16:53:48 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=ibm.com header.i=@ibm.com header.b="A4NBfdmW" Received: from mx0b-001b2d01.pphosted.com (mx0b-001b2d01.pphosted.com [148.163.158.5]) (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 037A112EBD3; Mon, 26 Feb 2024 16:53:43 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=148.163.158.5 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708966425; cv=none; b=mTgr0NP3yYm+YwNa0sQcsrrN73YJc1DYtLlHhW+Y/NRta76V8sMWgy8fAOeJBRLYvrQO8+bCUfaABrJi8RkswtWrGfkQH2imN3eLbJW7p6aOpIj2wmPYYG3QphDkpRFSi+EZnSKGstxkc6TLYfX8XDcbzptreQCoI1Jt/2mJ5w0= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708966425; c=relaxed/simple; bh=8D8QTyVR6yty+U+qM3n9DVm64OloOOKGd9a1EBcdczA=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References: MIME-Version; b=kKod70pD4xfNn0CKYQYGxYBrW1QOTpgBMQzSE+ixQvdP80QHAklzq6Oeux+wWaMH8hj7kYO4EK0ZD+hs6lKTM9/QZQ16UIrLJiCJP4m6rq+ZTMdMf9lY2R6ehko/liCxA3m9+pNWpmZxDNvgXIXkoVC+B8kpbj5Z1EbNfrZ9GfE= 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=A4NBfdmW; arc=none smtp.client-ip=148.163.158.5 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 (m0360072.ppops.net [127.0.0.1]) by mx0a-001b2d01.pphosted.com (8.17.1.19/8.17.1.19) with ESMTP id 41QGSHmj014969; Mon, 26 Feb 2024 16:53:30 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ibm.com; h=from : to : cc : subject : date : message-id : in-reply-to : references : mime-version : content-transfer-encoding; s=pp1; bh=wUxZWtjBlpcd1C3yzncmoKg+sMI8k4edHwJPu5+uZXE=; b=A4NBfdmWBP8Gau9jo37+ogCnjTp1KEbKnoXtt4gwCcScM0Wnoh1TBUYKf6zDE5i7dCWD GT5RHR4c0+SA1/70umzyILxBnlehRmv7k/LjUmrXKF8+hNtxGxispvG2lI36cHYbQ8lO nCp48Sa1kAcZ0VWRcKdLLOjC6IVD2wwFsayPyXfBCQmVf4DIdV0AtyCBVtgJXpVBb4mG /oGUhI6dxputW4+H1GAUkVHYSMy/oslNo51O1jZaeVPwU9XnI1jb594KIXKnWtfCsVxh QnqDNySaSak5R8ZzCSmDur0cWiJDiwHA3TupaXpEH3k5FBJ9lWq9rWRBosD0an9wA6ON aA== Received: from ppma11.dal12v.mail.ibm.com (db.9e.1632.ip4.static.sl-reverse.com [50.22.158.219]) by mx0a-001b2d01.pphosted.com (PPS) with ESMTPS id 3wgx6g8n9c-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Mon, 26 Feb 2024 16:53:30 +0000 Received: from pps.filterd (ppma11.dal12v.mail.ibm.com [127.0.0.1]) by ppma11.dal12v.mail.ibm.com (8.17.1.19/8.17.1.19) with ESMTP id 41QG0x4S012312; Mon, 26 Feb 2024 16:53:29 GMT Received: from smtprelay06.dal12v.mail.ibm.com ([172.16.1.8]) by ppma11.dal12v.mail.ibm.com (PPS) with ESMTPS id 3wfwg21xvu-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Mon, 26 Feb 2024 16:53:29 +0000 Received: from smtpav05.wdc07v.mail.ibm.com (smtpav05.wdc07v.mail.ibm.com [10.39.53.232]) by smtprelay06.dal12v.mail.ibm.com (8.14.9/8.14.9/NCO v10.0) with ESMTP id 41QGrQvW8389610 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Mon, 26 Feb 2024 16:53:29 GMT Received: from smtpav05.wdc07v.mail.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id C277458061; Mon, 26 Feb 2024 16:53:26 +0000 (GMT) Received: from smtpav05.wdc07v.mail.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id 0B02E5805F; Mon, 26 Feb 2024 16:53:26 +0000 (GMT) Received: from slate16.aus.stglabs.ibm.com (unknown [9.61.57.130]) by smtpav05.wdc07v.mail.ibm.com (Postfix) with ESMTP; Mon, 26 Feb 2024 16:53:25 +0000 (GMT) From: Eddie James To: linux-fsi@lists.ozlabs.org Cc: linux-kernel@vger.kernel.org, linux-i2c@vger.kernel.org, devicetree@vger.kernel.org, andi.shyti@kernel.org, eajames@linux.ibm.com, alistair@popple.id.au, joel@jms.id.au, jk@ozlabs.org, robh@kernel.org, krzysztof.kozlowski+dt@linaro.org, conor+dt@kernel.org, lakshmiy@us.ibmcom Subject: [PATCH v2 05/31] ARM: dts: aspeed: p10 and tacoma: Set FSI clock frequency Date: Mon, 26 Feb 2024 10:52:55 -0600 Message-Id: <20240226165321.91976-6-eajames@linux.ibm.com> X-Mailer: git-send-email 2.39.3 In-Reply-To: <20240226165321.91976-1-eajames@linux.ibm.com> References: <20240226165321.91976-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: W2o1YKkJ9swY8dvkOCrjUxBs0ZnFesCL X-Proofpoint-ORIG-GUID: W2o1YKkJ9swY8dvkOCrjUxBs0ZnFesCL X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.272,Aquarius:18.0.1011,Hydra:6.0.619,FMLib:17.11.176.26 definitions=2024-02-26_11,2024-02-26_01,2023-05-22_02 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 lowpriorityscore=0 suspectscore=0 clxscore=1015 bulkscore=0 spamscore=0 mlxlogscore=815 priorityscore=1501 adultscore=0 phishscore=0 impostorscore=0 mlxscore=0 malwarescore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2311290000 definitions=main-2402260128 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 213023bc5aec..96a8f727bc38 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 07ce3b2bc62a..44e48e39e6e9 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