Received: by 2002:ac0:a5a7:0:0:0:0:0 with SMTP id m36-v6csp626517imm; Mon, 9 Jul 2018 07:53:47 -0700 (PDT) X-Google-Smtp-Source: AAOMgpfpdfvDMewZEhHw7WshT27q8E9X4Pzj+qEBPd2Dgdor8HIdirdjtYIHx5WBmuBz1Ug6MSWE X-Received: by 2002:a63:214f:: with SMTP id s15-v6mr17204575pgm.267.1531148027010; Mon, 09 Jul 2018 07:53:47 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1531148026; cv=none; d=google.com; s=arc-20160816; b=x81cFfoBUgmG5Ho8x4MtaIYt8FRiAiJC6No+pI3c0GL3AyMEz2YAuJgq03/89NjE9A pdjizxxCzQ1Ycy9p9QOX4ilWO/jOtMRcX7IfZroUZvGvAemOeeQPYEyoRKu9zKiK+9yW u5e5gq+JjiZ0eiIR44nBIQyNDEj56xxkoXvOrdYlmVtOm2PLQNU4qSDb2/PSMf76cvQa mkjhQb33yioqwF8oV+eVVsgq7/bMbMWWhMXllDGUXcmb4ToFJrPjCErKOc39iePQYJGz zjWLVf5BLYPaiTo6NJHwYRphWccalDV/IUBy9cWsS6F+gumdcOWIGKsha0vK/ZM8rY3O 2h+Q== 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 :content-language:in-reply-to:mime-version:user-agent:date :message-id:from:references:cc:to:subject:dmarc-filter :dkim-signature:dkim-signature:arc-authentication-results; bh=/EemZp9m7R3Lk4Y1CWfJ1oam+YgH/NITUf5WgVB+9dA=; b=d/WPiji4OFVeQ/QeSlR4NHMwthefm9YiT8Ugpc1mzywSPRLAcGT9DqoSYkxubEzzYl yJ6r+Rod8O8obd1KBXGZznmhuZ4GfexOfihLmLUmHOZqRZIUpOsFwiGlnHPBKWVy70GO omV5wbzxtAYpEuP115b+qW6DkGjhboy5ozVThvUePNbx3WFrC7kIAF1kNtLpYcF+5lsZ +OcczWFc8iKKU4BpDGpn8is/danlfNKTFcO7eeGhism8lfQbCEf8D+SVOi3ndYDoApIT hPQUUnXDE6YjLgQOm2A2uGv1YXMwMtRymhRXvcMUxuqNYzcelTi9NpR0CJjXlO87/R5J MHJA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@codeaurora.org header.s=default header.b=JbdWr5Vw; dkim=pass header.i=@codeaurora.org header.s=default header.b=g18WC7wt; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id r65-v6si15820498pfe.298.2018.07.09.07.53.29; Mon, 09 Jul 2018 07:53:46 -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=pass header.i=@codeaurora.org header.s=default header.b=JbdWr5Vw; dkim=pass header.i=@codeaurora.org header.s=default header.b=g18WC7wt; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932910AbeGIOw0 (ORCPT + 99 others); Mon, 9 Jul 2018 10:52:26 -0400 Received: from smtp.codeaurora.org ([198.145.29.96]:56504 "EHLO smtp.codeaurora.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932670AbeGIOwY (ORCPT ); Mon, 9 Jul 2018 10:52:24 -0400 Received: by smtp.codeaurora.org (Postfix, from userid 1000) id B60F060B18; Mon, 9 Jul 2018 14:52:23 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=codeaurora.org; s=default; t=1531147943; bh=4tVYkRMohhnpr4xzQUsLbyljTgiKiMr98g6JlcZu7Q4=; h=Subject:To:Cc:References:From:Date:In-Reply-To:From; b=JbdWr5Vwe4koKF2iIaWeLLEHruDRUl+m3VWhMlmsiYtCsNxLII04UzP+KoEjjgfPz dJIgXLoNirkhTxRhuTVvifRkLJpTIfey2mtJC6cWl/n6W9tx3d/BX/xydUWc6wcBPu G8EOzjNnRwgs2nq7L3ViMvlFrm+UWx9vKuYvudU0= X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on pdx-caf-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-2.8 required=2.0 tests=ALL_TRUSTED,BAYES_00, DKIM_SIGNED,T_DKIM_INVALID autolearn=no autolearn_force=no version=3.4.0 Received: from [10.226.60.81] (i-global254.qualcomm.com [199.106.103.254]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) (Authenticated sender: jhugo@smtp.codeaurora.org) by smtp.codeaurora.org (Postfix) with ESMTPSA id 1917D600C1; Mon, 9 Jul 2018 14:52:21 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=codeaurora.org; s=default; t=1531147942; bh=4tVYkRMohhnpr4xzQUsLbyljTgiKiMr98g6JlcZu7Q4=; h=Subject:To:Cc:References:From:Date:In-Reply-To:From; b=g18WC7wtS0oGvQahTwj1Lr/ycyUA6oE7Qc2RgHxEbtdvP2LYuS4M5jhbwcdpUfdou 4KazfknhkUSL+GKK6JP0H75/R9Qc+nh3Xdi8J+2YG4zzi0+iqKZJjB00CcpGXAbDWw YDhDP6zBxmpqju+sanRv9RknfjxwCQ/9kFCX6OHA= DMARC-Filter: OpenDMARC Filter v1.3.2 smtp.codeaurora.org 1917D600C1 Authentication-Results: pdx-caf-mail.web.codeaurora.org; dmarc=none (p=none dis=none) header.from=codeaurora.org Authentication-Results: pdx-caf-mail.web.codeaurora.org; spf=none smtp.mailfrom=jhugo@codeaurora.org Subject: Re: [PATCH v4 6/6] crypto: qcom: Add ACPI support To: Vinod , Timur Tabi Cc: linux-crypto@vger.kernel.org, linux-kernel@vger.kernel.org, Bjorn Andersson , Matt Mackall , Herbert Xu , Arnd Bergmann , Greg Kroah-Hartman , linux-arm-msm@vger.kernel.org, Stephen Boyd References: <20180704114427.29953-1-vkoul@kernel.org> <20180704114427.29953-7-vkoul@kernel.org> <20180705060733.GH22377@vkoul-mobl> <38f34817-ff86-06b7-4aab-a009c353a6db@kernel.org> <20180709060157.GZ22377@vkoul-mobl> From: Jeffrey Hugo Message-ID: Date: Mon, 9 Jul 2018 08:52:21 -0600 User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:52.0) Gecko/20100101 Thunderbird/52.8.0 MIME-Version: 1.0 In-Reply-To: <20180709060157.GZ22377@vkoul-mobl> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 7/9/2018 12:01 AM, Vinod wrote: > On 07-07-18, 13:05, Timur Tabi wrote: >> On 7/5/18 1:07 AM, Vinod wrote: >>> Yes we can add driver data in ACPI ID as well so code can be: >>> >>> if (!has_acpi_companion(&pdev->dev)) { >>> rng->clk = devm_clk_get(&pdev->dev, "core"); >>> if (IS_ERR(rng->clk)) >>> return PTR_ERR(rng->clk); >>> } >>> rng->skip_init = device_get_match_data(&pdev->dev); >>> >>> Looks much neater. >> >> Yeah, I like it. >> >>> I will wait for feedback on other patches before updating this. >> >> Jeff said it works, so I guess v5 will be good to go. > > Yes posting that right now. It would be great if you folks can test > again on ACPI systems > > Thanks > I might need a day, but I'll get to it. -- Jeffrey Hugo Qualcomm Datacenter Technologies as an affiliate of Qualcomm Technologies, Inc. Qualcomm Technologies, Inc. is a member of the Code Aurora Forum, a Linux Foundation Collaborative Project.