Message ID | 20240130093812.1746512-4-andre.draszik@linaro.org |
---|---|
State | New |
Headers |
Return-Path: <linux-kernel+bounces-44271-ouuuleilei=gmail.com@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:7301:2087:b0:106:209c:c626 with SMTP id gs7csp1112166dyb; Tue, 30 Jan 2024 02:05:43 -0800 (PST) X-Google-Smtp-Source: AGHT+IHgBevxGP2sUEZ97lDKRSxF7frQWvGXeuT2hkDkd7uNAvYzJa0KvW/szGq4LZuRKGAi/M9a X-Received: by 2002:a05:6a21:2c8c:b0:19c:8f85:84b9 with SMTP id ua12-20020a056a212c8c00b0019c8f8584b9mr3690630pzb.35.1706609143548; Tue, 30 Jan 2024 02:05:43 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1706609143; cv=pass; d=google.com; s=arc-20160816; b=lWC3nzB7o40vwIV1J1VLt3eNN4IUbf9rfmpWTSEvqdGVqdfRrhzocl8fU8kLKKnhic zWoDy2HUTlBAaeiKUQfsl9avZun/4a57Do4Db9P1/ksfoitFJw0Qq+izvgG5ggf/pnvf QyvX44HYbHvUpawr5W0u3SYMcP8XWb4dc1GLWSdGhbgh4ga0YG4MfIFJrH58/vB/zIFh vjrK4T3paJdhQYAGDhZKoPz1U157uCPuc+3gGv2THw6AMcz2RXaSEIa+C0vFi/L0V4t6 vrL1DpTdg/KtS3ebdDXp4iQKSVvML8h/ND4IYxV8kp5+Ua3bKdqrTtHGJbu25L1Bxaov NMog== 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=RQzBQ4TASuzmiR4SqIUWePUdwbCtW+Gyj+OrWEuWMsY=; fh=ZGadyDwCU5WVzEodYWwk1qgDGMzZjqeJjHUADzctJAI=; b=swtT3DfIE3kvVn4ko/WIe7Qv2AFEe5SufEU6l1cUbxIB6r66wOS6W9bSoxEdr/bkt7 XQKlfSkMD2R+x9EpLRfYKOKnPV1fz5wzsz5KwD8ZB1rsoAAp0R0jsxEagk4S4gP4l0NP Kt34mfmVisXGttzRD6OKHxDB67DtKkKhlxBDBJAFYm1KU7Lj9bJZys0LhkjMhIMy7N+X u/QLMNT52KiCsi/UV/HkKix3e1D1o3tk3JGBHPSqFC1QFZwhy99EsmdjgVmlxzawnCUE 3PTdMAqjaFeMeUSKTTyoPN485Z6jur6fFspMyu0jEvDlIybQXDGcSsJD2nmOLWxEWXyO Z6Jg== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=JLz4ZCXS; arc=pass (i=1 spf=pass spfdomain=linaro.org dkim=pass dkdomain=linaro.org dmarc=pass fromdomain=linaro.org); spf=pass (google.com: domain of linux-kernel+bounces-44271-ouuuleilei=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-44271-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [147.75.48.161]) by mx.google.com with ESMTPS id bd6-20020a170902830600b001d78a87de63si7066409plb.205.2024.01.30.02.05.43 for <ouuuleilei@gmail.com> (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 30 Jan 2024 02:05:43 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-44271-ouuuleilei=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=@linaro.org header.s=google header.b=JLz4ZCXS; arc=pass (i=1 spf=pass spfdomain=linaro.org dkim=pass dkdomain=linaro.org dmarc=pass fromdomain=linaro.org); spf=pass (google.com: domain of linux-kernel+bounces-44271-ouuuleilei=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-44271-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.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 sy.mirrors.kernel.org (Postfix) with ESMTPS id 8CF77B28528 for <ouuuleilei@gmail.com>; Tue, 30 Jan 2024 09:39:52 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 13A9166B5B; Tue, 30 Jan 2024 09:38:36 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="JLz4ZCXS" Received: from mail-ed1-f52.google.com (mail-ed1-f52.google.com [209.85.208.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 07486605BE for <linux-kernel@vger.kernel.org>; Tue, 30 Jan 2024 09:38:29 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.208.52 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706607512; cv=none; b=H6moHV4CcKMVL+elcZsxk4KZBvmRFnRKY5FOkrQ00CYfQ8xFhkkiK72+UjN2cC1f1iWjgNuBRd85gop9EmHqW0VVpWyegY3lOWLnAibDNCcwmu2XEwHPyvUbZHDCV6OsfRM4KIsXWQwgKTJl6WRhGHschYuWYclyKkfqk2SVvfQ= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706607512; c=relaxed/simple; bh=YItbowKTCSpjXbcY9OEx7S8QG6VDMLXlbbJ6Uw2+GDc=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=uLYRPz3kcNGy02SydYKjVuBXvzyd2FMucdYY3MmUTDAWqHSZt4WBPtJ1naM/HHqLXtVZ7+pxdGtoXVb2GafcSnIp8YaXWxJC+j5f7J83b0eKfXUrUbAZDUt2dqgsrv50NfyIaLBhjEmDVsXWnrtghCr/wrJJkp1k0NCdd/3Bo8o= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org; spf=pass smtp.mailfrom=linaro.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b=JLz4ZCXS; arc=none smtp.client-ip=209.85.208.52 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linaro.org Received: by mail-ed1-f52.google.com with SMTP id 4fb4d7f45d1cf-55eed368b0bso3880570a12.0 for <linux-kernel@vger.kernel.org>; Tue, 30 Jan 2024 01:38:29 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1706607508; x=1707212308; darn=vger.kernel.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=RQzBQ4TASuzmiR4SqIUWePUdwbCtW+Gyj+OrWEuWMsY=; b=JLz4ZCXSPKxYF9CqY5APwJC483uDdN9VxtrggxunBRSZv040rHPpx4kyJ1g02cDlT4 xS+InF6qncZtJFcajVYBzF//PHSta0AJKd4Zul64vgyKSlY2cbf6uh7d5ObhLTZOsmyd a/V3nIp1nhO+ughVs4EdzNWt+1Fa8v112KCd4EcNqqMPZXSmncFM/1lnEAYCbtVBgv1t rqemo+4HwJhHdVLPSWit86JzL4WRelyqFNg3PYUMGu1tignXkjGIG1wx/fh8EMmSVzs7 NxINMBtrrCeqJTJYxZ5eVX/QgTe2tU28nGp9ksN0w2POR/+9Tykm/RCBL7zsuWXIZkk0 K8DA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1706607508; x=1707212308; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=RQzBQ4TASuzmiR4SqIUWePUdwbCtW+Gyj+OrWEuWMsY=; b=QUQ9yjfvE34GvE5mxFgcCADW1Yns9V8Y20FCwqWllm7mnej4MZs6/+LkHTUpCpSIWZ u4UX+AiMO2qTP7nXtNzGTOU+2fnnqxYZJV90RTpxLDdazAP72Qjglkhgon1IWJrfUlIV W58iyj4mXNdF2b4YghKQ5NxEnMvZwnSlQRHQV3eB1zni3wZuaZ2Vf/EbutK9VhuGd5eM FYR6NmUJZ4WmIrJNpslMrfkWlACwfYkRjq5S5mAgwIGX1glD5w5HzMPuBvPzkqXMgpJM Xcf1eD36W0mYSm8QigCwszjO3vuCniCxXqlXhbOO1HuDasZ9gfxcejD9ludugZNr72Xl qzsw== X-Gm-Message-State: AOJu0YwLFdvOQsE5tNiDbxTKGt9CL9bBK7bXPAbXSIUiEH6J6bcyICSx kyVM/EO9zylYQm1gtglRvKgo9bL+TtCa6S47TU6xu5nPtNVHpBNVnsbH5H20jtc= X-Received: by 2002:a05:6402:14d1:b0:55d:43e0:93d9 with SMTP id f17-20020a05640214d100b0055d43e093d9mr777384edx.20.1706607508436; Tue, 30 Jan 2024 01:38:28 -0800 (PST) Received: from puffmais.c.googlers.com.com (94.189.141.34.bc.googleusercontent.com. [34.141.189.94]) by smtp.gmail.com with ESMTPSA id q10-20020aa7cc0a000000b0055ef56f4575sm2281225edt.39.2024.01.30.01.38.28 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 30 Jan 2024 01:38:28 -0800 (PST) From: =?utf-8?q?Andr=C3=A9_Draszik?= <andre.draszik@linaro.org> To: peter.griffin@linaro.org, mturquette@baylibre.com, sboyd@kernel.org, robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org, conor+dt@kernel.org Cc: linux-kernel@vger.kernel.org, kernel-team@android.com, tudor.ambarus@linaro.org, willmcvicker@google.com, semen.protsenko@linaro.org, alim.akhtar@samsung.com, s.nawrocki@samsung.com, tomasz.figa@gmail.com, cw00.choi@samsung.com, linux-arm-kernel@lists.infradead.org, linux-samsung-soc@vger.kernel.org, linux-clk@vger.kernel.org, devicetree@vger.kernel.org, =?utf-8?q?Andr=C3=A9?= =?utf-8?q?_Draszik?= <andre.draszik@linaro.org> Subject: [PATCH v2 3/6] arm64: dts: exynos: gs101: use correct clocks for usi8 Date: Tue, 30 Jan 2024 09:36:42 +0000 Message-ID: <20240130093812.1746512-4-andre.draszik@linaro.org> X-Mailer: git-send-email 2.43.0.429.g432eaa2c6b-goog In-Reply-To: <20240130093812.1746512-1-andre.draszik@linaro.org> References: <20240130093812.1746512-1-andre.draszik@linaro.org> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: <linux-kernel.vger.kernel.org> List-Subscribe: <mailto:linux-kernel+subscribe@vger.kernel.org> List-Unsubscribe: <mailto:linux-kernel+unsubscribe@vger.kernel.org> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1789509389273939099 X-GMAIL-MSGID: 1789509389273939099 |
Series |
gs101 oriole: peripheral block 0 (peric0) fixes
|
|
Commit Message
André Draszik
Jan. 30, 2024, 9:36 a.m. UTC
Wrong pclk clocks have been used in this usi8 instance here. For USI and I2C, we need the ipclk and pclk, where pclk is the bus clock. Without it, nothing can work. It is unclear what exactly is using USI8_USI_CLK, but it is not required for the IP to be operational at this stage, while pclk is. This also brings the DT in line with the clock names expected by the usi and i2c drivers. Update the DTSI accordingly. Fixes: 6d44d1a1fb62 ("arm64: dts: exynos: gs101: define USI8 with I2C configuration") Signed-off-by: André Draszik <andre.draszik@linaro.org> Reviewed-by: Sam Protsenko <semen.protsenko@linaro.org> Reviewed-by: Tudor Ambarus <tudor.ambarus@linaro.org> Tested-by: Tudor Ambarus <tudor.ambarus@linaro.org> --- v2: * add an empty line to commit message * collect Reviewed-by: Tested-by: tags --- arch/arm64/boot/dts/exynos/google/gs101.dtsi | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
Comments
On Tue, 30 Jan 2024 09:36:42 +0000, André Draszik wrote: > Wrong pclk clocks have been used in this usi8 instance here. For USI > and I2C, we need the ipclk and pclk, where pclk is the bus clock. > Without it, nothing can work. > > It is unclear what exactly is using USI8_USI_CLK, but it is not > required for the IP to be operational at this stage, while pclk is. > This also brings the DT in line with the clock names expected by the > usi and i2c drivers. > > [...] Applied, thanks! [3/6] arm64: dts: exynos: gs101: use correct clocks for usi8 https://git.kernel.org/krzk/linux/c/512b5a875cd8b8352257fefe71513097ee97be77 Best regards,
diff --git a/arch/arm64/boot/dts/exynos/google/gs101.dtsi b/arch/arm64/boot/dts/exynos/google/gs101.dtsi index bc251e565be6..e5b665be2d62 100644 --- a/arch/arm64/boot/dts/exynos/google/gs101.dtsi +++ b/arch/arm64/boot/dts/exynos/google/gs101.dtsi @@ -380,7 +380,7 @@ usi8: usi@109700c0 { ranges; #address-cells = <1>; #size-cells = <1>; - clocks = <&cmu_peric0 CLK_GOUT_PERIC0_CLK_PERIC0_USI8_USI_CLK>, + clocks = <&cmu_peric0 CLK_GOUT_PERIC0_PERIC0_TOP0_PCLK_7>, <&cmu_peric0 CLK_GOUT_PERIC0_PERIC0_TOP0_IPCLK_7>; clock-names = "pclk", "ipclk"; samsung,sysreg = <&sysreg_peric0 0x101c>; @@ -397,7 +397,7 @@ hsi2c_8: i2c@10970000 { pinctrl-names = "default"; pinctrl-0 = <&hsi2c8_bus>; clocks = <&cmu_peric0 CLK_GOUT_PERIC0_PERIC0_TOP0_IPCLK_7>, - <&cmu_peric0 CLK_GOUT_PERIC0_CLK_PERIC0_USI8_USI_CLK>; + <&cmu_peric0 CLK_GOUT_PERIC0_PERIC0_TOP0_PCLK_7>; clock-names = "hsi2c", "hsi2c_pclk"; status = "disabled"; };