Received: by 2002:ab2:6816:0:b0:1f9:5764:f03e with SMTP id t22csp474405lqo; Thu, 16 May 2024 11:25:05 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCVaO8r+Baqnq4JTjpHS5pYsghSF6ZGVpBV/xumhlGHV+BJ5iJs4ZbTMrirOYzVpy516gZdzG/pteX82PCxnPlywchSuLK5ZrhkUWRGIhA== X-Google-Smtp-Source: AGHT+IFoDLGQYkZiwjv8NWYrx/Ay2EmLRl49A6ipaU0PeXcLGoIA2S9EZ5aNCvGqwLxSlbeqxVeG X-Received: by 2002:a05:620a:d84:b0:792:c3ca:6454 with SMTP id af79cd13be357-792c75f106cmr2404538285a.59.1715883905342; Thu, 16 May 2024 11:25:05 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1715883905; cv=pass; d=google.com; s=arc-20160816; b=KKy30ZT9y70R6YfkA9HJTzMwcE2LuyU/4qLhhsP/UaLWpmDRSQ39Z1IHeuRX/ko7Sa mup3xpXuBljORkSIdPa90cOzK+OHWpFwLkhbPO7M3cqXIuF0seEvWHpaHUkzArdtfbHJ JlWLCI+qC2QadgpsHBvYhbqziVJJk/mvhs1YeyNQZrWhM9jwPuTZEPYEZoOj/hOJ9ILZ wkjSti5cLYSKUaYPH3vJ7jvFOKhkGOXoIzNudnxGWlMSQyVM1WoUAoPjF4bKfyz5CaGC 1J4loK35jKt7wNZzxpUJ9CYCMOkrLU7zaKfNGYj+iukvjdTfd7vH7weROhYs4dPZZ0KB kQDw== 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=r7jucx4EDwcx4QmKdJY/B/BWs7eG+xdxvoZ3FO/I2uA=; b=oKM7w6MAjClu9wbb1VAW6snuWOaCYLHaUKscUVc2rUsL64ERRB11UjHX7HG6VGiZsZ 4Ltq3CEduL0U5rhepb9DkcPHfjggAGba5SkM+sTl8SyKxv0Qaj1BNkSHuKXbZfVWDd99 potnOjvnFx+40jtRFmBxTg+TaGPPWiaapYTRkf65NP23moW+xCJbmVVfcSkoSZ1nZUTr 3uc2LU27+x/XaH3wsF5lSZjUG0XxcjTAe1k9/cCa5AreSSKTk0qD5KrDw1N9sDMIw/rE OLLjCG6b7JJTL7kXmah1HV28w4SnKSA4bqgYnpB9oyHoSggKAPmRY4GVlEjGvtVU/fkn fGZg==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@ibm.com header.s=pp1 header.b=hBH3btgb; 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-181455-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-181455-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=REJECT sp=NONE dis=NONE) header.from=ibm.com Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [2604:1380:45d1:ec00::1]) by mx.google.com with ESMTPS id af79cd13be357-792bf30b683si149631485a.267.2024.05.16.11.25.05 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 16 May 2024 11:25:05 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-181455-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) client-ip=2604:1380:45d1:ec00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@ibm.com header.s=pp1 header.b=hBH3btgb; 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-181455-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-181455-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 ny.mirrors.kernel.org (Postfix) with ESMTPS id 1363E1C2114C for ; Thu, 16 May 2024 18:25:05 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id E93B715D5B7; Thu, 16 May 2024 18:19:41 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=ibm.com header.i=@ibm.com header.b="hBH3btgb" 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 58ED1158D67; Thu, 16 May 2024 18:19:37 +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=1715883579; cv=none; b=AiR0zReHH0PZPDg6fTvgRdkwigd35/a6uSepNPKBeuga2fg//I1YBMeSDJHDvuDMfEYqA/akqCgpxqhbhcEoGntMgu9uwy5KtxJRazpmvPANxYbFeurAd/Eo4ST9GlPfLYazV37ZeYw6NQbwyBh+gLXr/96ClKX7x42e2rRFxOM= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1715883579; c=relaxed/simple; bh=jDLtDsIPQ9cZDigPLWvteHkrW9nW7CaI9vdJjdDIbyQ=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References: MIME-Version; b=G5zQ3w/safgF8VUfyCvKp3o5nu7O8CuUndKwjAOJEv2xI/+42pA1i9pazJZmgTXYX25Aqc57U8Pl+UxTvnhczOE61bExbDqZKncO25Z5vDQOvFnut8Zl2bWSOSWzY2L5kxx+Ff72+ZooYiVwK65S6djDFh4uNSk6NqG5Ng6FvdE= 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=hBH3btgb; 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 (m0353727.ppops.net [127.0.0.1]) by mx0a-001b2d01.pphosted.com (8.17.1.19/8.17.1.19) with ESMTP id 44GGl7Pp022376; Thu, 16 May 2024 18:19:23 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=qasIk3RIlDr87q8vk5+/hF6hYt5CYIJF1PO4NtdRHKc=; b=hBH3btgb9GZ+df4TKRKNiruaPPlGP7VE+nXyEFMtTjSLa6g0TYYl6qGeQGSvn+8fmjPL FxpRv9mRHsHOb8DjR0AGkzhk8qv1IJFIzEL4FNG5VXwbXc4guwAKlOlQZ8ahXFweMpH+ F3HwPoVgCU7LA11xk1607bR23ic2Tha52h5EaapvjOhUDLyGvgZiI7P8ziu/jE4oo/UK f0uxHnlwRNcUwpiUB1c5C6O7qpDd4r++Bwv60lWxrWGQjOwVLLeJqZ8SkyBQALpwS3Eg hHmZG3PToyB6MemQftXkBroAbhSZWsB2De9df72tI+cyWqFdiYyzchYijZLUfRMDKdA2 6w== Received: from ppma21.wdc07v.mail.ibm.com (5b.69.3da9.ip4.static.sl-reverse.com [169.61.105.91]) by mx0a-001b2d01.pphosted.com (PPS) with ESMTPS id 3y5nycr8de-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Thu, 16 May 2024 18:19:23 +0000 Received: from pps.filterd (ppma21.wdc07v.mail.ibm.com [127.0.0.1]) by ppma21.wdc07v.mail.ibm.com (8.17.1.19/8.17.1.19) with ESMTP id 44GI2MgD002273; Thu, 16 May 2024 18:19:22 GMT Received: from smtprelay03.dal12v.mail.ibm.com ([172.16.1.5]) by ppma21.wdc07v.mail.ibm.com (PPS) with ESMTPS id 3y2m0pkfux-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Thu, 16 May 2024 18:19:22 +0000 Received: from smtpav05.dal12v.mail.ibm.com (smtpav05.dal12v.mail.ibm.com [10.241.53.104]) by smtprelay03.dal12v.mail.ibm.com (8.14.9/8.14.9/NCO v10.0) with ESMTP id 44GIJJkE15532578 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Thu, 16 May 2024 18:19:21 GMT Received: from smtpav05.dal12v.mail.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id 414B658067; Thu, 16 May 2024 18:19:19 +0000 (GMT) Received: from smtpav05.dal12v.mail.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id EDAFB5806A; Thu, 16 May 2024 18:19:18 +0000 (GMT) Received: from slate16.aus.stglabs.ibm.com (unknown [9.61.107.19]) by smtpav05.dal12v.mail.ibm.com (Postfix) with ESMTP; Thu, 16 May 2024 18:19:18 +0000 (GMT) From: Eddie James To: linux-fsi@lists.ozlabs.org Cc: 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, eajames@linux.ibm.com Subject: [PATCH v3 39/40] ARM: dts: aspeed: P10 and tacoma: Set FSI clock frequency Date: Thu, 16 May 2024 13:19:06 -0500 Message-Id: <20240516181907.3468796-40-eajames@linux.ibm.com> X-Mailer: git-send-email 2.39.3 In-Reply-To: <20240516181907.3468796-1-eajames@linux.ibm.com> References: <20240516181907.3468796-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: SNWnbUWePpYgCu6RQF-fhJ5Kb-b4FVW- X-Proofpoint-ORIG-GUID: SNWnbUWePpYgCu6RQF-fhJ5Kb-b4FVW- X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.293,Aquarius:18.0.1039,Hydra:6.0.650,FMLib:17.11.176.26 definitions=2024-05-16_07,2024-05-15_01,2023-05-22_02 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 clxscore=1015 bulkscore=0 malwarescore=0 priorityscore=1501 mlxscore=0 phishscore=0 suspectscore=0 mlxlogscore=762 adultscore=0 lowpriorityscore=0 impostorscore=0 spamscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2405010000 definitions=main-2405160132 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