From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-7.0 required=3.0 tests=BAYES_00,MAILING_LIST_MULTI, SIGNED_OFF_BY,SPF_HELO_NONE,SPF_PASS autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 255DCC433E4 for ; Mon, 27 Jul 2020 18:13:54 +0000 (UTC) Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 0A8F120729 for ; Mon, 27 Jul 2020 18:13:54 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 0A8F120729 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=kernel.org Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=dri-devel-bounces@lists.freedesktop.org Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 5FE4E89798; Mon, 27 Jul 2020 18:13:53 +0000 (UTC) Received: from mail-il1-f194.google.com (mail-il1-f194.google.com [209.85.166.194]) by gabe.freedesktop.org (Postfix) with ESMTPS id 333AF89798; Mon, 27 Jul 2020 18:13:52 +0000 (UTC) Received: by mail-il1-f194.google.com with SMTP id t18so13949503ilh.2; Mon, 27 Jul 2020 11:13:52 -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=O5QWAI6rCWWpE8Z0eqr10b+m6lZG8RJgESZQNhneUrc539VtJ87a6niCZUFqdN7tjt A+0eMkpJQCt7zjRxYYmXikhnEyp/87RaNndgXb5jwVLfXENkfCjJQaSAgTK13gdP97wu 4KuXZ4/FrSrgj4rOAt64DOQBBrHwnnpWlHX+mLdMC4vCh69WUYIhWv9KCczAvW/cxeZ1 +5UJoyRisQbjSSta2kGYglxRPG2eCrjQHZJ85IWapO/hNsQFIyg8DjGaMRDPaoesg9zC sPxksR/lZHAG8oH9j9HHuvJlVdTbftDZCtSRk5906Fl/kFiqIeMA2Iy7bLGFdEmzrJ1E yBMA== X-Gm-Message-State: AOAM531O+uBsyb1tS9Uh5+uX5s5O16JzodyhEc8euhB9MyHOKNdbzvhn Y002FDs2h61QsY+vgY54nQ== X-Google-Smtp-Source: ABdhPJxcTZ1wWiZQBj6GSHPIlQHm9ClLpwRYBVSWGAnLwaItX6R/lSkREMbAFXVOnxUjPhxCOFMv7g== 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 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-Disposition: inline In-Reply-To: <20200726111215.22361-10-konradybcio@gmail.com> X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Krzysztof Wilczynski , Jeffrey Hugo , David Airlie , Michael Turquette , dri-devel@lists.freedesktop.org, Bjorn Andersson , AngeloGioacchino Del Regno , Sam Ravnborg , linux-clk@vger.kernel.org, Kishon Vijay Abraham I , martin.botka1@gmail.com, Andy Gross , Brian Masney , devicetree@vger.kernel.org, linux-arm-msm@vger.kernel.org, Xiaozhe Shi , Sean Paul , Ben Dooks , Felipe Balbi , Stephen Boyd , Greg Kroah-Hartman , linux-usb@vger.kernel.org, Harigovindan P , linux-kernel@vger.kernel.org, zhengbin , Manu Gautam , Vinod Koul , freedreno@lists.freedesktop.org Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" 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 _______________________________________________ dri-devel mailing list dri-devel@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/dri-devel