From patchwork Mon Jun 10 01:12:14 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sam Protsenko X-Patchwork-Id: 802959 Delivered-To: patch@linaro.org Received: by 2002:adf:f147:0:b0:35b:5a80:51b4 with SMTP id y7csp1735209wro; Sun, 9 Jun 2024 18:17:22 -0700 (PDT) X-Forwarded-Encrypted: i=2; AJvYcCXjFAZwkWOcBaXLUSAUQBxROl59Z/dVWPBowk9Vc0rhSC1Jn7G7kNTBbwqSr9+EOQomLZArBjloIbsbu/L3UUG0 X-Google-Smtp-Source: AGHT+IECb2m4oqo+UiZ1m9TD7SYTPd076oyF+PjMgzgsFD3xBxYgaeipLTskn4bK7ZwWynw32+8G X-Received: by 2002:a50:d4d5:0:b0:57c:7123:f91c with SMTP id 4fb4d7f45d1cf-57c7123fae1mr2843791a12.31.1717982242380; Sun, 09 Jun 2024 18:17:22 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1717982242; cv=none; d=google.com; s=arc-20160816; b=ehqV7Rgw3yq/U+pqm92iliityt6iojzTZqBnHil8tyj/l52IPvv/b3+LtuH62cboyl 6c1vTbE/P77I3rsg4naufaEl3BarM0WuyBGt61FRuSLUFTwHmO1/y2ry9r//HaffA5W+ laqk8thJmfW/DcGfBKzavNDiiOGadahj9bQHkz1ll5qbZtXmEjd0SUie2OzurtJ166aF ykPfzswhDdgF26OMKI5jR+KLXKI/SK465P5V/Dlg9xkvvc5J9kTTDA1ND/PsGEDThqHM gpa5RNPnDtiss0YBdiToNvRVE9i3d3OIPKIkVPcCGkr/BKiYtMONubxp3yRC1BqM5eST idcQ== 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=4DfZcccyAMkc/tLeZTfCqhTQ6IpdwbmKD97DahjONA8=; fh=AlHTqGYuwafvgdYWRZ/qfus13mgsu4ntLKeS6TGTF7Y=; b=GMe3QHwTLoVnRb2Y41bp0UfY1ik8QPZmiJs96AhtljglqftXIJ3FMTpgo1bu/rtzQj gS/OLMN6v9dIHafPkxiInqKXX7zsBHEwBbI9qcl44rSrAfbWEB3eVwRvg23/9v6m8x1P R7kJgeRRjYLV4NVYpLXklBWXzFnk6DNV/XPdca99biy2CfQVyRHKGrxrN6buMhv7oP/w rZKNJGIAz0DnRoteK3T/eILjS9EpXIUyFDh4AJ3QUqRWN6CZI8GBaBc5s0mDuUVRwHvC nVOFZeTjO5N3189SaxUgGoSqLyHSus8O21VoRN4xnPlNY/JHBkm6AT8YBv5DZGYXmss9 DDqQ==; dara=google.com ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=uhq4sEgd; 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 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 4fb4d7f45d1cf-57c74110593si1433161a12.123.2024.06.09.18.17.22 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 09 Jun 2024 18:17:22 -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=uhq4sEgd; 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 Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 598DF8853B; Mon, 10 Jun 2024 03:12:53 +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="uhq4sEgd"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id AC5A088511; Mon, 10 Jun 2024 03:12:50 +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, T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.2 Received: from mail-ot1-x32b.google.com (mail-ot1-x32b.google.com [IPv6:2607:f8b0:4864:20::32b]) (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 8796F88528 for ; Mon, 10 Jun 2024 03:12:48 +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-x32b.google.com with SMTP id 46e09a7af769-6f94cfc5101so2337316a34.2 for ; Sun, 09 Jun 2024 18:12:48 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1717981967; x=1718586767; 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=4DfZcccyAMkc/tLeZTfCqhTQ6IpdwbmKD97DahjONA8=; b=uhq4sEgdz0tn2qHNQfetaefSiT2hT2vnPLqM2oRFDAA8jDTKkZWjQi5rvc197P+3TC Nhxy1kFRoO+EBt6tK1iB6y4J6dONSh7vSQFChp49nbLMsITzWUlhJYudZVyn8ckrqI2L jVASNt4CvJBnN1zOKj+HA6J/s4JTL3u2YTIb/AkEhGeXGTnj71pN67PnwgQKiIBUOncP f4ydEIslJ5taBS6DOS0awBsBPksT3heMnGHInLjjkVA69Tl/ivYBo8cjpR9uqqvhZzpJ ls944i1wIChdtv0uqJ31jBNDCTRzOxlW848rTzdW8KMJfT8hTDBb1gVO5iomZ8rL0Zbk A/hw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1717981967; x=1718586767; 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=4DfZcccyAMkc/tLeZTfCqhTQ6IpdwbmKD97DahjONA8=; b=VWSwUg0OJ4towgtXRkoJeEh4TFlBhoyiW4s3nzd/L9UU/nGXh/di0TNn/47z5TigD2 o+3iGMyKR8AGT8dFDn73G2Z8QnBSl4/3sMWWZ5uGrhPPjFnKqTvfpzEWGD8nZUU9eQo9 slNt2PKStuRrdSPkSpeNe7lgcBLjSJ0Y8OsG6wW8gZet1eUiccWsuuAy1/83vpyDb2bs C82YiM23LV60jW6DqKG5QqujNdSBgeOyyctlNPKRDxNZ4Uo/Ni/mKwstTvh9AziOfRQ8 edyVXD3TRCzHD50M/Yh9aTu0zaW9g1hvJIzgwsg6toNkTrrZ7By4D8w3FA8T9CShSYyR bkPg== X-Forwarded-Encrypted: i=1; AJvYcCUqi1PbOa9DUeyaG5wo6bqdOB6jfqUg1b0s5bhucdvTAP7X4+XhdUHldDbnH7ZJK0At5gwtrmnWxAk6areSu6QjLYIwiQ== X-Gm-Message-State: AOJu0YxxjkrQiaSvuwpp89KgUazelaaC9PZukG1awxghKr4PuF9wjhl2 +vd2vOJt3efvj30zI7NuAJ8VyrW5wNnhjfuyWFf5EJTIEH7HsI6sYHffffyB2Uc= X-Received: by 2002:a05:6830:4118:b0:6f9:5dbf:d3af with SMTP id 46e09a7af769-6f95dbfe52fmr9171384a34.22.1717981967172; Sun, 09 Jun 2024 18:12:47 -0700 (PDT) Received: from localhost ([136.62.192.75]) by smtp.gmail.com with ESMTPSA id 46e09a7af769-6f9a4564028sm369310a34.6.2024.06.09.18.12.46 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 09 Jun 2024 18:12:46 -0700 (PDT) From: Sam Protsenko To: Tom Rini , Minkyu Kang , Peng Fan , Jaehoon Chung , Simon Glass Cc: 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 v2 28/40] mmc: exynos_dw_mmc: Read common clock-frequency property Date: Sun, 9 Jun 2024 20:12:14 -0500 Message-Id: <20240610011226.4050-29-semen.protsenko@linaro.org> X-Mailer: git-send-email 2.39.2 In-Reply-To: <20240610011226.4050-1-semen.protsenko@linaro.org> References: <20240610011226.4050-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 01e6bbb123f1..5ecee403c416 100644 --- a/drivers/mmc/exynos_dw_mmc.c +++ b/drivers/mmc/exynos_dw_mmc.c @@ -307,7 +307,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; }