From patchwork Wed May 22 23:31:22 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sam Protsenko X-Patchwork-Id: 798208 Delivered-To: patch@linaro.org Received: by 2002:ab3:6414:0:b0:267:d849:ee76 with SMTP id j20csp919012lte; Wed, 22 May 2024 16:37:06 -0700 (PDT) X-Forwarded-Encrypted: i=2; AJvYcCUKA0JMOZJgrCT5gVGS2CSv0H6SdqkCK4pL5pfqiDKkJmj4KRpQ2IMS9kmw6hZcPsuD6j4YlbyjQREIXilKqc7q X-Google-Smtp-Source: AGHT+IFidLQO7YKVwMvXFd6Da26kJ3kA0KIJdXUWHysAmwXFcz+0Bk3e/D6jOaAsC6xbFpN8eGSf X-Received: by 2002:a17:906:2b53:b0:a59:a977:a154 with SMTP id a640c23a62f3a-a622818fa42mr199909466b.64.1716421026047; Wed, 22 May 2024 16:37:06 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1716421026; cv=none; d=google.com; s=arc-20160816; b=VITNQoATtmHndMLq51FRLMQ1FepYJPGkrV0ty6pfu0SngT8bFTVECYMsnI6LqGJ0tQ R7V9HsCLRddwNqObj2Wf0ku9kABY7vDivYHSUG4nY43xLLZfiJiy97CE2oMj433ttAbN vfYS6KGmw66zW7WQBLXuhya8lVoJOGFaOSE3kbr2ugyZTSGBQ4cXSzy9dOKaQsRhJafw cfHkcYsSvLcV84RoomjYE1LT+gdMJ0f6tDdLIjni7u1PP1tHQ0IahkI/r9yFjfMWAgBE ElU4GEUeNLOHdpDIROCXlBoFAvGd9wLC9Z49xLNaEeZBTzB0JAZnaNYh9fou4B0pbqBj sKPQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:content-transfer-encoding :mime-version:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature; bh=zcH+hdIdUCPobv7oA3xIfa7qmTWGmaI58Zz2CMx7/uo=; fh=51qtoUbPSTS08JoPCPpWRyEY6CauPsGpXYitMizttt8=; b=Ohz4rFLjmIf3wBKg3ImE1/YwLFSUgpL7Sarv8zfaYgIc5R5eTUrB3tlZ4ORPdnIxdZ tVp9dYZB1FnWgIcqq1a40Kww+ZUPy9gJb0JWUzZY64CMsGgJ2zpInmhfzaa/VlNmubYY Ki1locqd704bugOn3C92OzjMcXhQ7PceWqZmLzbTebtQPxgnRMBu1l/1vjsiIXe8CFNc /5mDgsenF6XhdoUBGqB/6iC5xI6EpGCFn/uvPYvjEZCNGh54J0XMJ/eh8NRg9ugppV7R 4damHe9jefaxiyC99lQ8Ja1GkaEwB2LHqw/Tv18iaf4HJOxzHaXkE07aWq0RMCtZu9/Z Ok0A==; dara=google.com ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=AUbQEJ0C; spf=pass (google.com: domain of u-boot-bounces@lists.denx.de designates 85.214.62.61 as permitted sender) smtp.mailfrom=u-boot-bounces@lists.denx.de; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from phobos.denx.de (phobos.denx.de. [85.214.62.61]) by mx.google.com with ESMTPS id a640c23a62f3a-a5a17b21d4bsi1567562566b.301.2024.05.22.16.37.05 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 22 May 2024 16:37:06 -0700 (PDT) Received-SPF: pass (google.com: domain of u-boot-bounces@lists.denx.de designates 85.214.62.61 as permitted sender) client-ip=85.214.62.61; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=AUbQEJ0C; spf=pass (google.com: domain of u-boot-bounces@lists.denx.de designates 85.214.62.61 as permitted sender) smtp.mailfrom=u-boot-bounces@lists.denx.de; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id DA4AC885D0; Thu, 23 May 2024 01:32:14 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=linaro.org Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Authentication-Results: phobos.denx.de; dkim=pass (2048-bit key; unprotected) header.d=linaro.org header.i=@linaro.org header.b="AUbQEJ0C"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 2484288590; Thu, 23 May 2024 01:32:09 +0200 (CEST) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on phobos.denx.de X-Spam-Level: X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.2 Received: from mail-ot1-x335.google.com (mail-ot1-x335.google.com [IPv6:2607:f8b0:4864:20::335]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits)) (No client certificate requested) by phobos.denx.de (Postfix) with ESMTPS id 874188858E for ; Thu, 23 May 2024 01:32:02 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=linaro.org Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=semen.protsenko@linaro.org Received: by mail-ot1-x335.google.com with SMTP id 46e09a7af769-6f12ff2da3fso2478964a34.3 for ; Wed, 22 May 2024 16:32:02 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1716420721; x=1717025521; darn=lists.denx.de; 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=zcH+hdIdUCPobv7oA3xIfa7qmTWGmaI58Zz2CMx7/uo=; b=AUbQEJ0CSZcE9WGv79tC3MBYAoukIVw+Ifi427Psso+Ws92Eej3bEDwot+bx2ttlpT 2caSbWrWxHtQIdAjU7V8aV/jKBseJfad6NyR8WP1rUfIOw3qyxl1bh8HkG6opAvVoXMR nmG/Rvd/HJ16s/C/7EpIQzo7kN26CemR4FICBdOD9ruAtFTptSMhpT/MP2knkux9jdIX j1PpCWO4mPjuVeb65UhegFyeWB3jWRV43syXSHrov6wOgND6jvCajStFmx8IOOHfaObD a3TeV9nn0NKnF4CILQoixlAljRUtDwpDK4DuMnHjpmjWK5qV/8h3mMFKWCWqt6Z8ORne Eq4g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1716420721; x=1717025521; 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=zcH+hdIdUCPobv7oA3xIfa7qmTWGmaI58Zz2CMx7/uo=; b=OmpkGNbzdz7lMWmHx5n21Ugolww68cC+nM4RQ3MvbCeMT5TZYSS1Z33Gd2tVx46tZI h6+ArsDfwVLliYIHU1iwwB2HfdTpxkF85IYLHtaCqDvl7OaTn/LGhiEhGy4Qh4OOdRO7 TbK9S871+8MYZpQ6SNUe5tibeNmttuzHv6obtCpu9oCWzP2gYdCI/awkO/X3qD6DV/PZ D+Ln8Yqk9//Q2N6lVRpWIANHaaCNxNAZXO92rkClSSQfkzfF6GVcbTZ1keqfG30amcDu BAYEPib/MAksR016z4vH8uvkH116/NKrtSIUPoeGh8j6HlgJM4Py7Mh5yt0wLzqhNyi7 scEw== X-Forwarded-Encrypted: i=1; AJvYcCXHUfXZXGknBtQ8a2OP65OLgvy9oLn6z9leQLgu0/LVGWxZt0y/b52OiE+UNiQZ1HtRHAF0BLDwdw9z/9kEpXPnjyNGGw== X-Gm-Message-State: AOJu0Yx71X0kCRUr3EfUtHfGwb5XGPnkl+4w1ZhVcP0DLosXfHg1yN+t BZyvOAp6SJIL+wPqkckqsuAwZ+2gTRi0eep9l8yTnhIXgPTLO+oDXjBKip35FYQ= X-Received: by 2002:a05:6830:3156:b0:6f1:2ff3:5abb with SMTP id 46e09a7af769-6f66518f849mr4596730a34.5.1716420721367; Wed, 22 May 2024 16:32:01 -0700 (PDT) Received: from localhost ([136.62.192.75]) by smtp.gmail.com with ESMTPSA id 46e09a7af769-6f0e022339dsm5193640a34.62.2024.05.22.16.32.01 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 22 May 2024 16:32:01 -0700 (PDT) From: Sam Protsenko To: Tom Rini , Minkyu Kang , Peng Fan , Jaehoon Chung , Simon Glass Cc: Philipp Tomsich , Kever Yang , Eugeniy Paltsev , Peter Robinson , Jonas Karlman , Yang Xiwen , Ferass El Hafidi , Sean Anderson , u-boot@lists.denx.de, uboot-snps-arc@synopsys.com Subject: [PATCH 29/42] mmc: exynos_dw_mmc: Read common clock-frequency property Date: Wed, 22 May 2024 18:31:22 -0500 Message-Id: <20240522233135.26835-30-semen.protsenko@linaro.org> X-Mailer: git-send-email 2.39.2 In-Reply-To: <20240522233135.26835-1-semen.protsenko@linaro.org> References: <20240522233135.26835-1-semen.protsenko@linaro.org> MIME-Version: 1.0 X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.39 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" X-Virus-Scanned: clamav-milter 0.103.8 at phobos.denx.de X-Virus-Status: Clean Instead of using non-standard "bus_hz" dts property, read common "clock-frequency" property used in upstream Linux kernel. It's safe to do so, as "clock-frequency" property was already added to corresponding nodes in all affected Exynos device tree files. No functional change. Signed-off-by: Sam Protsenko --- drivers/mmc/exynos_dw_mmc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/mmc/exynos_dw_mmc.c b/drivers/mmc/exynos_dw_mmc.c index b046ac6c55ea..8a307c9c123b 100644 --- a/drivers/mmc/exynos_dw_mmc.c +++ b/drivers/mmc/exynos_dw_mmc.c @@ -306,7 +306,7 @@ static int exynos_dwmmc_of_to_plat(struct udevice *dev) } host->fifo_depth = dev_read_u32_default(dev, "fifo-depth", 0); - host->bus_hz = dev_read_u32_default(dev, "bus_hz", 0); + host->bus_hz = dev_read_u32_default(dev, "clock-frequency", 0); return 0; }