From patchwork Wed Jul 8 09:40:05 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Ivan T. Ivanov" X-Patchwork-Id: 6743251 X-Patchwork-Delegate: agross@codeaurora.org Return-Path: X-Original-To: patchwork-linux-arm-msm@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork2.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork2.web.kernel.org (Postfix) with ESMTP id F3C2DC05AC for ; Wed, 8 Jul 2015 09:40:20 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 30F4B2072B for ; Wed, 8 Jul 2015 09:40:20 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 3BCDC2071E for ; Wed, 8 Jul 2015 09:40:19 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932617AbbGHJkQ (ORCPT ); Wed, 8 Jul 2015 05:40:16 -0400 Received: from mail-wi0-f170.google.com ([209.85.212.170]:33489 "EHLO mail-wi0-f170.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1758256AbbGHJkO (ORCPT ); Wed, 8 Jul 2015 05:40:14 -0400 Received: by wiwl6 with SMTP id l6so338908046wiw.0 for ; Wed, 08 Jul 2015 02:40:11 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=dzbOQdBgWecUuuF5tVtQJkncpnZuVr11U8PYE18h40A=; b=DA4QzQ6feBBf3s2tsMQsLMwQVUrXnOT+4AN3j9jhyl6q+tDY/f/H4uv44r4MWeynY6 JHytd2xpKaE8ZA6442rPz+k+jWL1Ea1c0dORKYNQqIw6+5BcEbsgYjLcNpnJ2RrFeKUA Yy0MZ4MxjyrFhLBLlLWKkw/eJzd4I5VKG5kC5SFcIvE/QEHB90rAVWCWIxmeA+XwpOZn txRz6D2+Gw/WmF/FIUAMoGiv08i8tfzC2J0ZgW0d4g/11lYaBv5nBBttuKxNcTbhX9SY 6rTFlEg5EDwoSAhgY96triWZpX4JVO1JBuKocKTqiwrfXnWbbkoz0ORiaIQf2kQM81LT c1oA== X-Gm-Message-State: ALoCoQnVqil9RgfO1m1jqwMAm/stWNGk4o31z5QNZiiFYq5bA8Rlo+2VF92rfctyTWseOpyIML0O X-Received: by 10.194.142.146 with SMTP id rw18mr16611604wjb.110.1436348411722; Wed, 08 Jul 2015 02:40:11 -0700 (PDT) Received: from localhost.localdomain ([37.157.136.206]) by smtp.googlemail.com with ESMTPSA id ef10sm2444676wjd.49.2015.07.08.02.40.10 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Wed, 08 Jul 2015 02:40:10 -0700 (PDT) From: "Ivan T. Ivanov" To: Lee Jones , Bjorn Andersson Cc: Samuel Ortiz , linux-kernel@vger.kernel.org, linux-arm-msm@vger.kernel.org Subject: [PATCH v2] mfd: qcom-rpm: Add apq8064 QDSS clock resource Date: Wed, 8 Jul 2015 12:40:05 +0300 Message-Id: <1436348405-32293-1-git-send-email-ivan.ivanov@linaro.org> X-Mailer: git-send-email 1.9.1 Sender: linux-arm-msm-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-arm-msm@vger.kernel.org X-Spam-Status: No, score=-7.6 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_HI, RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=ham version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP Qualcomm Debug Subsystem clock is used by CoreSight components. Add required definitions for it. qcom_rpm_resource::status_id is not used by driver, so just mark it as ~0. Signed-off-by: Ivan T. Ivanov Acked-by: Bjorn Andersson --- Changes since first version: * Use ~0 initializer for status_id, this field is not used by driver. drivers/mfd/qcom_rpm.c | 1 + 1 file changed, 1 insertion(+) -- 1.9.1 -- To unsubscribe from this list: send the line "unsubscribe linux-arm-msm" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html diff --git a/drivers/mfd/qcom_rpm.c b/drivers/mfd/qcom_rpm.c index 12e3243..6afc9fa 100644 --- a/drivers/mfd/qcom_rpm.c +++ b/drivers/mfd/qcom_rpm.c @@ -149,6 +149,7 @@ static const struct qcom_rpm_resource apq8064_rpm_resource_table[] = { [QCOM_RPM_USB_OTG_SWITCH] = { 210, 125, 82, 1 }, [QCOM_RPM_HDMI_SWITCH] = { 211, 126, 83, 1 }, [QCOM_RPM_DDR_DMM] = { 212, 127, 84, 2 }, + [QCOM_RPM_QDSS_CLK] = { 214, ~0, 7, 1 }, [QCOM_RPM_VDDMIN_GPIO] = { 215, 131, 89, 1 }, };