Received: by 2002:a05:6358:7058:b0:131:369:b2a3 with SMTP id 24csp7142463rwp; Tue, 18 Jul 2023 10:37:28 -0700 (PDT) X-Google-Smtp-Source: APBJJlHG+F+VOCHlggqKhG8W7I0vVXLsZn5OySCmM9X2GJiIC4mQuZ4J4Va24/bpzTZiBqbGh//S X-Received: by 2002:a05:6402:2791:b0:514:a566:104a with SMTP id b17-20020a056402279100b00514a566104amr429714ede.3.1689701848000; Tue, 18 Jul 2023 10:37:28 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1689701847; cv=none; d=google.com; s=arc-20160816; b=GBaBjA/rYBUiQF8gFV5S7TWCAPxZ51KeolYTQZEoHOGavL1/1r9aLAUi7MI/79MoHR KGW4Dv3R0fIiviNSWIvn0EAEv1CJ9X+6A7A3ObgfAN68EnS/+tiK4Ed3oQNLp9sNbAoQ 5QLiAW9/YFwfz4ihPAXvzmXffFouyZrDiDziLK8mjAmtpzKfnlw0w1TViryqzNv17BEh SD07ErkwTyeKrZhmyG4CddrwdiOiDL2BS/xrNE9nml52qIdNh3GEkxVW4Q+kJ8ghXQS3 6UsIjtRguCutAAQ5s+uUAaTiRCVzm/lNs+SdwPRt5ebmQk4wvDZ5trYZo6uqsAArv3r2 EOqQ== 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=b788Yz2fGC4qMByBFayLQ634y/aQFihvFXAIxbaVIDI=; fh=QQV/8rttw5pdNFbK+EYJoxxq6mGqHmTQlICtN+TBwWE=; b=DjU8lWzzI8GMA/BN6RLBRoWecz5lKPZonbbh+5Wmzy/GdLL7tJfwhpxnwTKOgbiDVZ 2pfFb30A3v8Vge0c6Q5pvhClQOa1ymeOW1zg+PWLLK8WMbB17x+rJTe1HqZ2Pw+Ve18q qR1vkTXEl775pYERhX/ZjwAPZXepC5qpc3hXjkxXplOFo3dn/mOK+0at5lHxVwwVkRml nZ5Ex0BonrJpKvhcaeLAecu4CAnxMfgdOKTBcojn8xO7JMi0EmJn5c8H84ETLuKMObjf oaIJNeiU3XRYul+CYWMLAoTl8xGWAY0KZvJChXijwPb7Jxqvuqko2gclDs5z9qPFD7uf 0RRw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id h7-20020aa7de07000000b0051dd30daa6asi1479772edv.268.2023.07.18.10.37.02; Tue, 18 Jul 2023 10:37:27 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233776AbjGRQ4a (ORCPT + 99 others); Tue, 18 Jul 2023 12:56:30 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:58100 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232952AbjGRQzF (ORCPT ); Tue, 18 Jul 2023 12:55:05 -0400 Received: from albert.telenet-ops.be (albert.telenet-ops.be [IPv6:2a02:1800:110:4::f00:1a]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 0FB771BDC for ; Tue, 18 Jul 2023 09:54:55 -0700 (PDT) Received: from ramsan.of.borg ([IPv6:2a02:1810:ac12:ed40:5803:2d6d:5bbc:e252]) by albert.telenet-ops.be with bizsmtp id Ngur2A00Q0ucMBo06gurSc; Tue, 18 Jul 2023 18:54:53 +0200 Received: from rox.of.borg ([192.168.97.57]) by ramsan.of.borg with esmtp (Exim 4.95) (envelope-from ) id 1qLnyD-001nYL-9c; Tue, 18 Jul 2023 18:54:51 +0200 Received: from geert by rox.of.borg with local (Exim 4.95) (envelope-from ) id 1qLnyN-000gcD-Ag; Tue, 18 Jul 2023 18:54:51 +0200 From: Geert Uytterhoeven To: Laurent Pinchart , Kieran Bingham , David Airlie , Daniel Vetter , Thomas Zimmermann , Magnus Damm Cc: linux-renesas-soc@vger.kernel.org, dri-devel@lists.freedesktop.org, linux-kernel@vger.kernel.org, Laurent Pinchart , Geert Uytterhoeven , Sui Jingfeng Subject: [PATCH v2 14/41] drm: renesas: shmobile: Rename input clocks Date: Tue, 18 Jul 2023 18:54:19 +0200 Message-Id: X-Mailer: git-send-email 2.34.1 In-Reply-To: References: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-2.4 required=5.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,RCVD_IN_DNSWL_LOW,SPF_HELO_NONE,SPF_NONE, T_SCC_BODY_TEXT_LINE autolearn=ham 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: X-Mailing-List: linux-kernel@vger.kernel.org From: Laurent Pinchart 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 [geert: Add note] Signed-off-by: Geert Uytterhoeven Reviewed-by: Sui Jingfeng --- 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 64fc3fb02e6c6dc8..1157b4894ff319cd 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: -- 2.34.1