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: 50860 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-la0-f70.google.com (mail-la0-f70.google.com [209.85.215.70]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id E3BA9213FD for ; Wed, 8 Jul 2015 09:40:24 +0000 (UTC) Received: by laar3 with SMTP id r3sf65243424laa.1 for ; Wed, 08 Jul 2015 02:40:23 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:delivered-to:from:to:cc:subject :date:message-id:sender:precedence:list-id:x-original-sender :x-original-authentication-results:mailing-list:list-post:list-help :list-archive:list-unsubscribe; bh=Ng4SNAS5yv18487pfv39oP383JslZujWRVD0BeEGSik=; b=lgbMrlndGWDR+x27/7gWBSucV8cErcJoSmNIB4CyzW+Gy+AqpVbQ5qJRJaFP7pROWW LLXx86mCEdhwYkz6jGsNL9p3hOZ98udTHQ8xpi+MP8kD5P4jQyPY+x4KWToB+Ogeq+qU 6p0WiNi/W91COgNk2KmQ/6w7i2n7ayV5IjWpgDd7Rd8vGhVL36zg7FjGG9W8UF6pslT2 pYnuqbKbDUFLgjrZDIVEMZRygZPm/IVOut++5Ed7qIieFfkB2A3P7WhrudM1aaNcfHyj c0OMBWNwPdALj1DSRicdI0M2e6T4Ra3ZNhc4NXDiP+Ep1P7cVYchvb0nRbaQZzlHbYO7 KCXg== X-Gm-Message-State: ALoCoQlZl8uG7V2QB0m/384Z2cP0Hl2TsA3GejIrJFPpyRj+lqlY1bij0ycY1DCywp/FcPULDL9f X-Received: by 10.152.37.101 with SMTP id x5mr4377736laj.5.1436348423891; Wed, 08 Jul 2015 02:40:23 -0700 (PDT) MIME-Version: 1.0 X-BeenThere: patchwork-forward@linaro.org Received: by 10.152.204.9 with SMTP id ku9ls844967lac.37.gmail; Wed, 08 Jul 2015 02:40:23 -0700 (PDT) X-Received: by 10.152.87.231 with SMTP id bb7mr8386885lab.16.1436348423716; Wed, 08 Jul 2015 02:40:23 -0700 (PDT) Received: from mail-lb0-f178.google.com (mail-lb0-f178.google.com. [209.85.217.178]) by mx.google.com with ESMTPS id p8si1382935laf.10.2015.07.08.02.40.23 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 08 Jul 2015 02:40:23 -0700 (PDT) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.217.178 as permitted sender) client-ip=209.85.217.178; Received: by lbcpe5 with SMTP id pe5so52457192lbc.2 for ; Wed, 08 Jul 2015 02:40:23 -0700 (PDT) X-Received: by 10.152.1.66 with SMTP id 2mr6785100lak.56.1436348423589; Wed, 08 Jul 2015 02:40:23 -0700 (PDT) X-Forwarded-To: patchwork-forward@linaro.org X-Forwarded-For: patch@linaro.org patchwork-forward@linaro.org Delivered-To: patch@linaro.org Received: by 10.112.108.230 with SMTP id hn6csp2954671lbb; Wed, 8 Jul 2015 02:40:22 -0700 (PDT) X-Received: by 10.70.129.5 with SMTP id ns5mr18918661pdb.134.1436348420431; Wed, 08 Jul 2015 02:40:20 -0700 (PDT) Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id sk5si3241391pac.9.2015.07.08.02.40.19; Wed, 08 Jul 2015 02:40:20 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-arm-msm-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932617AbbGHJkQ (ORCPT + 6 others); 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-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: list List-ID: X-Mailing-List: linux-arm-msm@vger.kernel.org X-Removed-Original-Auth: Dkim didn't pass. X-Original-Sender: ivan.ivanov@linaro.org X-Original-Authentication-Results: mx.google.com; spf=pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.217.178 as permitted sender) smtp.mail=patch+caf_=patchwork-forward=linaro.org@linaro.org Mailing-list: list patchwork-forward@linaro.org; contact patchwork-forward+owners@linaro.org X-Google-Group-Id: 836684582541 List-Post: , List-Help: , List-Archive: List-Unsubscribe: , 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 --- 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 }, };