Received: by 2002:a05:6902:102b:0:0:0:0 with SMTP id x11csp2329270ybt; Sun, 21 Jun 2020 16:50:58 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwwwrgmqbMVzmtL+F9EbZg6J7enoaYNkepQN/Gk41ms2eIJm0IykK+ZxjKyPvGkZkm4R6hC X-Received: by 2002:aa7:c4c7:: with SMTP id p7mr14870603edr.271.1592783458470; Sun, 21 Jun 2020 16:50:58 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1592783458; cv=none; d=google.com; s=arc-20160816; b=Rrwpq/B4OQ5VMZtFNwOiUeqoXwS6U9nta7ZIywJdXZ3/hMKANzTa98CffT5Y4PLuvs 1VHi5yaIDTl5LnVmmXkZ+94lU0sHq/7y+hyUbRq7kwtFvW0YgS/d833gYDsdKKzXZ1x3 metcQwq+qEMOWWH8TCUEcZHxJGHxGNMJ54kelsBdAVnnl+L8J+7Fsnn73pT85XVgusLw aBBOoqxxtAVFsltMGqhIt6gfVE5bY3MlKK9fK9JdRAcxGl1DbqF5iwonzDssP1N8iJS9 Acr4TFtMDNV3itO+lyLfnc18JkPyDxZ44QnEN5JXUC2hbIRvh4nFEXHvk+aEkwiEjUDo S0yQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:cc:to:subject :message-id:date:from:in-reply-to:references:mime-version :dkim-signature; bh=qaq0ziqhM6vKmk7QeOoWqHQ67riZN5t6NkqmIBKUOe4=; b=L9sVPPQcJBS2r/P8LUnOnuLR1zUye4lWKXNOxulf8hXWVeauqKTm+GtFZuxj2HXboI oHlzDPAWQju1VDxUci9HuPXv5vVsamPBL+gONqkeMQt3lVgUZWlVjWohNv0omEWo2wN7 AskmKAB0hd3f5tNZjVQpZb89v18dqyDBVm8QMUkbfwPZXsyLLC0hQPkClN5nOcKTZbAN YLGx5x+9wux7KXAzBq6PZZKsnwi3rhwgb7DpnBSdetTq/tv5Pr5+zUkEHNoSaE4hbxy4 WlAF9sO8UYV+OH3oM2W9ykEc65oxKUwpeOYG/GTtVOc0menB3XzGY2XQY6INwGZwnpkx Q7hw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b="tYBsk3/Y"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id k22si3590565ejv.685.2020.06.21.16.50.36; Sun, 21 Jun 2020 16:50:58 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b="tYBsk3/Y"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1730944AbgFUXsw (ORCPT + 99 others); Sun, 21 Jun 2020 19:48:52 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:34522 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726485AbgFUXsw (ORCPT ); Sun, 21 Jun 2020 19:48:52 -0400 Received: from mail-lj1-x243.google.com (mail-lj1-x243.google.com [IPv6:2a00:1450:4864:20::243]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 747BBC061794; Sun, 21 Jun 2020 16:48:50 -0700 (PDT) Received: by mail-lj1-x243.google.com with SMTP id y11so17256375ljm.9; Sun, 21 Jun 2020 16:48:50 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc:content-transfer-encoding; bh=qaq0ziqhM6vKmk7QeOoWqHQ67riZN5t6NkqmIBKUOe4=; b=tYBsk3/YqSVg/GrD1/BRa1uJEctAz/q/aHja7fR0zhkpmSEmOFaOCoRo9T5wPWF5Up 5YFx1OACwJnLcLtcZUaeA4l/E0pB8dFY5yh9iSAJeVroL+6etwpGD7O+1K0lJdtfh+eS 5t3w8S0aAFa0fSC6RVmzOqu6F/9sAd1plDiz6vHbr2L8QbYpxnYr/ryL1PlY2uApMLPx ZbHMTaIlk1l0/xBDLGDi5gPptaAwbfjv7mTDzs1NDGr8FrFvwfawA5CrbbmZKW4bq2gt BVAtHkc0modgDPwxIaFz8hWxdOIGVEUDTOrQHorYbcoMBjiy2j9S9HdS2TdNLB2FtwFg vMng== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc:content-transfer-encoding; bh=qaq0ziqhM6vKmk7QeOoWqHQ67riZN5t6NkqmIBKUOe4=; b=Ded6PLvm983tAn+cAGsarcwWOunlUrvnimWH48/DCSG6biqlMbncHdXl0u2hjjsLJK g3R2/dTdGgtj2Yyxyw3jkHpdXBLOn49ZFzzWvd7c2RqLKbHYRQjmr5kjklhOaIV6fr+E dap2PYAcFiLr0xSnwxSkNqpXXMPizIKe/oUsoCuVRCiXt/bcs1OfFK0K66oRmIuOhRi+ OzZya2cmm/FFrJEBIhP65L8+AUo9Vm2Uzhwc+powR3sZoBfAMJ3pASzimSMmzIOOQjN9 c4zRmNYCTmvH51eLcgeXFUjWxTgE7zoy0dHDH4s9/lOLEivQUXG9zv+cJq6+26WuqwU+ O08g== X-Gm-Message-State: AOAM531HEJf4i9Os6SyXrcA0HiKgfXjAHIcLV3bqs9D2xKvAU7VOhqhU iP/ANa3g8OJP9gfk3Mgnu7KU396wTJ2crzZ23Wg= X-Received: by 2002:a2e:8345:: with SMTP id l5mr6964024ljh.154.1592783328849; Sun, 21 Jun 2020 16:48:48 -0700 (PDT) MIME-Version: 1.0 References: <20200621213806.551879-1-konradybcio@gmail.com> <20200621213806.551879-4-konradybcio@gmail.com> In-Reply-To: <20200621213806.551879-4-konradybcio@gmail.com> From: Alexey Minnekhanov Date: Mon, 22 Jun 2020 02:49:04 +0300 Message-ID: Subject: Re: [PATCH 3/8] soc: qcom: socinfo: Add socinfo entry for SDM630 To: Konrad Dybcio Cc: skrzynka@konradybcio.pl, Andy Gross , Bjorn Andersson , Michael Turquette , Stephen Boyd , Rob Herring , Linus Walleij , Kees Cook , Anton Vorontsov , Colin Cross , Tony Luck , linux-arm-msm@vger.kernel.org, linux-clk@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-gpio@vger.kernel.org Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi, I also wanted to send this, but in this form: [PATCH] soc: qcom: socinfo: Add soc information for SDM630/636/660 Add socinfo support for SDM630/636/660. --- drivers/soc/qcom/socinfo.c | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/drivers/soc/qcom/socinfo.c b/drivers/soc/qcom/socinfo.c index 5983c6ffb078..398a3c77954e 100644 --- a/drivers/soc/qcom/socinfo.c +++ b/drivers/soc/qcom/socinfo.c @@ -202,8 +202,14 @@ static const struct soc_id soc_id[] =3D { { 310, "MSM8996AU" }, { 311, "APQ8096AU" }, { 312, "APQ8096SG" }, + { 317, "SDM660" }, + { 318, "SDM630" }, { 321, "SDM845" }, + { 324, "SDA660" }, + { 327, "SDA630" }, { 341, "SDA845" }, + { 345, "SDM636" }, + { 346, "SDA636" }, }; I think it would be great to have all IDs of compatible SoCs at once. I've tested it on my sdm660 by adding some printks in probe: [ 1.609040] socinfo: family =3D Snapdragon [ 1.609043] socinfo: machine =3D SDM660 [ 1.619712] socinfo: soc_id =3D 317 [ 1.630347] socinfo: revision =3D 1.0 =D0=BF=D0=BD, 22 =D0=B8=D1=8E=D0=BD. 2020 =D0=B3. =D0=B2 00:40, Konrad Dybc= io : > > This patch adds missing soc ID for SDM630. > > Signed-off-by: Konrad Dybcio > --- > drivers/soc/qcom/socinfo.c | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/drivers/soc/qcom/socinfo.c b/drivers/soc/qcom/socinfo.c > index 5983c6ffb078..705f142ee588 100644 > --- a/drivers/soc/qcom/socinfo.c > +++ b/drivers/soc/qcom/socinfo.c > @@ -202,6 +202,7 @@ static const struct soc_id soc_id[] =3D { > { 310, "MSM8996AU" }, > { 311, "APQ8096AU" }, > { 312, "APQ8096SG" }, > + { 318, "SDM630" }, > { 321, "SDM845" }, > { 341, "SDA845" }, > }; > -- > 2.27.0 >