From patchwork Thu Sep 3 19:21:43 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Mike Tipton X-Patchwork-Id: 11754581 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id C962D14E5 for ; Thu, 3 Sep 2020 19:22:13 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id AFB1A2098B for ; Thu, 3 Sep 2020 19:22:13 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=fail reason="signature verification failed" (1024-bit key) header.d=mg.codeaurora.org header.i=@mg.codeaurora.org header.b="cZBVR/BI" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729100AbgICTWN (ORCPT ); Thu, 3 Sep 2020 15:22:13 -0400 Received: from m43-7.mailgun.net ([69.72.43.7]:16769 "EHLO m43-7.mailgun.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728491AbgICTWM (ORCPT ); Thu, 3 Sep 2020 15:22:12 -0400 DKIM-Signature: a=rsa-sha256; v=1; c=relaxed/relaxed; d=mg.codeaurora.org; q=dns/txt; s=smtp; t=1599160931; h=Content-Transfer-Encoding: MIME-Version: Message-Id: Date: Subject: Cc: To: From: Sender; bh=R0hh22KkhlltUAF3srHYTsHrJ/HEJF9yq02KfP6Tpb8=; b=cZBVR/BIHk/CVwag2V9DjqnXSdPKb/6y8YQvaAxIZki6+s71t9htxokvBUlNUxLOKrKeDzou pJ+mKIsZKkAGyKL3lc/bDhrAYUWGlUsIJNUSGHuWjoBNq2saqXDU8azGS5sfL49Uc2AtoXz4 KHEgnorbamL25IZ0/oxwuw5O/2A= X-Mailgun-Sending-Ip: 69.72.43.7 X-Mailgun-Sid: WyI1MzIzYiIsICJsaW51eC1hcm0tbXNtQHZnZXIua2VybmVsLm9yZyIsICJiZTllNGEiXQ== Received: from smtp.codeaurora.org (ec2-35-166-182-171.us-west-2.compute.amazonaws.com [35.166.182.171]) by smtp-out-n07.prod.us-east-1.postgun.com with SMTP id 5f514263380a624e4dec6799 (version=TLS1.2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256); Thu, 03 Sep 2020 19:22:11 GMT Received: by smtp.codeaurora.org (Postfix, from userid 1001) id 6F8A8C43387; Thu, 3 Sep 2020 19:22:10 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-caf-mail-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-1.0 required=2.0 tests=ALL_TRUSTED,SPF_NONE autolearn=unavailable autolearn_force=no version=3.4.0 Received: from mdtipton-linux.qualcomm.com (i-global254.qualcomm.com [199.106.103.254]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-SHA256 (128/128 bits)) (No client certificate requested) (Authenticated sender: mdtipton) by smtp.codeaurora.org (Postfix) with ESMTPSA id 9BE8AC433C9; Thu, 3 Sep 2020 19:22:09 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 smtp.codeaurora.org 9BE8AC433C9 Authentication-Results: aws-us-west-2-caf-mail-1.web.codeaurora.org; dmarc=none (p=none dis=none) header.from=codeaurora.org Authentication-Results: aws-us-west-2-caf-mail-1.web.codeaurora.org; spf=none smtp.mailfrom=mdtipton@codeaurora.org From: Mike Tipton To: georgi.djakov@linaro.org Cc: bjorn.andersson@linaro.org, agross@kernel.org, linux-pm@vger.kernel.org, linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Mike Tipton Subject: [PATCH v4 0/6] interconnect: qcom: Misc bcm-voter changes and fixes Date: Thu, 3 Sep 2020 12:21:43 -0700 Message-Id: <20200903192149.30385-1-mdtipton@codeaurora.org> X-Mailer: git-send-email 2.24.0 MIME-Version: 1.0 Sender: linux-arm-msm-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-arm-msm@vger.kernel.org These changes are mostly unrelated, but there are some dependencies between them. v4: - Reorder series such that the fix comes first - Collect reviewed/acked-by from v3 v3: - Improve qcom,tcs-wait property description - Stop using #define in property `default` doc v2: - New patch for generic qcom,icc.h bindings - New patch for documenting qcom,tcs-wait property - Update bcm_div() 'base' parameter from u64 to u32 Mike Tipton (6): interconnect: qcom: Fix small BW votes being truncated to zero dt-bindings: interconnect: Add generic qcom bindings dt-bindings: interconnect: Add property to set BCM TCS wait behavior interconnect: qcom: Support bcm-voter-specific TCS wait behavior interconnect: qcom: Only wait for completion in AMC/WAKE by default interconnect: qcom: Add support for per-BCM scaling factors .../bindings/interconnect/qcom,bcm-voter.yaml | 20 ++++++ drivers/interconnect/qcom/bcm-voter.c | 63 ++++++++++++------- drivers/interconnect/qcom/icc-rpmh.c | 3 + drivers/interconnect/qcom/icc-rpmh.h | 20 ++---- include/dt-bindings/interconnect/qcom,icc.h | 26 ++++++++ 5 files changed, 95 insertions(+), 37 deletions(-) create mode 100644 include/dt-bindings/interconnect/qcom,icc.h