From patchwork Wed Jan 11 22:58:03 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Andy Gross X-Patchwork-Id: 9511609 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 604F8606E1 for ; Wed, 11 Jan 2017 22:58:49 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 528A428695 for ; Wed, 11 Jan 2017 22:58:49 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 4762F286A1; Wed, 11 Jan 2017 22:58:49 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-4.1 required=2.0 tests=BAYES_00,DKIM_SIGNED, RCVD_IN_DNSWL_MED,T_DKIM_INVALID autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.9]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id D908B28695 for ; Wed, 11 Jan 2017 22:58:48 +0000 (UTC) Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.87 #1 (Red Hat Linux)) id 1cRRqu-0008Q0-Se; Wed, 11 Jan 2017 22:58:44 +0000 Received: from mail-oi0-x236.google.com ([2607:f8b0:4003:c06::236]) by bombadil.infradead.org with esmtps (Exim 4.87 #1 (Red Hat Linux)) id 1cRRqq-0007s0-7E for linux-arm-kernel@lists.infradead.org; Wed, 11 Jan 2017 22:58:42 +0000 Received: by mail-oi0-x236.google.com with SMTP id w204so3489296oiw.0 for ; Wed, 11 Jan 2017 14:58:19 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id; bh=+Jqm0UVrNIjlTLE/aGMCQrAsE2B86GY9rXGABnY+tiw=; b=UdVtIIckRFpSmivEjF3GIdtY6EBUbkyZLNKgASTMflZkiGFhQ8MoZquKb9QE6Oqy0F H/KTtTfeOHq+RPg4IzQbKUt5yVES4E1DTl7NZKd6zDaiykjjboPacPK8v9ezO08vTqyV 5b1HEmlKFKitiWyN8c7+aRMrbB8u52FxKydIc= 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; bh=+Jqm0UVrNIjlTLE/aGMCQrAsE2B86GY9rXGABnY+tiw=; b=jiRw0A37f3Gu97b7v4n3UP5hAqsggWfAMquME4wumlvAslD4wpUOA1mACzJsNZCOq5 8BaXmc43wJ+ninwCgAxXOHmth5aTCQnSENMgdNkWClS4rwdBaDeSkl8LFb11epIpNhxC 2QDw1qTsLZM0KU6QxHVp+zORA8F0kBCcXKVbEAQckYmjrt2RnA65cnYJuBPJpJaeSRRt a9TB1ZLBiU30ddPcc0+/fKJ5PbRf96v8rChVqbmPzB2VmFk329EIqcIrmZ64ZBalMxUc h2v8TrGTkQOOcwACPWbY/ld13sMfZRM+Ve5FzvoaGrzrgschLDfazjgR2PCWgM/nRSXG 65Mg== X-Gm-Message-State: AIkVDXKkBBfcRoqvATuNegd7W4hqPRVtA8RIgIHZ42A3G94ANeTN4I+QDiw0iyV0GW89vHnG X-Received: by 10.157.58.74 with SMTP id j68mr5146645otc.194.1484175498537; Wed, 11 Jan 2017 14:58:18 -0800 (PST) Received: from localhost ([2602:306:3406:6500:3c9a:46d:ea1b:62ad]) by smtp.gmail.com with ESMTPSA id p2sm649440oic.6.2017.01.11.14.58.17 (version=TLS1_2 cipher=AES128-SHA bits=128/128); Wed, 11 Jan 2017 14:58:18 -0800 (PST) From: Andy Gross To: linux-arm-msm@vger.kernel.org Subject: [PATCH] firmware: qcom: scm: Mask APQ8064 core clk dependency Date: Wed, 11 Jan 2017 16:58:03 -0600 Message-Id: <1484175483-25333-1-git-send-email-andy.gross@linaro.org> X-Mailer: git-send-email 1.9.1 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20170111_145840_318121_B2EA9159 X-CRM114-Status: GOOD ( 11.44 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Andy Gross , linux-arm-kernel@lists.infradead.org MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP This patch masks the core clk requirement for the APQ8064. Until the other peripherals correctly describe their clock dependencies or the bus driver is put in place to handle the RPM dependencies, this bit will remain masked. Signed-off-by: Andy Gross Reviewed-by: Bjorn Andersson --- drivers/firmware/qcom_scm.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/firmware/qcom_scm.c b/drivers/firmware/qcom_scm.c index 893f953ea..65d0d9d 100644 --- a/drivers/firmware/qcom_scm.c +++ b/drivers/firmware/qcom_scm.c @@ -387,7 +387,7 @@ static int qcom_scm_probe(struct platform_device *pdev) static const struct of_device_id qcom_scm_dt_match[] = { { .compatible = "qcom,scm-apq8064", - .data = (void *) SCM_HAS_CORE_CLK, + /* FIXME: This should have .data = (void *) SCM_HAS_CORE_CLK */ }, { .compatible = "qcom,scm-msm8660", .data = (void *) SCM_HAS_CORE_CLK,