From patchwork Wed Apr 12 14:30:01 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Vladimir Zapolskiy X-Patchwork-Id: 672639 Delivered-To: patch@linaro.org Received: by 2002:a05:6000:184:0:0:0:0 with SMTP id p4csp370019wrx; Wed, 12 Apr 2023 07:31:09 -0700 (PDT) X-Google-Smtp-Source: AKy350a/dr9qk1ypFNFiWxtqHl2HLBvND9OEcurTqk1QEIw/WTkr6rw4K+rBzEgEJ0MvR8naGyeh X-Received: by 2002:a05:622a:205:b0:3e9:1b80:6c21 with SMTP id b5-20020a05622a020500b003e91b806c21mr1035674qtx.57.1681309868937; Wed, 12 Apr 2023 07:31:08 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1681309868; cv=none; d=google.com; s=arc-20160816; b=ZKRlZ2xit6NYUHFTCgh1rFoYgoDXk2bkkSsOMIBBtS19YLuWHgJNlrgQvEoGFSkKFm D0ld5tP8Tvcj4fA5fQY0Dx/83jWnHsNqt0NdjvZhTbm0tOMAxm6YdfDX0AyhP783RZmo FXaAHCTJwzMRMbRrzVcDIarP/b3XIkxeitmw569YWpiugms1pGAQEoMfIRvAOHq+fYf1 sQOafZN1mt05Ofez28q9ZWPXlAlhhKvx4K6az3nA30QUSEtRH21QXb+6N3zSI5eFFHCa R7IsWE9sODTFSrvI0GfZaXWpOrEV5I/G6G3VMY4pPyIhdA0T6pYrfyTgYqQXVW37zMth x0Sg== 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=RnmrsCVlgjdwBRf3bAeInT0NkMn0qIZ47/eeLwNO+as=; b=cy7fsP9//HWctLzrEf7geJbeNrnjPsbnQMQuq/dNlCHYfBsDwxCbE0bki6nLhRERJf dQNr4vHW37MowVk6g0tpP11Nv4kJyh+BiMEcMXYDZ6dibARJsu5U4ZowMasy5mdYfcK7 uh7HdLWeLK0kqk+fbMJNdK/Xitp61j6TGCPZ+ltpp8LzXQoFWLvp4bQRyySi7Tdwq+a3 RY7dr/sprLhODoSaBkmvGypQsmZRsO6OTK6u1Xj8XJN1ovq9HwfoqngnTyNNCKx+4U5d 7j5v4L23qGIBlXKQ7ZohcfXPA4e4CdyaAetjXb4Bf4l/OvazljjOMAY81o/A4VO0V5v6 l7zQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=I9vVRxxM; 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 i189-20020a37b8c6000000b0072fd5e31f18si10300447qkf.390.2023.04.12.07.31.08 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 12 Apr 2023 07:31:08 -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=I9vVRxxM; 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 4587785F77; Wed, 12 Apr 2023 16:30:33 +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="I9vVRxxM"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 75EE885F46; Wed, 12 Apr 2023 16:30:18 +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-lf1-x12b.google.com (mail-lf1-x12b.google.com [IPv6:2a00:1450:4864:20::12b]) (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 C34C185F70 for ; Wed, 12 Apr 2023 16:30:15 +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-lf1-x12b.google.com with SMTP id 2adb3069b0e04-4eb36162b32so279454e87.1 for ; Wed, 12 Apr 2023 07:30:15 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1681309815; x=1683901815; 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=RnmrsCVlgjdwBRf3bAeInT0NkMn0qIZ47/eeLwNO+as=; b=I9vVRxxMnW8U+gM2TTogYkJXrCzvLqucACKNiaNdb8efUbjRcLnZfHm2u0FFyE+znQ VVtpEXrYkjafT2ZrUEzOxJxzxiIVPGiuWsRIABa+r7e79DmY8KFWrMEnq05jWtX4kucV bSIUbWLQ98N1mQfizIpQZoSoXxFY1kS/EMTGMtWg8SUlJ1PWlZ/8HKORMhxaSOUNqcDd +79z1i9PcsjGkxMsaT0u2fdCbcJ5jwWxadZ0K1oexjXJF//rJOyb3gjrLV5RP4+RruSm eTdlJeQwnQsgevZ747HjMBSru/yMY21+E36CmQpzjSDvIejdvMKwB9DjkxgPiKfpRizs oFPw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1681309815; x=1683901815; 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=RnmrsCVlgjdwBRf3bAeInT0NkMn0qIZ47/eeLwNO+as=; b=M4wYbYPZCTqmduDsitnr7VEd2AACBP83B7rCxmSMLsMCO2C1BNwogvWkWkxouBgFML sC782m7mxDT8j1gB37oZjyzEi0UZELlXtFsTmz66vkLjzpvX7ybWc6iDdXjlxg27Kb7l wIaAx35Xz9MGObvNydYFDd9LIgT093V8wBv6be6gkkLucxmOp2d2GOgr05uhggOxvRMW BiWYAfu+QVzTewoNhwL8Bg8IK5hBuDI1/W8OHE5fKbfjqoh3fT0/tZwJqD8d9oJ7Gshh aPBnoEkPYZ5ZVY6/ry3qfB3OKHh7xAiznxPZthTlyuN+W1KsTNN4yGcYb9/RkuMsm47X gCBA== X-Gm-Message-State: AAQBX9cHl5GrqV8n2uOGNiajDVkof45L3ZDpNnAGeK4pf+UnbLDGdCip wo8d/cHvnrLBlMxmWqNuLxadew== X-Received: by 2002:a05:651c:542:b0:2a7:63d2:976 with SMTP id q2-20020a05651c054200b002a763d20976mr774609ljp.4.1681309815155; Wed, 12 Apr 2023 07:30:15 -0700 (PDT) Received: from localhost.localdomain (88-112-131-206.elisa-laajakaista.fi. [88.112.131.206]) by smtp.gmail.com with ESMTPSA id z2-20020a2e8e82000000b002a7729eea3dsm1861054ljk.88.2023.04.12.07.30.13 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 12 Apr 2023 07:30:14 -0700 (PDT) From: Vladimir Zapolskiy To: Tom Rini , Simon Glass Cc: Ramon Fried , Konrad Dybcio , Bhupesh Sharma , u-boot@lists.denx.de Subject: [PATCH v2 4/9] serial: msm-geni: remove invalid se-clk clock name Date: Wed, 12 Apr 2023 17:30:01 +0300 Message-Id: <20230412143006.80946-5-vladimir.zapolskiy@linaro.org> X-Mailer: git-send-email 2.33.0 In-Reply-To: <20230412143006.80946-1-vladimir.zapolskiy@linaro.org> References: <20230412143006.80946-1-vladimir.zapolskiy@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 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 146b05748459..8fd769eb4d0d 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;