From patchwork Thu Aug 8 03:14:33 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sam Protsenko X-Patchwork-Id: 817691 Delivered-To: patch@linaro.org Received: by 2002:a5d:4e11:0:b0:367:895a:4699 with SMTP id p17csp675737wrt; Wed, 7 Aug 2024 20:19:48 -0700 (PDT) X-Forwarded-Encrypted: i=2; AJvYcCWnRAFXJMOSo7WmEcoblqEVoCvyXx9fc8zAel7AQlZQVl+kMaRSFmS/PSLYybrIxV1l4mddsJxQ+vrAuj0o0hxe X-Google-Smtp-Source: AGHT+IEFLOOrcZn/M+nRoaMfasVJmb2s7G4SGAAUdIj+/RI2nAcN5vRQ8JmG9wf7IuYr71MTB20A X-Received: by 2002:a05:6512:3c9e:b0:52e:9619:e26a with SMTP id 2adb3069b0e04-530e5844362mr338267e87.26.1723087188564; Wed, 07 Aug 2024 20:19:48 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1723087188; cv=none; d=google.com; s=arc-20160816; b=Vr8NKeA2fY+CXPyZAv1KmpRE5RqhBYkgrs1vGdZlGKaGsB1yYf8V4Aomqfn5VKE3eW uMzhbMEmPS4HBBsuRXX7cx+pgPhBjbV6Bm2CNryurKYzCUzxmzL+vcN6+YOe3O7whLxB 8x/SwpwAUioauNxJRZFx0dRtgMROv6eep9ALl7rT3qlnAtEx+W4V2bCK/a54n24ZEUTk HR2LBYh5Bbw+QLMJIvF2mLP3tw9JmhsaGGO2B1UgqtMp7rKhwJDPMKBI15gpGaIdIytV n3VbOiSg+xhqgIj8UK6XypwTgcn9sGoos98vLt/Wf31UJT5h8dmbEUGuV05Afe2QS1ev loEg== 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=BEMddII/dJg7zeqKXZ6gh3nt7UHm8knkyF/Q9SP/yNk=; fh=JqIPkxqnZRzzucn15uTwMDS7JrPlR0Qnyieh5wSjklc=; b=SGhRRSA5Utvv1XC/a/2pUoppoJjvCoRMqlwj6oSOf/oUccVn32/c1kX+hjTYs5JrpI mpEdR/sPuW/cYsr1HROuAQJVG804LEUDxCRsEu8JWlCifPRShuZPoFVMiAmcSVV1iw0Y dg5iC3Im98NYoK1ox7xgiVE8ND61VtDwOpnMxmA0tZSYmBBmydDmXgpjYHuiaQYwa+0f JLJweg9DmanHUdUoTEofRftPUtNw6cYF8r0XZVJFOH4XTh8tSlcDlTKp52kg5LNj1gdM vVpRgiKBf6Zi9LWUZK98flIf+TyWFd9mR24Pmtjltnwd4+QooOoOtrJz56Ma0W0VhxVZ 9dOg==; dara=google.com ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=N8tYK29A; spf=pass (google.com: domain of u-boot-bounces@lists.denx.de designates 2a01:238:438b:c500:173d:9f52:ddab:ee01 as permitted sender) smtp.mailfrom=u-boot-bounces@lists.denx.de; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org; dara=neutral header.i=@linaro.org Return-Path: Received: from phobos.denx.de (phobos.denx.de. [2a01:238:438b:c500:173d:9f52:ddab:ee01]) by mx.google.com with ESMTPS id a640c23a62f3a-a7dc9d68b79si784939066b.479.2024.08.07.20.19.48 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 07 Aug 2024 20:19:48 -0700 (PDT) Received-SPF: pass (google.com: domain of u-boot-bounces@lists.denx.de designates 2a01:238:438b:c500:173d:9f52:ddab:ee01 as permitted sender) client-ip=2a01:238:438b:c500:173d:9f52:ddab:ee01; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=N8tYK29A; spf=pass (google.com: domain of u-boot-bounces@lists.denx.de designates 2a01:238:438b:c500:173d:9f52:ddab:ee01 as permitted sender) smtp.mailfrom=u-boot-bounces@lists.denx.de; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org; dara=neutral header.i=@linaro.org Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 24BC288BE6; Thu, 8 Aug 2024 05:15:16 +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="N8tYK29A"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id BB6D788B6B; Thu, 8 Aug 2024 05:15:08 +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-oi1-x22e.google.com (mail-oi1-x22e.google.com [IPv6:2607:f8b0:4864:20::22e]) (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 448C788B28 for ; Thu, 8 Aug 2024 05:15:06 +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-oi1-x22e.google.com with SMTP id 5614622812f47-3db504ab5f3so407138b6e.0 for ; Wed, 07 Aug 2024 20:15:06 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1723086905; x=1723691705; 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=BEMddII/dJg7zeqKXZ6gh3nt7UHm8knkyF/Q9SP/yNk=; b=N8tYK29A5uvhpMPHaykBQI5oJ00k4o9Z23bhvuLHiFfxVaZsd0oPqko8wmMS3DxXYG qiKl3pyUPKBG0foANwcAWCTrPWRmoWcDi8NiFCR7IIr+YZO41Hj9fXa1B1xM/QyIzklk Gvoqxl7mhvmZK3JgWXyuqWqMiMp1Kd6FKyb1UMJA9XFbl8o0AB0FT6HkOgP0lesZiq5D 52DF0P8R6zCRy8P/KtK5/UNeAgiZpTxhWp2opF9/uu5xust+fybzbn5W8Oe5Hbr4E27i 7dW1CBqmJ6FmLVr4aO2m4AiKblX4vPlBgqR6xY6W0kuFVX7PlycgonbgbDSEei2OtO39 sjwg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1723086905; x=1723691705; 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=BEMddII/dJg7zeqKXZ6gh3nt7UHm8knkyF/Q9SP/yNk=; b=j/vSn0Z9nYQGztybv2qVRny3+5glFCqLPF3I544sUwRc53IuHZwaJrIViPye7vcfAN aylUuouUs7aUI8zklcuRI703tbhDbpLTZFZzdIZ1dXIUdsdlTT7H5c2XU3Y4M6DeSy51 /5h2qfuTwHQf+sfAyIQwRcMoo9snsXDQYE/7+q0aDMmhXNBldSm26L5XuFN4XSIJC03q hbnLFdtB9qBFSg87HpQ30ei7/5+0BPnYtky642VHNqK9iznGsaImR/v3C099ugn6SQQe ndqlXh4uSr28rah6gca4rRTe0It8tfNAtBtmGmvhYr5jKEQT3KZV5WefI+7OKajXDRJ2 1MmQ== X-Forwarded-Encrypted: i=1; AJvYcCU9sqAClWtMiih67OydsUsd34xY5LauFuRfxftMIRhXETCfcybEroDvrh9VxtC6yX8j+a+/kXVTa0cHgXVaBARQDzFGVg== X-Gm-Message-State: AOJu0YyN+0mRmnzEPGJI2E10c69BOHn3QNOSB7bXw0CIHqCPPzL/PfOC ClnOLqKq2zbtZKBJj6Im0A/cXQyzAMS7H/kakXmiCejLZ4vpD7VEMXWtH6Ild5c= X-Received: by 2002:a54:4790:0:b0:3da:b3c2:b4c0 with SMTP id 5614622812f47-3dc3b455a2amr619017b6e.31.1723086904993; Wed, 07 Aug 2024 20:15:04 -0700 (PDT) Received: from localhost ([136.62.192.75]) by smtp.gmail.com with ESMTPSA id 5614622812f47-3db563c77b6sm4582401b6e.54.2024.08.07.20.15.04 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 07 Aug 2024 20:15:04 -0700 (PDT) From: Sam Protsenko To: Minkyu Kang , Minkyu Kang , Jaehoon Chung Cc: Tom Rini , Henrik Grimler , Peng Fan , Simon Glass , Quentin Schulz , 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 v5 27/38] mmc: exynos_dw_mmc: Read common clock-frequency property Date: Wed, 7 Aug 2024 22:14:33 -0500 Message-Id: <20240808031444.9619-28-semen.protsenko@linaro.org> X-Mailer: git-send-email 2.39.2 In-Reply-To: <20240808031444.9619-1-semen.protsenko@linaro.org> References: <20240808031444.9619-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 --- Changes in v5: - (none) Changes in v4: - (none) Changes in v3: - (none) Changes in v2: - (none) 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 612c2d0c615d..bed8bd8a0fcf 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; }