Message ID | d4b4d2164541ae055d10064103db3c2d6540e846.1694767209.git.geert+renesas@glider.be |
---|---|
State | New |
Headers |
Return-Path: <linux-kernel-owner@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:612c:172:b0:3f2:4152:657d with SMTP id h50csp1022090vqi; Fri, 15 Sep 2023 05:58:22 -0700 (PDT) X-Google-Smtp-Source: AGHT+IHg7hDeULjlE+QvAxwlMwSjx2t80W5ahm+XDQVvdduPe2VlJTV9LCCJa2DhsCXJ/NKK0l6V X-Received: by 2002:a05:6a20:7483:b0:158:1387:6a95 with SMTP id p3-20020a056a20748300b0015813876a95mr1962474pzd.19.1694782701846; Fri, 15 Sep 2023 05:58:21 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1694782701; cv=none; d=google.com; s=arc-20160816; b=B4o5BcTgOnrrj6snhNIFOyqqahD9QDx4FdidaU/RB/MPui2wVO1efo1FI784ntUwF+ lhGC5UazvzuUDobU+qtqnT6J81yfj+iiUFnq/V1T/69ZhqF8NmWCq0jW13U1Ao+VyuAU uEOeEffOgjENLvXtawNjXCVYsLa4mDsvJWHVl9/dWdwACR4+quM7wBfMQ+425Vh8LJ4P vjmKA7RKQxqlLG9oKhC7Bswcx7hqWO00OdO0ARVCJpdjj+gVBihzLiPg6ZbL+I808LXQ uXnOaqtDoeFWwjx6a8xBXc1EJpCdmffx6Y/1Pc2YpHrABfvdba06slSNU1RX41/90ujd Sqmw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from; bh=D+56QKIrXq8esaxbiIiCEV65kHRAsT43CGKhQPy5g5g=; fh=Tv8lSvruA0Qa1LXTG3hq6vUx/40zVeJoQRtQSGPPnqc=; b=jR5xbYHyQbHhy7WWp9+o1BnceEk84Gler2m4mGcZ351OZd+LfpzpMf1Cwx1ChLRWSu bIPj0dtB00mT52s3Q3hWJJNuwkAebWYIAFZoQLd3kRimdUIO/NTZKlgZR25NgLO+GIKc 5zEFKQtJs+llZ/wwe1WUV5pBjGgAWanfXj8Lb0ESM3OKRykKh4dnr0mFNCPtpYPgqrSA B7ix++0I/hseaDw5C9MotqZKrYP6cTgvVr22hV4EouuKZ7A7SU8MtJXXsCo0D3sZddX6 wJwGPa/nuD7h/vHgiDNVeJj9O2wzA/jg7jfkheoeViBTmEgBKF0WBJiUtA88Pd+n4fJF 9aNA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.37 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: from snail.vger.email (snail.vger.email. [23.128.96.37]) by mx.google.com with ESMTPS id p28-20020a056a0026dc00b0068fdc320483si3234545pfw.225.2023.09.15.05.58.21 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 15 Sep 2023 05:58:21 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.37 as permitted sender) client-ip=23.128.96.37; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.37 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by snail.vger.email (Postfix) with ESMTP id 8150282F4093; Fri, 15 Sep 2023 01:56:23 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at snail.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233452AbjIOI4B (ORCPT <rfc822;ruipengqi7@gmail.com> + 32 others); Fri, 15 Sep 2023 04:56:01 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:59652 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233407AbjIOIyj (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Fri, 15 Sep 2023 04:54:39 -0400 Received: from michel.telenet-ops.be (michel.telenet-ops.be [IPv6:2a02:1800:110:4::f00:18]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 2D18C2D69 for <linux-kernel@vger.kernel.org>; Fri, 15 Sep 2023 01:54:19 -0700 (PDT) Received: from ramsan.of.borg ([IPv6:2a02:1810:ac12:ed40:7135:da8b:ba1d:1a7c]) by michel.telenet-ops.be with bizsmtp id m8uE2A00Q3q21w7068uEDW; Fri, 15 Sep 2023 10:54:17 +0200 Received: from rox.of.borg ([192.168.97.57]) by ramsan.of.borg with esmtp (Exim 4.95) (envelope-from <geert@linux-m68k.org>) id 1qh4aJ-003lGm-Fy; Fri, 15 Sep 2023 10:54:14 +0200 Received: from geert by rox.of.borg with local (Exim 4.95) (envelope-from <geert@linux-m68k.org>) id 1qh4ac-00Gdbj-GR; Fri, 15 Sep 2023 10:54:14 +0200 From: Geert Uytterhoeven <geert+renesas@glider.be> To: Laurent Pinchart <laurent.pinchart@ideasonboard.com>, Kieran Bingham <kieran.bingham+renesas@ideasonboard.com>, David Airlie <airlied@gmail.com>, Daniel Vetter <daniel@ffwll.ch>, Thomas Zimmermann <tzimmermann@suse.de>, Magnus Damm <magnus.damm@gmail.com> Cc: dri-devel@lists.freedesktop.org, linux-renesas-soc@vger.kernel.org, linux-kernel@vger.kernel.org, Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>, Geert Uytterhoeven <geert+renesas@glider.be>, Sui Jingfeng <suijingfeng@loongson.cn> Subject: [PATCH v4 14/41] drm: renesas: shmobile: Rename input clocks Date: Fri, 15 Sep 2023 10:53:29 +0200 Message-Id: <d4b4d2164541ae055d10064103db3c2d6540e846.1694767209.git.geert+renesas@glider.be> X-Mailer: git-send-email 2.34.1 In-Reply-To: <cover.1694767208.git.geert+renesas@glider.be> References: <cover.1694767208.git.geert+renesas@glider.be> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-1.6 required=5.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,RCVD_IN_DNSWL_BLOCKED,SPF_HELO_NONE, SPF_NONE autolearn=no autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: <linux-kernel.vger.kernel.org> X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (snail.vger.email [0.0.0.0]); Fri, 15 Sep 2023 01:56:23 -0700 (PDT) X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1777108466517165785 X-GMAIL-MSGID: 1777108466517165785 |
Series |
drm: renesas: shmobile: Atomic conversion + DT support
|
|
Commit Message
Geert Uytterhoeven
Sept. 15, 2023, 8:53 a.m. UTC
From: Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com> Prepare for DT bindings by using more appropriate names for the input clocks. Note that all LDDCKR_ICKSEL_* definitions but the one for the bus clock are valid only for SH7724, so the clock selection code needs to be updated when extending clock support to other SoCs. Signed-off-by: Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com> [geert: Add note] Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be> Reviewed-by: Sui Jingfeng <suijingfeng@loongson.cn> --- v4: - No changes, v3: - No changes, v2: - Add Reviewed-by. --- drivers/gpu/drm/renesas/shmobile/shmob_drm_drv.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/drivers/gpu/drm/renesas/shmobile/shmob_drm_drv.c b/drivers/gpu/drm/renesas/shmobile/shmob_drm_drv.c index 8a685bfc8e08e7d1..5f3061e88e215dcc 100644 --- a/drivers/gpu/drm/renesas/shmobile/shmob_drm_drv.c +++ b/drivers/gpu/drm/renesas/shmobile/shmob_drm_drv.c @@ -74,15 +74,15 @@ static int shmob_drm_setup_clocks(struct shmob_drm_device *sdev, switch (clksrc) { case SHMOB_DRM_CLK_BUS: - clkname = "bus_clk"; + clkname = "fck"; sdev->lddckr = LDDCKR_ICKSEL_BUS; break; case SHMOB_DRM_CLK_PERIPHERAL: - clkname = "peripheral_clk"; + clkname = "media"; sdev->lddckr = LDDCKR_ICKSEL_MIPI; break; case SHMOB_DRM_CLK_EXTERNAL: - clkname = NULL; + clkname = "lclk"; sdev->lddckr = LDDCKR_ICKSEL_HDMI; break; default: