From patchwork Thu Mar 30 19:47:33 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Vladimir Zapolskiy X-Patchwork-Id: 668614 Delivered-To: patch@linaro.org Received: by 2002:a5d:4d08:0:0:0:0:0 with SMTP id z8csp115764wrt; Thu, 30 Mar 2023 12:51:58 -0700 (PDT) X-Google-Smtp-Source: AKy350Y/TnUCtTCRkjloZnR5QoO5ZbKmk9Yl5LgLdCAVoNIHXdcwd7NRosEFx6fExb12+GgZbEoq X-Received: by 2002:a17:90a:193:b0:23b:89df:4cf4 with SMTP id 19-20020a17090a019300b0023b89df4cf4mr26773159pjc.42.1680205918547; Thu, 30 Mar 2023 12:51:58 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1680205918; cv=none; d=google.com; s=arc-20160816; b=OMlN1/m6IHvAAwydo6xN69HdO9a5iYV7gxh8eNQuQA3AjwXJX2S2Oy63n9+FMDTnn2 wsn8vaYpY945EjAsi1U+LiatnKmlizhTF9u9HrV4LlYaw3svYEl/jhJXjnY0NMDDscAo GArMMkb7VGEaAMC2EKFW0Vpd91eXpee43HcIRVsEJ0d39ID4S1vSo9tdIlrJFsjDlgz8 WThgWPC7UhOp+G8Ee3c46OmVni2pltWJfjUj0ZurGz0lGBQpylpkKg53JNdV19/Z14RF 0g0gneBX3KjeFNoamuK9dVU1ZLoA8sO2Rtc36To3ii6HrmFqZB1Lui1MSbclhTcoAyac hqaA== 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=PuurH8vF6+a47Q4Rv9X42jn7qcMFtqrCUke6q+YLwiI=; b=KIPIOnK0cZ+eRR7KJBIyJKtUhwLNo6pAUOd1s9VrOKtp1xldi1BP33OK9bO3n/wseO Kn5nRYc7FL+J+NJXkyzE3hFeCf2lHQaTYIM3Fm+POmJB2qvlpsjlDj4amxWtdKmLU6Jk I4r4V9sK0k43XUct/z+DzAIsZmo4MbO3otuTBA/TvVrrgsE3pTjXu7Kf81oN5v/4gbfl SLRUKQLrGxpWl97And6FfNGe0LS7Q1g6E9eEaT77cZNWVBvyFMrG9OygTl5OIieaTw1y VOcqpdyYwuyuBHGhGztsydRFgzImC/1M5MnAqOTIDj+krSidZkkvdlHK4cf6ZIEUZWJP BiNg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=q4kQ7HNG; 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 d23-20020a631d17000000b0050239e95d34si425499pgd.260.2023.03.30.12.51.57 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 30 Mar 2023 12:51:58 -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=q4kQ7HNG; 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 0CA2986140; Thu, 30 Mar 2023 21:51:52 +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="q4kQ7HNG"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id E67A685F30; Thu, 30 Mar 2023 21:47:49 +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-lj1-x22c.google.com (mail-lj1-x22c.google.com [IPv6:2a00:1450:4864:20::22c]) (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 E35B585714 for ; Thu, 30 Mar 2023 21:47:44 +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=vladimir.zapolskiy@linaro.org Received: by mail-lj1-x22c.google.com with SMTP id by14so1630797ljb.12 for ; Thu, 30 Mar 2023 12:47:44 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1680205664; x=1682797664; 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=PuurH8vF6+a47Q4Rv9X42jn7qcMFtqrCUke6q+YLwiI=; b=q4kQ7HNGghWWJC4FI2hqYh0nJekliqQ9S+NvGteLbAybrAkAn4dml0oA3BdedY/LZK dOKaOl/i/bhaa/RhU3xWvphg3PmP32PZlUsHiw9x8t7yFrOwxuBsGdDMvBv0kXx38CC2 rmPrHzUGWt/Wijl18XQRakwmMHpGov0wNx86MxZ10FzO2RBcaXLMjAo+JCMTASG59/Ck q5cBk/gguOxpmF2xy900FHFDP0ZCXqzfhv7RjDYp0ZJoQz+7N6ASVQ1n87KtnK7jtRSt bD2xBglyzF4ut+7Dpb5+LniZnDwc0EKrR0FKXL0XxDs/IceeyBbcwEGN2jPLgiTur96S 5Ktg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1680205664; x=1682797664; 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=PuurH8vF6+a47Q4Rv9X42jn7qcMFtqrCUke6q+YLwiI=; b=o+xAv3FrzSgDJUsqvxo4cNA/FywStJ4/29pbwSrlhLxy7Lgl6TRPZsrhuNhJADb+jS 7RvJnP7qEjU/c9Zep20EuSbjscUFIHeVI6KKFYbSAzMAIIPC+eLux9aA11anKZ8zVotg x+IDnnTe1amMbNixxtWV7pcJzpqwLYCF4U5dGa/kW7aK+a9kjIYid2fepgSmK/XG99NA 6vb6BvvXgNyTIdjQznBsUlIsN01TDyQFVsNFa6uVbXivliZKIKHbS0HpG67JOypWkKoO KK2fE1ahk7Y9o0gn0SuNQAXPlQ1wCUc7W/iRcISCO+5xo7bDcT8Tf1cj3mgTP7pmr/KT pv3g== X-Gm-Message-State: AAQBX9cY5uEmOltGPRz5RlHSXmhw8k5bspjr9dXmdAf7XlwDbChj12ob zmU0vuktE2OE7r/CQyMltKYUUA== X-Received: by 2002:a2e:bc05:0:b0:29b:55bc:2bb3 with SMTP id b5-20020a2ebc05000000b0029b55bc2bb3mr8455615ljf.3.1680205664224; Thu, 30 Mar 2023 12:47:44 -0700 (PDT) Received: from localhost.localdomain (88-112-131-206.elisa-laajakaista.fi. [88.112.131.206]) by smtp.gmail.com with ESMTPSA id i19-20020a2e8093000000b0029f3e2efbb9sm46674ljg.90.2023.03.30.12.47.42 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 30 Mar 2023 12:47:43 -0700 (PDT) From: Vladimir Zapolskiy To: Tom Rini , Simon Glass Cc: Ramon Fried , Konrad Dybcio , Bhupesh Sharma , u-boot@lists.denx.de Subject: [PATCH 3/6] serial: msm-geni: remove invalid se-clk clock name Date: Thu, 30 Mar 2023 22:47:33 +0300 Message-Id: <20230330194736.2400593-4-vladimir.zapolskiy@linaro.org> X-Mailer: git-send-email 2.33.0 In-Reply-To: <20230330194736.2400593-1-vladimir.zapolskiy@linaro.org> References: <20230330194736.2400593-1-vladimir.zapolskiy@linaro.org> MIME-Version: 1.0 X-Mailman-Approved-At: Thu, 30 Mar 2023 21:50:39 +0200 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 There is only one clock supplier to the serial IP, thus getting it by name is not needed, also note that "clock-names" property is not listed under doc/device-tree-bindings/serial/msm-geni-serial.txt, and finally "se-clk" clock name is invalid, if added, it shall get "se" value like it's already described in Linux device tree documentation. Signed-off-by: Vladimir Zapolskiy Reviewed-by: Konrad Dybcio --- drivers/serial/serial_msm_geni.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/serial/serial_msm_geni.c b/drivers/serial/serial_msm_geni.c index df61ae04df0a..1b12fdfbdafc 100644 --- a/drivers/serial/serial_msm_geni.c +++ b/drivers/serial/serial_msm_geni.c @@ -183,7 +183,7 @@ static int geni_serial_set_clock_rate(struct udevice *dev, u64 rate) struct clk *clk; int ret; - clk = devm_clk_get(dev, "se-clk"); + clk = devm_clk_get(dev, NULL); if (!clk) return -EINVAL;