Received: by 2002:ac0:a5a7:0:0:0:0:0 with SMTP id m36-v6csp1264015imm; Sat, 11 Aug 2018 09:27:17 -0700 (PDT) X-Google-Smtp-Source: AA+uWPyy0LsJGQlh1IPab8J9wDDPmQcvRKZutK8YcZEEE/a0TFlGSj6+R26HUnALbDP/3qjizIJv X-Received: by 2002:a63:5a13:: with SMTP id o19-v6mr10691761pgb.195.1534004837494; Sat, 11 Aug 2018 09:27:17 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1534004837; cv=none; d=google.com; s=arc-20160816; b=JWeqNxDwcyJElfGJmdZcA/Zn/DHoHyzXFLavAVHgBTf+TA6oSeQyGM8jhKNeEk0iGN xQXERLP7mOFa5XTuS/6hFalgH91AAfIt/HV+JbZwgp7qnWqJi80tW2z6dEFTD+wOHtWW I/TyfEEJF68FMvIU4tDGupiTwbn3z5sjpESI33WYc1l1vBtcO9cKR17fFWe8IEg0Kos5 KkmEmbNvRNJK7c4XOLjCaDsJxakbkORMBlwWg9D/NwLehI9kGI/PaMbTtI419ehOQl3E X943ODr4VaHIH9HRdGGbA+zTrFNMGciEIzWsmgY79kuHLEEqp/8LNg6KYoO2DNzMyHb0 BBXA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:to:message-id:date:subject:cc:from :dkim-signature:arc-authentication-results; bh=NRWcVmjoZOIq4vF441llFYiAmEEfOx+l/3fWdxYprPE=; b=kY+3JpnJFk6BHGwElNpFGH+3//6ui5JDnhDiKml2NUK81TpxwNSILplIG9kZknsb53 lM/3D++tzoM3+2qYNbLukudvlsRevxjEGHm19eZlx5KPu01F/v5Eyfj9YsgZJRO0Noh+ Humv9AhtgcgjzQjiNHfToMDwFjcqUv85dawWDbFPBkpueQatGD7orBz56OYM2LMuj0Mo b1IueSwBpH+92WtQ+PzRcsKrfvQrf+pUlWbnjAKJFjlssxMIPJJhhidEE9LDjF/auUmW oRKN8Iz/HKwDtdl6LVF5xlOE6XVzra8bT9ERJZU8a5Lw7dolca0N0JDTHkUelKpbaeJz urog== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@gmail.com header.s=20161025 header.b=PYFSJ53P; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id v9-v6si12313768pfg.123.2018.08.11.09.27.03; Sat, 11 Aug 2018 09:27:17 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=fail header.i=@gmail.com header.s=20161025 header.b=PYFSJ53P; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727591AbeHKS7o (ORCPT + 99 others); Sat, 11 Aug 2018 14:59:44 -0400 Received: from mail-wr1-f65.google.com ([209.85.221.65]:41624 "EHLO mail-wr1-f65.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727429AbeHKS7o (ORCPT ); Sat, 11 Aug 2018 14:59:44 -0400 Received: by mail-wr1-f65.google.com with SMTP id j5-v6so10733050wrr.8; Sat, 11 Aug 2018 09:25:01 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id; bh=NRWcVmjoZOIq4vF441llFYiAmEEfOx+l/3fWdxYprPE=; b=PYFSJ53PzU8o5eMT5RSYcXDhu7OMmMn3c+B4ny0EzauLvElOVPraRhubioYFqgNuio 1gfTV6aA1aLth3hV6Dp2MYDoJdNID6KmomGLnZ9aDho1MGpyBh6k3m34kuYevpwL8Hlt l9MZ2SMiyD0rduneNBLGwZrWvYcQoFO+3PrRkBTupkIUvuPkwEfyE8qFTyg7IsOGuEt7 7dzVc+XDPnFTM44nWf74mnc+uQPyghpcpmDsdoLELlD5nxILVoNKvEYrazGEmNFcBOw/ +7fsHJywI7Gnyu+oB3xfzefpP0hZKq1VztAltLOaCAEN/D3DxX1iGoip79C1QI+69jNd aCtA== 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=NRWcVmjoZOIq4vF441llFYiAmEEfOx+l/3fWdxYprPE=; b=iqiYSdzb9j3AflNWzl2QZ8c7N4JdRM5IPU/RpQtEhSRqeihrqvAlIoTi4SdHTwGSZD REbbNrDc7gR1UnpXaL7Xlg7inkULNq9fmWbFzEa5XLmZ08nN8uk9xU66azHi0tSOQne0 L5mPa0krftRoqg8ds05wei3qyDqExn+OUPi/PZdYUVYmGIE7H3xwnxVE+RbMz7JJGYQ0 9gWS5rMp7lUAgizjM5W1ti0pansc27ixNPohhkCKxnOGMNMOC4C6b1lLhuuhIyV0v/25 hNungyrW2uiJt40aVdsGoVgmFX4P+KaqcfpwwZ6sh6QcciPTc9mCqILrJWZnId2TGdbp p5ig== X-Gm-Message-State: AOUpUlFubQGQlsh7H8fFedEtdk5lhUDhCr+47lTgZ3iDGArzWdUXuZJJ 2O5SLJMXLZovpfsHApVh5TUAXcbnHg== X-Received: by 2002:adf:c44c:: with SMTP id a12-v6mr7000137wrg.20.1534004700569; Sat, 11 Aug 2018 09:25:00 -0700 (PDT) Received: from localhost.localdomain (host86-141-127-107.range86-141.btcentralplus.com. [86.141.127.107]) by smtp.googlemail.com with ESMTPSA id x82-v6sm14015342wmd.11.2018.08.11.09.24.59 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sat, 11 Aug 2018 09:25:00 -0700 (PDT) From: Craig Tatlor Cc: ctatlor97@gmail.com, linux-arm-msm@vger.kernel.org, Rob Herring , Mark Rutland , Andy Gross , David Brown , Bjorn Andersson , Sricharan R , Stephen Boyd , devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-soc@vger.kernel.org Subject: [PATCH] firmware: qcom: scm: Add sdm660 soc compatible Date: Sat, 11 Aug 2018 17:24:50 +0100 Message-Id: <20180811162453.10930-1-ctatlor97@gmail.com> X-Mailer: git-send-email 2.18.0 To: unlisted-recipients:; (no To-header on input) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Add the compatible for SDM660. This does not need clocks to do scm calls Signed-off-by: Craig Tatlor --- Documentation/devicetree/bindings/firmware/qcom,scm.txt | 1 + drivers/firmware/qcom_scm.c | 3 +++ 2 files changed, 4 insertions(+) diff --git a/Documentation/devicetree/bindings/firmware/qcom,scm.txt b/Documentation/devicetree/bindings/firmware/qcom,scm.txt index fcf6979c0b6d..499608fcc864 100644 --- a/Documentation/devicetree/bindings/firmware/qcom,scm.txt +++ b/Documentation/devicetree/bindings/firmware/qcom,scm.txt @@ -11,6 +11,7 @@ Required properties: * "qcom,scm-msm8660" for MSM8660 platforms * "qcom,scm-msm8690" for MSM8690 platforms * "qcom,scm-msm8996" for MSM8996 platforms + * "qcom,scm-sdm660" for SDM660 platforms * "qcom,scm-ipq4019" for IPQ4019 platforms * "qcom,scm" for later processors (MSM8916, APQ8084, MSM8974, etc) - clocks: One to three clocks may be required based on compatible. diff --git a/drivers/firmware/qcom_scm.c b/drivers/firmware/qcom_scm.c index e778af766fae..ee113ceb5d41 100644 --- a/drivers/firmware/qcom_scm.c +++ b/drivers/firmware/qcom_scm.c @@ -603,6 +603,9 @@ static const struct of_device_id qcom_scm_dt_match[] = { { .compatible = "qcom,scm-msm8996", .data = NULL, /* no clocks */ }, + { .compatible = "qcom,scm-sdm660", + .data = NULL, /* no clocks */ + }, { .compatible = "qcom,scm-ipq4019", .data = NULL, /* no clocks */ }, -- 2.18.0