From patchwork Fri Apr 21 17:50:36 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Vladimir Zapolskiy X-Patchwork-Id: 675867 Delivered-To: patch@linaro.org Received: by 2002:a5d:4a41:0:0:0:0:0 with SMTP id v1csp989235wrs; Fri, 21 Apr 2023 10:51:56 -0700 (PDT) X-Google-Smtp-Source: AKy350aUwEMIoWCoPjA7IKz1mgmojwFV+/vD3j61LesHLeeVv+jcNE8I98aMcLVfA40+8x/REufZ X-Received: by 2002:a05:6a20:2583:b0:f2:c2a3:3a1 with SMTP id k3-20020a056a20258300b000f2c2a303a1mr1720839pzd.43.1682099515735; Fri, 21 Apr 2023 10:51:55 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1682099515; cv=none; d=google.com; s=arc-20160816; b=qCVzSGGpPZ280rx8AUwwuXKDwwHbET5E1jpNNQiuh3N2HLkVz9TthGmvKEUzvsTQ5+ Wxgwk7fu/VPPYqt054sCHqV9bPscPKjcuPNMl9NcnIUapOu0rYFXiGobpfKm8ITFrChp DRx63IiwJzw+gICI34Lgf/YPJrBiflAB3sdq/S2jVMJIgBOcnvrv5qwvpq+dZinymqbM EX4iZLpDKM/gIs1CnlBwCM//rtcHz7+7eAVeXQuiKcnrstoPSEjtubQejb9sFlfgOUUB sQZszLlDvHQn+HR4uyzar2e28xOCWLzTcjWB/CJjSb2eZdFvsHNdumUZybwY0jswUYkn yS6g== 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=mDfQ6nqZhR1qBt8Ps1gsHdZ7lGBM2wH1B+zwmohW0tg47fpEKa7CPQsQJzRhCWj1sP N/Rj7tsFmr7Db6Q1iSnEq/6VzHOqJ4IaAfVUqQ8+BxVE2TaWhMRcZqNrO2odfBSti00m I83RtEmHV6zFldkN8WUC7gmQhUSaFb4+tqs5iHK9aGeAuywjJI6EAolbA1Ca1JzRmBF7 0CfgsKxC8PZZuH1tTx+kI9FGJO2X4Mpm0tcUYNuZ+3JWfGVFV+f6yLdR0Cuo0ck0Dmoy n8x/ZH154THKYpHgpsoxlpfRmI8NFK6lqrXXEXZSyAjuctYy4SsoY7uBJmf0ehLl/+MJ dMAA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=v50+bU4S; spf=pass (google.com: domain of u-boot-bounces@lists.denx.de designates 85.214.62.61 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. [85.214.62.61]) by mx.google.com with ESMTPS id o35-20020a634e63000000b0052038e68f10si4895325pgl.496.2023.04.21.10.51.54 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 21 Apr 2023 10:51:55 -0700 (PDT) Received-SPF: pass (google.com: domain of u-boot-bounces@lists.denx.de designates 85.214.62.61 as permitted sender) client-ip=85.214.62.61; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=v50+bU4S; spf=pass (google.com: domain of u-boot-bounces@lists.denx.de designates 85.214.62.61 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 1AD11863CF; Fri, 21 Apr 2023 19:51:00 +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="v50+bU4S"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 6979C86397; Fri, 21 Apr 2023 19:50:52 +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-lf1-x129.google.com (mail-lf1-x129.google.com [IPv6:2a00:1450:4864:20::129]) (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 0130B86371 for ; Fri, 21 Apr 2023 19:50:49 +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-x129.google.com with SMTP id 2adb3069b0e04-4eca9c8dd57so296722e87.1 for ; Fri, 21 Apr 2023 10:50:49 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1682099449; x=1684691449; 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=v50+bU4S2VkYMx4j/7noB65Z59soaVY4BgSGca3IJnIswltaRl8jLXJ8zAClHLAGHk 78pIRggXjG7o39SrqHKHMdmYNCWAJrfCPMDWECVooUe0Yt2yAKSyzGl3JFfxDN+P/xGU mv6VTyseVIqcYPIyTG9Ua9eq0p/GFWVVfMN2YiVk82/QT2w/afMW44GAdBWjowCqrS1J LW+W8nZi4Ef0ZZ19+vJlsanjoAvWqRbYMsYQGFAc8HhH4+RHIiul8uUSegMdV5BgmKTp 2BdMPQiA6OTDEQGPkox0qE1ON8xk2+6pZmor3z5cJ/gPMm7Myd6ANm34w5PhAZlHFnBt mlOA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1682099449; x=1684691449; 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=AKnozpEymlTdERd6VP65WLNd9tmHcA9ROcBfBewfDTRlVtPKgjbWOX6/nCkno13psX M1kSxIySY0+IItAQOqxltaWboBv/AaINjaED37YfZP/UfREKR0nTojKqbF5tpOFiOy7L JHPA3ob3c3EBuvyW1ZfPGSpcG0uWKhzx5hGincWOEpiMysgPeiZTyekEaRyutGQ/T/Cd nEdMyKYSCtdGJEYW/UJqRk6yAaZwP6wvi5KeklWH3k52U8LgxT/vEBG8zUaaak8w4bKG ZzJxcaPEP+fXoAhjX9gBqAEcIBnED57SsQ4NuBeRQzRh40sAy28413CoM+Pj8aClwVgY KRzg== X-Gm-Message-State: AAQBX9dK7fo1Add5oLMnCxsCeC3o9RvmRoDBIxQyDFBtQUwf00g9faMD ncXLZpLclvgWYiBC9yMaRgS03g== X-Received: by 2002:a05:651c:1306:b0:2a9:f93c:84cc with SMTP id u6-20020a05651c130600b002a9f93c84ccmr1149816lja.3.1682099449213; Fri, 21 Apr 2023 10:50:49 -0700 (PDT) Received: from localhost.localdomain (88-112-131-206.elisa-laajakaista.fi. [88.112.131.206]) by smtp.gmail.com with ESMTPSA id u24-20020a2e8558000000b002a7aa25c3b6sm674256ljj.88.2023.04.21.10.50.48 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 21 Apr 2023 10:50:48 -0700 (PDT) From: Vladimir Zapolskiy To: Tom Rini , Simon Glass , Ramon Fried , Dzmitry Sankouski Cc: Konrad Dybcio , Bhupesh Sharma , u-boot@lists.denx.de Subject: [PATCH v3 4/9] serial: msm-geni: remove invalid se-clk clock name Date: Fri, 21 Apr 2023 20:50:36 +0300 Message-Id: <20230421175041.275566-5-vladimir.zapolskiy@linaro.org> X-Mailer: git-send-email 2.33.0 In-Reply-To: <20230421175041.275566-1-vladimir.zapolskiy@linaro.org> References: <20230421175041.275566-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;