Received: by 2002:a05:7412:d1aa:b0:fc:a2b0:25d7 with SMTP id ba42csp502488rdb; Mon, 29 Jan 2024 08:42:51 -0800 (PST) X-Google-Smtp-Source: AGHT+IFpTR36x0sBPrBJeDae1E3fZ8PGMwTU8TqixL3decjZcCHmteUW4cBPfYdkaR8p4+44D5pX X-Received: by 2002:a17:902:e752:b0:1d7:3962:4ce5 with SMTP id p18-20020a170902e75200b001d739624ce5mr7507702plf.67.1706546570963; Mon, 29 Jan 2024 08:42:50 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1706546570; cv=pass; d=google.com; s=arc-20160816; b=qEfn1JY8JWfNdiUDPwXu45q0iDqa4jZrP/n+tK9npXdKA0VA9LQGheg4z/s3VpzUr/ C+gV0UpQWpZvfNxot03s+f7P9NKTKJLtSuBxThJtHyO7HQQzkZVfngExGUBCztvT7+oJ yxnD6QBabjaAtmDelKaOy291CBV4YJLWYfH6pBPlVscVXtDaltaHsFTA2tubJIeFcWDT 5wnfFSlcZaDGhC/fYMKK5/1mtcA+RyVPYNHFTMjf1/z/L5qqo1+OAnr4tBJ1UXoNr3P+ XKBQKIa80qnal4HLJHQopERFA0VwfAqZR/AXLv9iEylb+Zi+jjMheBLcNpRgvQEBFTr9 uM7Q== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:in-reply-to:references:cc:to:from :content-language:subject:user-agent:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:date:message-id:dkim-signature; bh=yYsUavmWV+6BfBH3yu3ngTFUF3L9esmHz5FzVfYvcmg=; fh=HlsR49tSXmhBh7OM5FvWkFV/ZApCCVJLcDfctawXV0g=; b=STk2lzX1MddtGSL5ZFBipEZtF7PfAGBcROLk68EAPU1qYccHh9Mo5jSo7Hb7/5Omz6 0MiXXMmdtw9ONImiK2vY3fo7iTn5jyjq7elIOzXgf+BiU2QxHNoo2sPJc8UlD0dY14SJ xmLDbOQ0XIAqlIBkYxP5zTKiJGd29w3nQ0x16GvEsRPYjNCDbxxx2QODRqdQ/ROYttKE hCoY8o8S4neUxTJZ6oN3RA+eg3JeIoFOs+MdArrCVHxpOr7rRZAqsbSaUjNh3ej5pjRK OLwEBGPKKVmxNqGIHEvMkAHJbHLpaoerFlgWnJ/R/2gey8szfOISIEqnwyf1CppGhpkM 9EZg== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=qGyzyaS+; 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-43120-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-43120-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [139.178.88.99]) by mx.google.com with ESMTPS id j12-20020a17090276cc00b001d8ceaa1a4csi2721461plt.427.2024.01.29.08.42.50 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 29 Jan 2024 08:42:50 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-43120-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) client-ip=139.178.88.99; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=qGyzyaS+; 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-43120-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-43120-linux.lists.archive=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 sv.mirrors.kernel.org (Postfix) with ESMTPS id 5EB2C28A6C6 for ; Mon, 29 Jan 2024 16:39:02 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id C302D156986; Mon, 29 Jan 2024 16:33:24 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="qGyzyaS+" Received: from mail-lj1-f175.google.com (mail-lj1-f175.google.com [209.85.208.175]) (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 2E10A156987 for ; Mon, 29 Jan 2024 16:33:21 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.208.175 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706546003; cv=none; b=bubzjkhr63YS+cvVkgBe/WVW11D0dpPR870QiFX9uuwMua5a2vTsr6kwwmUxFfWDozY+zRLXhrLi5JUo1wWly7a/hdxAo/fR/M3QMFWsjfsgJIwwRa6baCjLwg0RoRvI6WMkeKiIrMlciykQF4nAkrHKnWdcOH9cuiJAmBy6SKk= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706546003; c=relaxed/simple; bh=RbYijDpPVVCJap+th+HFTbm3g0/fwzh/E0PyKIP7Z8I=; h=Message-ID:Date:MIME-Version:Subject:From:To:Cc:References: In-Reply-To:Content-Type; b=FXFz3GPllveRwWkllaNsU76wEyUtlgjOSXKfhkFt++/mZ6PxNZTSDq80fUS04BU9VD5v9jL5/473kH8zrYzXy4EZF6818aBrHIzTEJHlUyTeAjtiRhVN3FAcFkko7zafQzr28P9xhzI1lCH72saDEmygjXA9CjNcoEwPU1gCGGk= 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=qGyzyaS+; arc=none smtp.client-ip=209.85.208.175 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-lj1-f175.google.com with SMTP id 38308e7fff4ca-2cf3a0b2355so35793051fa.0 for ; Mon, 29 Jan 2024 08:33:21 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1706546000; x=1707150800; darn=vger.kernel.org; h=content-transfer-encoding:in-reply-to:references:cc:to:from :content-language:subject:user-agent:mime-version:date:message-id :from:to:cc:subject:date:message-id:reply-to; bh=yYsUavmWV+6BfBH3yu3ngTFUF3L9esmHz5FzVfYvcmg=; b=qGyzyaS+kyWR+pZEsV9LFoCBiJZTBeFsoETw5LnzeigL38d7tJuMkpCBjgDpl7hnx8 wQVhysdRxgPYCyjiBAQ2xeY1cVdwjDrTSnxJs3nyHZqpIYpAnutiowS1hSEmH38rjuuA pAjusI0aK9Xyfq4LOzNwMYfkXms8l6tM6SJEzu9ldScR8njLbOFQf0Jox3TkFEYD8O6f dg+byEX6qb5hhkDS9EGsb6uaSIlJeBms36I/icxhhfUd3l35ncxZdw1KhVJAzG7b0grU /b0aKr5zXICS/gZKkuaCkx4OaLv5nUf5qNxj02HM6HHbv7vYW1qCOH0EvBUZiPgKSuSn yNWw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1706546000; x=1707150800; h=content-transfer-encoding:in-reply-to:references:cc:to:from :content-language:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=yYsUavmWV+6BfBH3yu3ngTFUF3L9esmHz5FzVfYvcmg=; b=QFgiagXqG+yhKeTJfD74/GTZHn1cLOuGF+IjxH9zi1y7WCnH6jv4v4juyF6Xz51AkX n4aPnQ4PJyANZxee+2wu5HdDDIumW6JuKMJ/q9bHXn3HQ+7faTNQeaRwZ8WQbZ9x+NlK ngO6Tb2lqsTEWeGMSg9J0HWtT5dKHN+Feta1zGWRGygG/vnxKgKrEIK7YdVpzmkZrL7R zbco0BelkzTAwQVULIJVjGf3jee5dwL9QUHgjk42O+8cAATQuo5AdFVjKJOy6RUQxG6c lb7cQcYJIH50zomq+X1QV6kRljZljPaCafFC5OSDg7hgkHWy2Duj26iuaGK46UhWXJaQ iIsA== X-Gm-Message-State: AOJu0YzZn6YBDNZYRYPQfh565tCpgdj7nCw8+E1/1s4bgHsRcZknIQEN 2DiPdMbXC0OZvg/e3PKhMrTi1ccz7TMuzOJFq/ROTRUslFbSR0gPVXAQ4Kp0yhw= X-Received: by 2002:a2e:740d:0:b0:2d0:417a:80f2 with SMTP id p13-20020a2e740d000000b002d0417a80f2mr2809772ljc.2.1706546000074; Mon, 29 Jan 2024 08:33:20 -0800 (PST) Received: from [192.168.2.107] ([79.115.63.202]) by smtp.gmail.com with ESMTPSA id em2-20020a056402364200b0055ec051ab49sm2642169edb.6.2024.01.29.08.33.18 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Mon, 29 Jan 2024 08:33:19 -0800 (PST) Message-ID: <49d187f5-3c37-4c3b-a2f5-52dd805e84ee@linaro.org> Date: Mon, 29 Jan 2024 16:33:17 +0000 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH 3/5] arm64: dts: exynos: gs101: use correct clocks for usi8 Content-Language: en-US From: Tudor Ambarus To: Sam Protsenko , =?UTF-8?Q?Andr=C3=A9_Draszik?= , Krzysztof Kozlowski Cc: peter.griffin@linaro.org, robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org, conor+dt@kernel.org, linux-kernel@vger.kernel.org, kernel-team@android.com, willmcvicker@google.com, alim.akhtar@samsung.com, s.nawrocki@samsung.com, tomasz.figa@gmail.com, cw00.choi@samsung.com, mturquette@baylibre.com, sboyd@kernel.org, linux-arm-kernel@lists.infradead.org, linux-samsung-soc@vger.kernel.org, linux-clk@vger.kernel.org, devicetree@vger.kernel.org References: <20240127003607.501086-1-andre.draszik@linaro.org> <20240127003607.501086-4-andre.draszik@linaro.org> In-Reply-To: Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit On 1/27/24 04:00, Tudor Ambarus 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. >> Empty line is missing here? >> >>> 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. >> From [1] it looks like DIV_CLK_PERIC0_USI8_USI is a common parrent for >> these two leaf gate clocks: >> 1. GOUT_BLK_PERIC0_UID_RSTNSYNC_CLK_PERIC0_USI8_USI_IPCLKPORT_CLK >> 2. GOUT_BLK_PERIC0_UID_PERIC0_TOP0_IPCLKPORT_IPCLK_7 >> >> So IIUC, you replace clock #1 with clock #2 in this patch? If so, I > No, GOUT_BLK_PERIC0_UID_PERIC0_TOP0_IPCLKPORT_IPCLK_7 is already used by > IPCLK, the one that controls the clock frequency. > > So I understand Andre' replaces a child of the USI8 with something else. > > I don't think this works. We shall at least test it. I tested my usi8 > patches with the eeprom that's populated on the battery connector. I'll > sync with Andre' offline and redo the tests on Monday. Andre' is right, I messed up the bus clocks for USI. I tested the IPCLK, the one that feeds USI clients, but I failed to correctly test the bus clock. I retested by removing the clk_ignore_unused bootargs param and verified that the patch is correct. Reviewed-by: Tudor Ambarus Tested-by: Tudor Ambarus