Received: by 2002:a05:6a10:22f:0:0:0:0 with SMTP id 15csp543412pxk; Wed, 23 Sep 2020 09:29:30 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzvH7rf6LuAnDgCktJYLkJEMvDR5ziW87AHxIgPz64SrcUPYJqWGA3F+JxN/3X7Fe0UWrsi X-Received: by 2002:a17:906:ce3b:: with SMTP id sd27mr426573ejb.433.1600878570550; Wed, 23 Sep 2020 09:29:30 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1600878570; cv=none; d=google.com; s=arc-20160816; b=R5DyhfXnYjq+MwmwB2kuWxAEGq/v9vQDbiFhFU2SyvGtEUxjumK2RRiqcFMRnbrbl9 rNZROgWhv7a9rYy11TPRXhEhaVaXKkiM4uk5FaoL1nAJplWKU/Ppyy+VxL9+wXFQRzL/ F+ESh4iidylPuRdtNdiyErBkC/j5aPX88c3RLuSXQSr5zN/cyxqM8pX3dElCfoqaTbIX 0c1k+jslrjmB5OXa7ZmUo6nhdWcyl07dS2YjXzA7SbkowQzs1LcNWGeSkbJtCrn+IZMz BaKw103zou0muar1xO0ksBpdWSqNbV3p+tLKQA/OzhNMYUclAecOBuSxnZ3wJAa65iwM tnZw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:content-language :in-reply-to:mime-version:user-agent:date:message-id:from:references :cc:to:subject:dkim-signature; bh=bod+KA++P85pU20jfJ5vwCcsVE27X5/8ush82A6fa28=; b=Jw5nWOIBGtuvag2gia4FBYtHsAfGFfEJveRa/nbX8s1vDyBBSMxjQoU/kuiQPnYwS7 RHHtkPEiyanj0F2JYDWL2EdP2TZNm3+se2ZCYc/1fxYKX6SHMbo+6CUzoHDOUS5R7dEw ty2BL5kMWki8VRmD1gWn6nNd9ArwGdoYfgDrCCTMxphGbXMjjR07jzmqgNHn18gfjQg+ lzpTr/vVfADuBiCa1W3/DAZzDShKSP79hOUTdvcVD0ORFxdIFbd+0aAgL+46U/ajUTiT +xh4d2DlQM5QEooB3pZZVOl8KXa/SjJAo/yNihZcA5C+4ociX7W8OGT/feuapGDz1ZGw wG2Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@marek-ca.20150623.gappssmtp.com header.s=20150623 header.b=LDMkD7Dk; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id a10si235716eda.448.2020.09.23.09.29.07; Wed, 23 Sep 2020 09:29:30 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@marek-ca.20150623.gappssmtp.com header.s=20150623 header.b=LDMkD7Dk; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726697AbgIWQZd (ORCPT + 99 others); Wed, 23 Sep 2020 12:25:33 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:51284 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726178AbgIWQZd (ORCPT ); Wed, 23 Sep 2020 12:25:33 -0400 Received: from mail-qk1-x744.google.com (mail-qk1-x744.google.com [IPv6:2607:f8b0:4864:20::744]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 2C20BC0613CE for ; Wed, 23 Sep 2020 09:25:33 -0700 (PDT) Received: by mail-qk1-x744.google.com with SMTP id w16so237856qkj.7 for ; Wed, 23 Sep 2020 09:25:33 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=marek-ca.20150623.gappssmtp.com; s=20150623; h=subject:to:cc:references:from:message-id:date:user-agent :mime-version:in-reply-to:content-language:content-transfer-encoding; bh=bod+KA++P85pU20jfJ5vwCcsVE27X5/8ush82A6fa28=; b=LDMkD7Dksx6sEh5TMPKFRCduNXALi8F1ujxrEamhcNMqTf2RdkFpFlLcRLV68MogME b09UtnzuVu2+zzitJFB0HLp4Uub8hrMjkqafMbSNjCqq0f1POJvtQQNJvBmHqj2G5h5B 7Oj5aG4en1W4p+Km7wPq5M3HL+oq/kcUOLFzi+aTvULnVDLWg7q2Grr9hU+ySWxdM16x zWHS2+WPHCLsoGF/nv4P7eI/meB5Uww52K24p0VpzcH3pFFSLZ2+LdlsSThcU4a83KW4 mMQIn5R1HC3lAunoL0gL3qRJVYwzMjcObXhjUKXpHQ5bAmN5GuUrrRtVojrrmUc2OQ4r xH0w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:cc:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=bod+KA++P85pU20jfJ5vwCcsVE27X5/8ush82A6fa28=; b=qCb+ZPO7GxZs6UpymOAynzPukUGoIRrI7tHLItM76yx6sfxG9ZL5dpxqysgUljD/Xw HY8nmmDEnz9IAHN6S+ZltEYIEQ0f6NB8WZvBDCADm7b8OzvKAFIzp03JElApoMvXxbpP EWvfUjE6HlGNkDKRU8rO8TtVTbwMN6ZQkX6gx2CbxNO4t+2J5BDYp4+JtahYZrryGG3N z4ErE6iJulGNiznjgyGk3OAizd7t2ry3Y9gzGH0p7z4JCkGoOfOCov35X9d60ktkPueL NC4W7lCG2V45F40I5yLye27YVhJk6cz8/FqwNjdMKu5GyF+Omt80yGdq887hrHSDRNsj YAag== X-Gm-Message-State: AOAM531ArJAhA6VWC/dDsZIXPJJbnpAGupWmDfcgbnT3LmsUC4bEIVnj egd5jJzEWNGKAA4sqBaDqBR3nQ== X-Received: by 2002:a37:9d86:: with SMTP id g128mr653358qke.26.1600878332126; Wed, 23 Sep 2020 09:25:32 -0700 (PDT) Received: from [192.168.0.189] ([147.253.86.153]) by smtp.gmail.com with ESMTPSA id 25sm313336qks.41.2020.09.23.09.25.30 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Wed, 23 Sep 2020 09:25:31 -0700 (PDT) Subject: Re: [PATCH v3 6/7] clk: qcom: Add display clock controller driver for SM8150 To: Stephen Boyd , linux-arm-msm@vger.kernel.org Cc: Andy Gross , Bjorn Andersson , Michael Turquette , linux-kernel@vger.kernel.org, linux-clk@vger.kernel.org References: <20200911153412.21672-1-jonathan@marek.ca> <20200911153412.21672-7-jonathan@marek.ca> <160080149549.310579.17453759593211612997@swboyd.mtv.corp.google.com> From: Jonathan Marek Message-ID: <3370cff3-9296-74fc-8e7d-ff93c3978351@marek.ca> Date: Wed, 23 Sep 2020 12:24:04 -0400 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.2.2 MIME-Version: 1.0 In-Reply-To: <160080149549.310579.17453759593211612997@swboyd.mtv.corp.google.com> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 9/22/20 3:04 PM, Stephen Boyd wrote: > Quoting Jonathan Marek (2020-09-11 08:34:06) >> Add support for the display clock controller found on SM8150 >> based devices. This would allow display drivers to probe and >> control their clocks. >> >> Signed-off-by: Jonathan Marek >> --- >> drivers/clk/qcom/Kconfig | 9 + >> drivers/clk/qcom/Makefile | 1 + >> drivers/clk/qcom/dispcc-sm8150.c | 1152 ++++++++++++++++++++++++++++++ >> 3 files changed, 1162 insertions(+) >> create mode 100644 drivers/clk/qcom/dispcc-sm8150.c > > If the bindings are the same for these two drivers I wonder if there is > anything different between the two. Maybe the two drivers can be one > driver? > Possibly, the biggest difference seems to be the plls (trion vs lucid, different config), which could be resolved in the probe() function. If you think combining the drivers is the right thing to do then I can do that.