Received: by 2002:a05:6a10:22f:0:0:0:0 with SMTP id 15csp1011839pxk; Thu, 3 Sep 2020 20:11:53 -0700 (PDT) X-Google-Smtp-Source: ABdhPJz/S1uscNmSpIv7b6oTBT+10vvuLrGNKsuuu39TsD0ofZRKIufQqKTzWYmKo1/iLY4rJqPX X-Received: by 2002:a17:906:c348:: with SMTP id ci8mr5526567ejb.417.1599189113688; Thu, 03 Sep 2020 20:11:53 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1599189113; cv=none; d=google.com; s=arc-20160816; b=c+BKlExEjQE/Y32ry4ys0a7+GjX6k3rKZAt5dzqtLfaYXpvJTxtXq70zCmFABYW+FQ Gmvzevbdpc9iAZ8AA5HkmVfR0Wt08jmkaU6VDUT0dzO+l3mSuuMSN/mlK7+wQ0bMnaML mFsr5oiuseBfnfh73lkbd/Yi8oe8IYTRupDBDW4ohnDIbjOongQOyA9YiKGazAQEOjke +RUfqbN3FV4Z2tGb8JZ9Z8taeOMIAJzh6LNDnSbIav9+Dh5jkZL0iDZzfFt/Fbx5FXDT VEjR9ZaPi1lTTu/ZT2YyyaUJhup/+B87OAD82HlTLnUh1HsOmzxd+rmvFj8zEyNYZbui Pj7A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:dkim-signature; bh=pdbPNYComdH+ZhVkRW2Xn2aIlzT4gacXxF6vF5yyO+A=; b=RaRtQ7dnSm23zcAwK7CNFbV1cQGTHwqwapouwsIeokRFJMPPCh0RL/WY2ysYBb73OY 4wS8lyj8juGv09nynkhg531BrxT4px63BtwIXFPuYhDIs8U/GSqUlwrDE8ANPxW/57VU LpI8Xk/BbMqtQpqRjxozPuRXcCFNAcPHVwIv4ZJ3PoeWAEbCZRtEgt4UXCQScSzhQVCm QufBOuubd7hP4S+CpAS106rp2j1FeJ12sUXDgDVTm+6YfXOtWJoygGYZqBn7YBNc44b0 VPDpK4gfZys1NvRKlR6LEHeNMfRw/rIfMge1pIWNELSYxiWCcRnw+9Fm18HfH2uburuW YT8Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@marek-ca.20150623.gappssmtp.com header.s=20150623 header.b=KFoHbv+1; 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 j10si3051648edy.0.2020.09.03.20.11.31; Thu, 03 Sep 2020 20:11:53 -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=KFoHbv+1; 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 S1729683AbgIDDKx (ORCPT + 99 others); Thu, 3 Sep 2020 23:10:53 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:40466 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729538AbgIDDKu (ORCPT ); Thu, 3 Sep 2020 23:10:50 -0400 Received: from mail-qv1-xf29.google.com (mail-qv1-xf29.google.com [IPv6:2607:f8b0:4864:20::f29]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 71B95C061244 for ; Thu, 3 Sep 2020 20:10:49 -0700 (PDT) Received: by mail-qv1-xf29.google.com with SMTP id cr8so2379973qvb.10 for ; Thu, 03 Sep 2020 20:10:49 -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=pdbPNYComdH+ZhVkRW2Xn2aIlzT4gacXxF6vF5yyO+A=; b=KFoHbv+1gyGW2v83q1G43ASW42mK4aM0f3q5D6TB16aEONHt4KtH1m4jOil8xAKmlc 3zFxNMMtsaBLGA2svh+tLqMmVR1kXgDRKbybNO8hI6IOhAlayxXffjHQuMwhI2AeL/d8 hbgKv6i4llEI230cFvJdI6klvCghKMm+vrmrD9HiRfWZkPlq9Rh5fhzdFMv8JDS4mzxt b9cIz4d+V6pFBHhpSno8B0ht5m9fVCp0bGN6lJ+rzdkzk2bJ5kAnyGBpgylK6D2bMtw3 NER97eeP+V1m1FH9J3IK1PPT/bYC18pNxZTmGuaOR2eFnF4CAbVlgM/PPE0hNPByJg5a FMLw== 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=pdbPNYComdH+ZhVkRW2Xn2aIlzT4gacXxF6vF5yyO+A=; b=Wk1W/60D8Rxr2AykHwZ8IJqR+1Lt+mvqhrakji4VNxH2p33VNc4H8+1P5UeltW/00Q DlIfS2KCBxm3a1OSxKElNKr+AvBgVkrfvxaOmkvqiHZmcIrdjihTP05WBm8w4UGUHplu Ri29kfXEqf2etGRNnJG3V0lk2XSxY+4a8SaahRyUrkOaNVSX2cGFLu4Sn82opczLJoSj qbr/sQocapg31ofVnEmq9BomQvoCFQZ0FKak9zcMmYNDQYkpt3+2HycMnTKDPPAMohlF Iup5UKuJ8GaK/iaTSbTvaW9ySVybxZGWFq8lwzV6rGcPCeusN0qCxFmn3oElG/L3uvh7 j0XQ== X-Gm-Message-State: AOAM533ivv1Yy0CDfDym/2gM4AYVQSNcDbh/gVNmEXj6byjFhSHB71fo QO2aNM3vLVQZhThqXDAvUQSqpg== X-Received: by 2002:a0c:e188:: with SMTP id p8mr4914037qvl.8.1599189048707; Thu, 03 Sep 2020 20:10:48 -0700 (PDT) Received: from localhost.localdomain ([147.253.86.153]) by smtp.gmail.com with ESMTPSA id x59sm3481063qte.14.2020.09.03.20.10.47 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 03 Sep 2020 20:10:48 -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 v2 0/5] SM8150 and SM8250 videocc drivers Date: Thu, 3 Sep 2020 23:09:49 -0400 Message-Id: <20200904030958.13325-1-jonathan@marek.ca> X-Mailer: git-send-email 2.26.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org 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 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} | 22 +- drivers/clk/qcom/Kconfig | 18 + drivers/clk/qcom/Makefile | 2 + drivers/clk/qcom/videocc-sm8150.c | 276 ++++++++++ drivers/clk/qcom/videocc-sm8250.c | 518 ++++++++++++++++++ .../dt-bindings/clock/qcom,videocc-sm8150.h | 25 + .../dt-bindings/clock/qcom,videocc-sm8250.h | 42 ++ 8 files changed, 898 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} (62%) 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