Received: by 2002:a17:90b:8d0:0:0:0:0 with SMTP id ds16csp5072313pjb; Mon, 27 Jul 2020 12:11:50 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzZayFS1dYzI82Vsd4zw+qwxjVC3MJMafQ8pV0IZ8bwxPIegNGv1Bct2M46CYSNUbC3RvNM X-Received: by 2002:aa7:c70b:: with SMTP id i11mr3320447edq.272.1595877110208; Mon, 27 Jul 2020 12:11:50 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1595877110; cv=none; d=google.com; s=arc-20160816; b=mOaXYqQ/NGyhZau9/umtkiuq9jJ1K00mYCEXzLJ2LReHKFgIMgMokIR17stp5DLyAo 9KHBNCzMEvCAsS8JtJf+Vk4xs+EAHY1WgzotP1rRpsIdE0AD7znkPX5qdJ2M2+h9V3vf gOwdVOVFv2e0b7ZTZTx7xPzbltiFLS+a8NOxOJUKXZozJ8iRzNatAXort6lQNgTeBrtJ eTJ9l3/Wn4VTM1Fl4G/j52fm81j5mfEcYbZ1Wc8qC9UqKbqeve1s6n3WGb1eykUMGcdQ Ak+MQWAvqtwLMpo7AX43VXkUR5wdS8eKtyhxIE/JyvUhWJackQ1E7J06joLeMdf8fRh8 vJdg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date; bh=FezFginUTy2nglTrBQrbccgUu3m/rgDlVyShBQFXbuM=; b=cTFBPF13JNUbdyhHXG6EARMOHndp2hUEGYpZbkUt/cR8dX12oZY3mqpWNkHVvrhX9W i5GpiH0lZljB/pttdxKDV+WZpAsoJFBLVwoN0ds1/mSpGP+jOhBU9/1LN3dweeLXCjp9 jJHyjZXarAH52Re4xAjST3avfE4nKwiGgJMCo4SvYU6mj7gcO6EVauVxzFCMmAEmZxdN HKayakWJndlvhLvK54oPtRjSDNGKQxdSlGP9C9aeCZ4D0dfPvqNRpFo+7sf7NikFY/aX tXTgCE7ojq3WmKFWFuqHrsb1f/sHDG1l8Rtc/Geqw+V3Qgh6QGk2BoHDpSItnLcF6n9d Qwsw== ARC-Authentication-Results: i=1; mx.google.com; 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=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id t10si6007100ejs.137.2020.07.27.12.11.28; Mon, 27 Jul 2020 12:11:50 -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; 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=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1730553AbgG0SNw (ORCPT + 99 others); Mon, 27 Jul 2020 14:13:52 -0400 Received: from mail-il1-f194.google.com ([209.85.166.194]:36087 "EHLO mail-il1-f194.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728312AbgG0SNw (ORCPT ); Mon, 27 Jul 2020 14:13:52 -0400 Received: by mail-il1-f194.google.com with SMTP id z3so3673526ilh.3; Mon, 27 Jul 2020 11:13:51 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to; bh=FezFginUTy2nglTrBQrbccgUu3m/rgDlVyShBQFXbuM=; b=HfzXlKqcU5oWxENTYnB2cM0h/mDjkeheLT5qiOyyLv0UV5kzbx2wyw/Q/0Pi8tb9BH kjtl+RIFEHVJ6J473PunNXxQuk5hJvoijHnyXsYcTiRhr9W69qb+pN0WevFXd1PJuq6V 0KDZ8FLpiogNRXDNAY8AYntD3xi9hrIRsMWYLAyKWoatfteE3Yk1br9Q3FzyOu1o5fJV 66bQRlQHriOvMkFigq+rRZCP3neNgaPK1GVBrmRF4/z+B3WQiuZoJn+w9QgPysMCeyv4 FwyQrf3FI4zEo16Lrif2i3rq99zOnvMBm0XNIODx6qaq8Owb6fP/Ea8GRgbboBTq1KLd ZBRw== X-Gm-Message-State: AOAM530IK2lFEHVwffUu3GpyutQswwfdKRFlE05ez9GIWqkoBPpNScL1 zpWkQOxWx2W6JPrpYWHDtQ== X-Received: by 2002:a05:6e02:8e4:: with SMTP id n4mr16683067ilt.96.1595873631429; Mon, 27 Jul 2020 11:13:51 -0700 (PDT) Received: from xps15 ([64.188.179.252]) by smtp.gmail.com with ESMTPSA id c67sm9202464iof.16.2020.07.27.11.13.47 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 27 Jul 2020 11:13:50 -0700 (PDT) Received: (nullmailer pid 638435 invoked by uid 1000); Mon, 27 Jul 2020 18:13:46 -0000 Date: Mon, 27 Jul 2020 12:13:46 -0600 From: Rob Herring To: Konrad Dybcio Cc: martin.botka1@gmail.com, Rob Clark , Sean Paul , David Airlie , Daniel Vetter , Andy Gross , Bjorn Andersson , Kishon Vijay Abraham I , Vinod Koul , Greg Kroah-Hartman , Michael Turquette , Stephen Boyd , Felipe Balbi , Jordan Crouse , zhengbin , Jeffrey Hugo , AngeloGioacchino Del Regno , Ben Dooks , Krzysztof Wilczynski , Harigovindan P , Brian Masney , Sam Ravnborg , Xiaozhe Shi , Manu Gautam , linux-arm-msm@vger.kernel.org, dri-devel@lists.freedesktop.org, freedreno@lists.freedesktop.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-usb@vger.kernel.org, linux-clk@vger.kernel.org Subject: Re: [PATCH 9/9] soc/qcom: Add REVID driver Message-ID: <20200727181346.GA634850@bogus> References: <20200726111215.22361-1-konradybcio@gmail.com> <20200726111215.22361-10-konradybcio@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20200726111215.22361-10-konradybcio@gmail.com> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Sun, Jul 26, 2020 at 01:12:06PM +0200, Konrad Dybcio wrote: > From: Xiaozhe Shi > > Add the REVID device driver. The REVID driver will print out the PMIC > revision at probe time. > > Signed-off-by: Xiaozhe Shi > [konradybcio@gmail.com: Fast-forward the driver from kernel 4.14 to 5.8, > convert binding to yaml] > Signed-off-by: Konrad Dybcio > --- > .../bindings/soc/qcom/qcom,qpnp-revid.yaml | 38 ++ Bindings should be a separate patch. checkpatch.pl will tell you this. > drivers/soc/qcom/Kconfig | 9 + > drivers/soc/qcom/Makefile | 1 + > drivers/soc/qcom/qpnp-revid.c | 288 ++++++++++++++ > include/linux/qpnp/qpnp-revid.h | 369 ++++++++++++++++++ > 5 files changed, 705 insertions(+) > create mode 100644 Documentation/devicetree/bindings/soc/qcom/qcom,qpnp-revid.yaml > create mode 100644 drivers/soc/qcom/qpnp-revid.c > create mode 100644 include/linux/qpnp/qpnp-revid.h