Received: by 2002:a05:6a10:22f:0:0:0:0 with SMTP id 15csp529195pxk; Wed, 23 Sep 2020 09:09:44 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwXXJVBVsq6zRv9xp3tZbUdxVzo15HL8podwCHRd+0rS591ojaAmqRJRXWrVZReniP2b7R3 X-Received: by 2002:a17:906:170e:: with SMTP id c14mr340513eje.275.1600877384598; Wed, 23 Sep 2020 09:09:44 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1600877384; cv=none; d=google.com; s=arc-20160816; b=zx84vFwg1wSNvQ8ievc0Ap1ScJZ2ULdVkKVME85TB03IvbdAYj1lYOrhCpS+WJn0+C GUIKAkbmYgVrGDX4Ii1vj6d0WhXeFzccvwPsyJd//g3nV2FDeAfyU+HnCkD/3fzFIE7R DNWMswipYI/JyiMYCz5AdvZ8OT9zwgRGkGkrlIeES6SyV/gipI8Erdc1a+NQS5+PDqqf ELBWfKqLCpqX4ZfMk+5QyL6ZkSRMTPTMq8ZQ72C0rINMJhpCn4TOh+i+6pkX1zDJ1/4p 0wlRvAS+R68fTFPuzSTQTm9sYzExjDcGOhrxfRi+IFss4dh518Yng6Xw9iXOfzCt4ggq B96Q== 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 :message-id:date:subject:cc:to:from:dkim-signature; bh=yZ0348TRdT0YDawBjd2XHLLSCdDgvLqffmteVGAitSI=; b=FXM4VOAIausnEtyieeRqkfT+OtNWifMOm+Bw6fdlyh5lyZYABWl3J0PJQT5G8sYX0S WLf0vBfjuGRYuM/t8IIdpnVTjuwvxDLAO36+bOCU+rA9/h9755Rxp1zMI+i4l9WSRt7N cSegriF4gNMhWT8ZkdnFIiOD1+TtQWdE0FyeTdxuIglUIA38wmOiFwwq5T2fHj6/S1aC GmjoezjQ7vhLACRVvvV/nQYKNq2tfmZPWH23xk6+KOUg6iuJtBDh1CwRz5D0Fr4Eb0MP 2a/JQNv1DpW+48sB1F9uznnQXbR3jUScl4uGtkcwjEO6zqobhGGDHzGp2v21NjlkPJVM dH1w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@marek-ca.20150623.gappssmtp.com header.s=20150623 header.b=aIJ0RV1V; 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 o9si193655ejx.707.2020.09.23.09.09.19; Wed, 23 Sep 2020 09:09:44 -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=aIJ0RV1V; 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 S1726684AbgIWQIL (ORCPT + 99 others); Wed, 23 Sep 2020 12:08:11 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:48574 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726599AbgIWQIK (ORCPT ); Wed, 23 Sep 2020 12:08:10 -0400 Received: from mail-qt1-x835.google.com (mail-qt1-x835.google.com [IPv6:2607:f8b0:4864:20::835]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 8A8E1C0613D1 for ; Wed, 23 Sep 2020 09:08:10 -0700 (PDT) Received: by mail-qt1-x835.google.com with SMTP id v54so303569qtj.7 for ; Wed, 23 Sep 2020 09:08:10 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=marek-ca.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=yZ0348TRdT0YDawBjd2XHLLSCdDgvLqffmteVGAitSI=; b=aIJ0RV1V0Qdht93vOvnqU2PJ50cedQv7cJb8rKhWLXA4wcYQXRslrOIt28jKFbJ/xN kX0/yVK2qgL5Bq6dwl951khapRvjBcwvGZk08yxWyhQnLWnh7IEWo41LGBqvhDByK/VS CoNu9HPN/i92SXBf92VzAA6XDSNjxlojdjWXMB9BvVa9v6X6TQZSrhtwHgbOq6wflYmp NGNRiqOGQCrPRP0ttVNqulGfJR7eIWa2r5qc9sfjf6E9u6b5WK0oxdwSl1I8zbdTsN+D 5HWVp/Od+6RJSF/taYVqaKmTRBGzSxArWAshE/xJFTjx6ZpF2p7UkdJc2QVK/+t8XG0C wVXg== 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=yZ0348TRdT0YDawBjd2XHLLSCdDgvLqffmteVGAitSI=; b=Kq0rzR+15cuHG6+xVRkjYxdql0dztFCX26SebjBmxG5+DyHEyKHVHaJMs0UqZDnfsE mOkudyqQZh+eLfGyBJj0YlJyn1kowW9iRsBcEnV51WFDS8Z9cUXpBhBhjx66j5tVH5DZ TRB4CYeY0HIbrW+yhYHgTWk6gkmO3OKjl4KOQ0ZxTZasc0XNfLnOkdev6nXiK2OFNYwM bZFEKybTlG/2UkpvYERPxBo1rxRdTV8JEXksvzyyYOQKHkhmQahLapRmcXocDWo0r56I szdJE6UU+8HwyeuOpgPXmUFrrjLaYbhe4qpT0D0mlNBr9b5t3a1WIVUuH7nmmY1rX79v MT6Q== X-Gm-Message-State: AOAM531herV+S7UzpOi7s3keh0jLbSYVwjeBIneCVrSdXcZ3yg4E7V6E 82z3CF9kpDzZpbeiJ6VTz17MbA== X-Received: by 2002:ac8:3630:: with SMTP id m45mr772297qtb.358.1600877289561; Wed, 23 Sep 2020 09:08:09 -0700 (PDT) Received: from localhost.localdomain ([147.253.86.153]) by smtp.gmail.com with ESMTPSA id 145sm279159qkf.18.2020.09.23.09.08.08 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 23 Sep 2020 09:08:08 -0700 (PDT) From: Jonathan Marek To: linux-arm-msm@vger.kernel.org Cc: Andy Gross , Bjorn Andersson , devicetree@vger.kernel.org (open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS), linux-clk@vger.kernel.org (open list:COMMON CLK FRAMEWORK), linux-kernel@vger.kernel.org (open list), Michael Turquette , Rob Herring , Stephen Boyd , Taniya Das Subject: [PATCH v3 0/5] SM8150 and SM8250 videocc drivers Date: Wed, 23 Sep 2020 12:06:26 -0400 Message-Id: <20200923160635.28370-1-jonathan@marek.ca> X-Mailer: git-send-email 2.26.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Add videocc drivers for SM8150/SM8250 required to boot and use venus. v2: - fixed dt_binding_check/checkpatch warnings in SM8250 bindings - added 19.2Mhz in SM8250 freq tbls for consistency with other videocc v3: - sorted sc7180 to come before sdm845 in combined yaml - deleted some SM8250 clocks (hardware controlled and always on) Jonathan Marek (5): dt-bindings: clock: combine qcom,sdm845-videocc and qcom,sc7180-videocc dt-bindings: clock: add SM8150 QCOM video clock bindings dt-bindings: clock: add SM8250 QCOM video clock bindings clk: qcom: add video clock controller driver for SM8150 clk: qcom: add video clock controller driver for SM8250 .../bindings/clock/qcom,sc7180-videocc.yaml | 65 --- ...,sdm845-videocc.yaml => qcom,videocc.yaml} | 18 +- drivers/clk/qcom/Kconfig | 18 + drivers/clk/qcom/Makefile | 2 + drivers/clk/qcom/videocc-sm8150.c | 276 +++++++++++++ drivers/clk/qcom/videocc-sm8250.c | 369 ++++++++++++++++++ .../dt-bindings/clock/qcom,videocc-sm8150.h | 25 ++ .../dt-bindings/clock/qcom,videocc-sm8250.h | 34 ++ 8 files changed, 737 insertions(+), 70 deletions(-) delete mode 100644 Documentation/devicetree/bindings/clock/qcom,sc7180-videocc.yaml rename Documentation/devicetree/bindings/clock/{qcom,sdm845-videocc.yaml => qcom,videocc.yaml} (68%) create mode 100644 drivers/clk/qcom/videocc-sm8150.c create mode 100644 drivers/clk/qcom/videocc-sm8250.c create mode 100644 include/dt-bindings/clock/qcom,videocc-sm8150.h create mode 100644 include/dt-bindings/clock/qcom,videocc-sm8250.h -- 2.26.1