Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from phobos.denx.de (phobos.denx.de [85.214.62.61]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 6B9AFC61D97 for ; Sun, 29 Jan 2023 18:44:12 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 9FC7D85771; Sun, 29 Jan 2023 19:43:23 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=gmail.com 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=gmail.com header.i=@gmail.com header.b="VbSmYwI4"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id A580885601; Sun, 29 Jan 2023 19:41:56 +0100 (CET) Received: from mail-wr1-x434.google.com (mail-wr1-x434.google.com [IPv6:2a00:1450:4864:20::434]) (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 3865F8575A for ; Sun, 29 Jan 2023 19:41:48 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=clamor95@gmail.com Received: by mail-wr1-x434.google.com with SMTP id q5so9242782wrv.0 for ; Sun, 29 Jan 2023 10:41:48 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; 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=LPm3DovBWRdyDQChScFR8j2UPCA6ky5dC+ziKBLoE7k=; b=VbSmYwI4tlIgKcL2JkgIVaguV1lXh/NtNA77iWl7+VqE5+j9KlQN9drGn72FqgE/Bj sfpXgsJfzqik2VmJqMt68Brd7HCdknewY7oC7tQDdsCrpufJNMpQUVdNWS2OrCu5mHiM awaKP4843PLcZRFVQjeLKe3+UCwvOs/J9Z8ElpFKv3B/2zzS7aWESqKybMm6BzqlKuHq Ii9YxtAJvZ4nxWrZ6zEikmvfYzYGc6tmOj8F4o51sckUDFWUAfDwV28ElLAU49jB3eL9 +6NNNyIEPlL/l2OrdzwdxmaiW6GCTgcFAtrJLZPVPRz2eFeQAX+CnNWLahUrBvYkMsXp Urag== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; 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=LPm3DovBWRdyDQChScFR8j2UPCA6ky5dC+ziKBLoE7k=; b=0h8x2Vrs6ayWJsH5XjAA2EBVSevWzLXIq9UYrTSurq5SyXLgqnFsbCep6DhQjApqW2 gYm6hhhEyeDgd1YRakf7lj3bvQjFwWYoAEY31XBvEIiavaMD7/hmOPW+LUqFSiaaCW1p k8z8cOCPQJ1fbwCE8/Iun/m6Q9WB9VF4eTw1vL/HuNChn6/9Zr4Ml5NaSAnouMsf7wzD FZMzZuoECEXgq/tcikP6cJjfI0P3dI4sio9hoFxjN0WYb5kb796lpGehP4jeg1oJgw+h 0O6pSMJrSgcUYEx+D07foywDaELuTvgYIqa4mBJ6TvngyM2NgnzxQh8Om2inardzuRYl jwww== X-Gm-Message-State: AO0yUKVCIXtWD4d6XFhBcihvg3LrPKu21yWxH/hMv/X3SFT327PRPePp ZDL6pDmxSIMOKOEwU61ib9U= X-Google-Smtp-Source: AK7set/ou2Ppd5QU46VXHHTHZr6y/PWPK4ENw92yIwk1ftt44aex7Zrfds1t9xAdQXOkFj8E8Y6NPA== X-Received: by 2002:adf:edcf:0:b0:2bf:ed09:abf1 with SMTP id v15-20020adfedcf000000b002bfed09abf1mr1382384wro.21.1675017708003; Sun, 29 Jan 2023 10:41:48 -0800 (PST) Received: from xeon.. ([188.163.112.54]) by smtp.gmail.com with ESMTPSA id y8-20020adfdf08000000b002bfb31bda06sm10321010wrl.76.2023.01.29.10.41.46 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 29 Jan 2023 10:41:47 -0800 (PST) From: Svyatoslav Ryhel To: Tom Warren , Alban Bedel , Stephen Warren , Marcel Ziswiler , Allen Martin , Jagan Teki , Lukasz Majewski , Marek Vasut , Svyatoslav Ryhel , Ramin Khonsari , Thierry Reding , Maxim Schwalm , Dmitry Osipenko Cc: u-boot@lists.denx.de Subject: [PATCH v1 05/16] ARM: tegra30: add PLLD to pll setup Date: Sun, 29 Jan 2023 20:41:12 +0200 Message-Id: <20230129184123.36001-6-clamor95@gmail.com> X-Mailer: git-send-email 2.37.2 In-Reply-To: <20230129184123.36001-1-clamor95@gmail.com> References: <20230129184123.36001-1-clamor95@gmail.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit 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.6 at phobos.denx.de X-Virus-Status: Clean On T30 unlike T20 dsi panels are wider used on devices so PLLD is used as DISP1 parent more often, so lets enable it as well for this cases. Tested-by: Andreas Westman Dorcsak # ASUS TF700T T30 Tested-by: Svyatoslav Ryhel # HTC One X T30 Signed-off-by: Svyatoslav Ryhel --- arch/arm/mach-tegra/clock.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/arch/arm/mach-tegra/clock.c b/arch/arm/mach-tegra/clock.c index 7eada78d3a..95cc48888c 100644 --- a/arch/arm/mach-tegra/clock.c +++ b/arch/arm/mach-tegra/clock.c @@ -791,16 +791,19 @@ void tegra30_set_up_pllp(void) case CLOCK_OSC_FREQ_12_0: /* OSC is 12Mhz */ clock_set_rate(CLOCK_ID_PERIPH, 408, 12, 0, 8); clock_set_rate(CLOCK_ID_CGENERAL, 456, 12, 1, 8); + clock_set_rate(CLOCK_ID_DISPLAY, 456, 12, 1, 8); break; case CLOCK_OSC_FREQ_26_0: /* OSC is 26Mhz */ clock_set_rate(CLOCK_ID_PERIPH, 408, 26, 0, 8); clock_set_rate(CLOCK_ID_CGENERAL, 600, 26, 0, 8); + clock_set_rate(CLOCK_ID_DISPLAY, 600, 26, 0, 8); break; case CLOCK_OSC_FREQ_13_0: /* OSC is 13Mhz */ clock_set_rate(CLOCK_ID_PERIPH, 408, 13, 0, 8); clock_set_rate(CLOCK_ID_CGENERAL, 600, 13, 0, 8); + clock_set_rate(CLOCK_ID_DISPLAY, 600, 13, 0, 8); break; case CLOCK_OSC_FREQ_19_2: default: -- 2.37.2