From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-3.7 required=3.0 tests=DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED,DKIM_VALID,FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS, URIBL_BLOCKED,USER_AGENT_GIT autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 35850FA3728 for ; Wed, 16 Oct 2019 12:59:36 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 053982168B for ; Wed, 16 Oct 2019 12:59:36 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="OXKAbZec"; dkim=fail reason="signature verification failed" (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="lxHREG00" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 053982168B Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=gmail.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+infradead-linux-arm-kernel=archiver.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:Cc:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:Message-Id:Date:Subject:To :From:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References: List-Owner; bh=TowiocKS2AB+hp8Mk0wNiCj530MHVJdqpyTyfNZAJsY=; b=OXKAbZecC02SO9 GG20vAvDhtJfIQ8/7Dm+nqsn7jlpA1Y42ti9GRJ7qHQHcAlLgKGnywbib58bIhPNBtqWiDvxCdVlk qpgZgBj7VtwCLzKDqrTuJm4FUYKTdSUBm5OrqEdip/WJnYAKbHWSkjcSrCJcEuBbVJ3Wxlc56Zlkp EECGeHxHoZ6aaB0X73b6sLJDRajZU1rgYBS+McQxprnZbfC2siwHRPg0pKNCs2hm4gdcMWgku+6CH s6vA/uhVW7hoq+laoRlH+xWRj86mUMnU2VfNAQzRYA7bxX8pCqgPDs4m0f8h5Gorh+hzUlbWbmF2d mqwiMeUt9ng8ZCdnSHmQ==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1iKitl-0004Bk-EY; Wed, 16 Oct 2019 12:59:29 +0000 Received: from mail-wm1-x342.google.com ([2a00:1450:4864:20::342]) by bombadil.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1iKith-00049s-TK for linux-arm-kernel@lists.infradead.org; Wed, 16 Oct 2019 12:59:27 +0000 Received: by mail-wm1-x342.google.com with SMTP id r17so4636617wme.0 for ; Wed, 16 Oct 2019 05:59:23 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=N52hlJnsfFIOOWTHvFp/qjBhOkVh3s/l10lTxbzvdwk=; b=lxHREG00JgRNJN6vqVyEtnpLxHeOiwhECvF8ZrlixdqphxFqPyZHJEbdLiUFpK5SxV bKWIQk8vpKf7Y1IeVvFkibBp2+Lt7P3G16+cJMZPe1PIwVVBauK6sVJBRVZnFqt1rH39 W+GBk+3Ogq7gbeddPnEDV9dDaF+gDFpKhFNSFNy0e0bKONaXdPDS6w6yV+9yCYSReH29 HHjnMyLp7yEddLgg8k3gNp5znnJ+Ks99dK/EFJZzluq5mwmbLCt7PLnF//eIjt8PbS9D XTBC9nHpO5jzHnSTvJMIPx0eboVaw6KXgl+xegAjONo0nMXeaNB98Xa2heuZRBDQs4Ow UWQg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=N52hlJnsfFIOOWTHvFp/qjBhOkVh3s/l10lTxbzvdwk=; b=AuAK82gCLGMZz0b7+42J/zElcSuhvizY4WgchOFSEfs9wXHjS+g6xhI3AcFPPbuwsc aN2bMnt5fcxifYGljmGb4LzWJImea5fZ3evBY3T4Y3ZRPmVwLbI+7kb7+JQobTahc+TO YwnXo13WMdC6JzplIqwoRLWB2hyS7EXVnqbIm7iEqMtWz1IA9zAmaW3+MfRMgFryaqnT zMpgvt12kivoXgxy4XYlaKN/kLEkRLklZ/6wCuYqQo+K4RHqhSqo0Tsp3yMNK/4rkezo UbWR7q2IZk7VUVKd21o1WLUdRmfX62+BVDe2h99cnSfUOsjKZ3I+AQeZhIo6r+3j3qNd V2jw== X-Gm-Message-State: APjAAAW3azZf4Mc5UWbEVOqMVHKitiqAK0bxQaHuzNBrXinGz0hZunko I2qUTMpgM7+TtV4OJ2U69yg= X-Google-Smtp-Source: APXvYqzKpAaGL8t4/0n/9ji8fdyWLeBwMB4yNHH6Lmwr42XuwpJfsJQWrH/atvz/Z0NRGwU8chBFAw== X-Received: by 2002:a7b:cf28:: with SMTP id m8mr3366592wmg.63.1571230761785; Wed, 16 Oct 2019 05:59:21 -0700 (PDT) Received: from localhost (p2E5BE2CE.dip0.t-ipconnect.de. [46.91.226.206]) by smtp.gmail.com with ESMTPSA id l9sm2253916wme.45.2019.10.16.05.59.20 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 16 Oct 2019 05:59:20 -0700 (PDT) From: Thierry Reding To: Thierry Reding , Michael Turquette , Stephen Boyd Subject: [PATCH 0/5] clk: tegra: SOR clock rework Date: Wed, 16 Oct 2019 14:59:14 +0200 Message-Id: <20191016125919.1773898-1-thierry.reding@gmail.com> X-Mailer: git-send-email 2.23.0 MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20191016_055925_973978_0F50C162 X-CRM114-Status: GOOD ( 15.21 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: linux-tegra@vger.kernel.org, Peter De Schrijver , linux-clk@vger.kernel.org, linux-arm-kernel@lists.infradead.org, Jon Hunter Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+infradead-linux-arm-kernel=archiver.kernel.org@lists.infradead.org From: Thierry Reding Hi Mike, Stephen, this is a small series that I've been carrying around for a while now. The goal is to rework the SOR clock implementation on older chips to make it compatible with the implementation on Tegra186 and later. The reason is that Tegra186 and later implement this as part of the BPMP (a coprocessor used for boot and power management). BPMP's SOR clock implementation is slightly different from the implementation that we currently have in the CCF driver for earlier SoCs. The SOR clock is used to drive HDMI and DP outputs on Tegra boards and the differences in the clock handling make it very cumbersome to deal with the clock in a unified way in the display driver. After these patches, however, they work similarly enough to allow the same code path to be used in the display driver. Given that this set of patches needs to go in at the same time as the Tegra display driver changes, it'd be great if you could provide an Acked-by so that I can take these through the Tegra tree (or the Tegra DRM tree). There aren't any build-time dependencies between this and the display driver changes, but HDMI/DP won't be functional if this is merged at a different time than the display driver changes. The display driver changes themselves are fairly large and it isn't exactly clear when they will get merged, so things will have to be carefully coordinated, which will be easier if I do that myself. Thanks, Thierry Thierry Reding (5): clk: tegra: Remove last remains of TEGRA210_CLK_SOR1_SRC clk: tegra: Move SOR0 implementation to Tegra124 clk: tegra: Rename sor0_lvds to sor0_out clk: tegra: Reimplement SOR clock on Tegra124 clk: tegra: Reimplement SOR clocks on Tegra210 drivers/clk/tegra/clk-id.h | 4 +- drivers/clk/tegra/clk-tegra-periph.c | 8 -- drivers/clk/tegra/clk-tegra124.c | 55 +++++++++++++- drivers/clk/tegra/clk-tegra210.c | 75 ++++++++++++++----- .../dt-bindings/clock/tegra124-car-common.h | 2 +- include/dt-bindings/clock/tegra210-car.h | 5 +- 6 files changed, 116 insertions(+), 33 deletions(-) -- 2.23.0 _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel