From patchwork Thu Jul 25 20:45:09 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sam Protsenko X-Patchwork-Id: 814404 Delivered-To: patch@linaro.org Received: by 2002:adf:e641:0:b0:367:895a:4699 with SMTP id b1csp567474wrn; Thu, 25 Jul 2024 13:50:16 -0700 (PDT) X-Forwarded-Encrypted: i=2; AJvYcCVaKpHqlS0nM5aEv3CVL/zJFl8aIVKIz1roGIwdyGDSUPTy3b0T44oDGf428SZxnOqfOid6nnlWGUE+okg7PKdS X-Google-Smtp-Source: AGHT+IFj9NlRyhVfQXf8S0N+l3rV1voHEA1yDVV6Li7hKxvbfFq+NvIPCRF/fs0ExWp9ynF+sraW X-Received: by 2002:a05:6512:2c0b:b0:52e:7a8c:35a0 with SMTP id 2adb3069b0e04-52fd608773fmr2092688e87.7.1721940615932; Thu, 25 Jul 2024 13:50:15 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1721940615; cv=none; d=google.com; s=arc-20160816; b=A7Bnk+pT2EXDSOWCV4jXGzl2z2aADhLLmBuqYe5dnDusH8+GcbujX9RKGyF890iXAo el99ytCpBb1jC3B6NYeMA/8Nx1zMgb0PNc069Z4qCDhcDNqqflzNWhE8pT0o35OuEUJJ 8rZUufS9tIAdM5RY1iaf5oqr+MipU7h5oXmppRI5lJx7zSC4+rZqtUNIUS8yUqp3e4Cq 47cA9ov/qpl+kebwTmBVro7wBjs9+LsBgBDPbsnV78lRlrOzz7n5MICLEBBZb/6BH6MI 2Tb//T7bHAbbSLusMjTbDftxsz5Bd7kV92dM17A96UzSzld+Waw8hWc7XgEZgTlaxPmu TEeg== 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=XNDumY49CDktTqx3IPFl3vyE5aLeGsbRRyWHKlFDfo4=; fh=sAoK1xs12mwzXoOSaH9kYtSYu8JJvPQt40sejs5yN8s=; b=0ULq4H6uTss924bYTP6J7pK77iOCVRadg9sxCXm/5Qw8LIF/3uv1U4J1Qba3TEnaq1 gNx6k1TLkyckSK5n8KR/QtQFHdgrf3T+J+6XuZ3UHAqFHdBOpD/sGJPhgonUmMEoeuPD ahk0453k8dHOzXswz156VHGfGKEQYFmbRM2peu35G7obNx4lv5rmlSBmah5Titx7n1q6 NMt1Zqpdwz2CGLxvxgZ1yR+X0EVpVgOrcAbz0KAvhDm56dPjMuJGdh21KqrVjL8jiZG2 QG8COqJbQQvjfb13muN/JSgDEhgGpa/4vPLHoirCWKGRtEZ6vdxoSQRCp0/K9ZLg1ZaX S+0w==; dara=google.com ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=Dm9lN+Mu; 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 2adb3069b0e04-52fd5b94f14si662473e87.101.2024.07.25.13.50.15 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 25 Jul 2024 13:50:15 -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=Dm9lN+Mu; 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 12E3F88700; Thu, 25 Jul 2024 22:45:55 +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="Dm9lN+Mu"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id A1429886A6; Thu, 25 Jul 2024 22:45:44 +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-x330.google.com (mail-ot1-x330.google.com [IPv6:2607:f8b0:4864:20::330]) (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 8E4EA885C5 for ; Thu, 25 Jul 2024 22:45:42 +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-x330.google.com with SMTP id 46e09a7af769-70448cae1e0so164421a34.3 for ; Thu, 25 Jul 2024 13:45:42 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1721940341; x=1722545141; 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=XNDumY49CDktTqx3IPFl3vyE5aLeGsbRRyWHKlFDfo4=; b=Dm9lN+MuEOdNlaarrlMACxf0UncSois4k4/ShyYL1y/F9Lu3iUKY6kQt+7crjwKerB Q2MVn6Es14SIVE7G5KgVlsyAuK0vx1X67nosJ58Qn+N+Km2PYVxQbU0QusovtG2yyxSv fHEVnOSGRHRYnPTeDKKQhEuclcgZaRZEbw+yADHAzEkcbTHvgOG4oGBD54ewD9GEW6i4 6Q79S6L1zo2dfDuM38ClDZojUo6a6WfZ+LtRTdB/tue1Q88FRuFWicKNsy0V1tKq3cQa VoCHnQEmPD+PKiJXqCBF0kNGyxHeh7cttNT4wrTUiu9miwGjBuUh7nspKsRD4Ubb4+++ VCVg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1721940341; x=1722545141; 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=XNDumY49CDktTqx3IPFl3vyE5aLeGsbRRyWHKlFDfo4=; b=hpmWXvJNV12Nyc/zMEFWCpOQum5lxoxo9mpEPLTQ6WSsFBVB0NrsUJuuWtJrP5jXZp MmjhqfICw1c0HdrkbwxG1UIHCm8FRp8Rw31Stn+jEMZgEzmm/q5O68b20Cp32dRxb+0/ pvp1O7TVsXK21Ox6XTL8OByM/UjEDkaXmgSL0atrewB8/XeYGatcabM2t+oW5nPR5gHe T0k9RzFP5jDE+zctHn56oTma/4mAOSomaiplsFC1So4eZHJkmAkB/wQB50N4CMSh7FXT HqhNC4fhsXUbzVHkWZuUEOo3YhI5kX3BejjTDvEtL2zbwzVwc06LBXeA0qwLqPd+FfSW hMpg== X-Forwarded-Encrypted: i=1; AJvYcCWQEgHMvWVxZxB5aTuFbGtjFFwtF91blJxWxVBE72YBZnMXh8EmS9/kWL/oEcfz+58iNW8BG4kJ8g97S74hFb5Lfi09kg== X-Gm-Message-State: AOJu0YyTtH+t5lLDCi16sSFr0s9fjsRJ/rzAMS/QDWAl16oNQh6v8Ot8 swrlq5FebXXgrilQ5vNCE+Pf1yUVFrdjYCB8KBfTUYwAetcvZk4b90OhAFaMV2M= X-Received: by 2002:a05:6830:6181:b0:703:64ad:83e7 with SMTP id 46e09a7af769-709324fe04cmr4093479a34.30.1721940341393; Thu, 25 Jul 2024 13:45:41 -0700 (PDT) Received: from localhost ([136.62.192.75]) by smtp.gmail.com with ESMTPSA id 46e09a7af769-7093072b795sm460388a34.42.2024.07.25.13.45.41 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 25 Jul 2024 13:45:41 -0700 (PDT) From: Sam Protsenko To: Jaehoon Chung Cc: Minkyu Kang , Minkyu Kang , Tom Rini , 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 v4 27/38] mmc: exynos_dw_mmc: Read common clock-frequency property Date: Thu, 25 Jul 2024 15:45:09 -0500 Message-Id: <20240725204520.18134-28-semen.protsenko@linaro.org> X-Mailer: git-send-email 2.39.2 In-Reply-To: <20240725204520.18134-1-semen.protsenko@linaro.org> References: <20240725204520.18134-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 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; }