Received: by 2002:a05:6a10:9848:0:0:0:0 with SMTP id x8csp4506596pxf; Tue, 30 Mar 2021 09:21:47 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxIqk5YYn8/7fHAmqaB8k4NJu7JlOpW7smZm0MGb+nhpgLnrM7l8/wDjbEvgNPaATn77nzn X-Received: by 2002:aa7:d792:: with SMTP id s18mr34251563edq.176.1617121306811; Tue, 30 Mar 2021 09:21:46 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1617121306; cv=none; d=google.com; s=arc-20160816; b=YoQUDSWX96jKf8DdCOUwCdgzPCDcF1d4OaBxFecnvd7yN/nKBHtZmpekGJj1/rc5fI k3K35cevZkW0p7YVyis+nnL15uuqnVvBgbFYAXMxm4FNIlPeBjCU6ibbXff0BjcnUrUO +As2f1d6/c0CaCkPxRNRMbV0ez41lqCb9znTEfuWQXAIT8yNCEt6NTqZniLzc/I62ZTW qyl3SbG/AhXkbsLtoeeNtOkJFoikfz5gNfFaS829kLwpwINlFuG1vESi+DfAjJ3InR+4 LNya0vAxb/k+G+sqg0M/XvKnKJdYYgI/ca+04YyiU6VbZ9XEsqPhAfkUkFolTXnLufZ+ /rMQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=Nav8LadcpFIxdskcDBBNZMpNM5ijLXJvIdbPHCb3P6k=; b=CTeobnsaJQ2z/Cenq2Cddgxos8/PdlbnEBJ3OSUrZ1pObXPL0J5YdOOwdXmTeq0v4X uoNxuKapCywFoJZw1BIHS7iGAkioCOEqdrzB/FetueJ0aTkSaqBo0zpkWofMKlSYVuxk XSHY43kmMEfHLj0xIsF28jXOXPPnCcPTQP7AFyOCFHhXzTmCBid0b5s7yELIpQFbG1Mx 8FFqbexvFSYoNYZ+tQtTsQ9f4le3pTiJy0LfyGmM5MtLZVAYfxICSkznmwplFjhnuo8P FjWXcMEQSRHQGivY2YyL4AbTptzpTaSWJqXphKsB2QukMdXBXbkUWVlilxCpXDGsoBoD LPEQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@platinasystems-com.20150623.gappssmtp.com header.s=20150623 header.b=CyGQt6ic; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id w24si15744580eds.559.2021.03.30.09.21.22; Tue, 30 Mar 2021 09:21:46 -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=@platinasystems-com.20150623.gappssmtp.com header.s=20150623 header.b=CyGQt6ic; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232439AbhC3QSt (ORCPT + 99 others); Tue, 30 Mar 2021 12:18:49 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:41018 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231929AbhC3QSa (ORCPT ); Tue, 30 Mar 2021 12:18:30 -0400 Received: from mail-pj1-x1032.google.com (mail-pj1-x1032.google.com [IPv6:2607:f8b0:4864:20::1032]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 8BC7FC061762 for ; Tue, 30 Mar 2021 09:18:30 -0700 (PDT) Received: by mail-pj1-x1032.google.com with SMTP id w8so8001361pjf.4 for ; Tue, 30 Mar 2021 09:18:30 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=platinasystems-com.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=Nav8LadcpFIxdskcDBBNZMpNM5ijLXJvIdbPHCb3P6k=; b=CyGQt6icjhD10GaQAeQisHngs3kN/4kJsMfK6abeb5qKWv9Vd5f+445IeGRhGpIfuj 6pJxgjgn5d6zgep4sUfokmWWi2SdroztqdRiQxtnKyR0ST51Do27fP0vYFcwY3q9l2/J ZrRHVY5WML4iymb+YQCWL/KqPOFWOsMLJU+akIYbHpDT2UXeDzwziY72W0Z8EBZTXx7n 6bjZtdP9dmt5Vnz/xm+PsC0f+tQninRwFkj2us6NjXkA2Npmha1mn+FIyPdwpS9hzObC W6CBEAjXbkEAtlTm+R1a1qJEyQNCZp7XwkqUFPjg+AfqzR6c63OtZvaVknDv8N7gYxFt mPrA== 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:in-reply-to :references:mime-version:content-transfer-encoding; bh=Nav8LadcpFIxdskcDBBNZMpNM5ijLXJvIdbPHCb3P6k=; b=m3+yf5OCWkavRP/vI0BhthydeyCV7cDDATp9+VDwZzP6vuNisKg4blU4LwC0d+KpaS LCtJyJ7iPR4cObgxgdnItTAvDtbV114fkp8N4SayLYraFDnCXHQXU9Z6Hfs2ulfdGbMM rXTtMjAyEVfkQmmB6apbQV5vF88dLtFa8+nOrqdTL7hWXZZlSMbCBKELfAKwf6vNi4OK 4n3pYQZUj9KRaO+w2kBk+hs+KpoR7dTxq11UpFmL53PbcUXcL3BoTzcOqllma/SfN5DZ jtLF42PHF+GIRxqzHs2fIYuxtbvMZFwRdoFwSB8ziVhQKse+KwfF+bbdoRkZoYXImJNf SRWA== X-Gm-Message-State: AOAM5335+uUZkEq5npSqvyTeQeywijoNQumnYdGDLxpYqcMpKJfzLIFQ ApbuUUUYwC4wjltuZmADSXsZaeKeefkffg== X-Received: by 2002:a17:90a:7045:: with SMTP id f63mr5069092pjk.35.1617121110100; Tue, 30 Mar 2021 09:18:30 -0700 (PDT) Received: from localhost.localdomain ([207.53.255.56]) by smtp.gmail.com with ESMTPSA id q34sm21040555pgl.92.2021.03.30.09.18.28 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 30 Mar 2021 09:18:29 -0700 (PDT) From: Kevin Paul Herbert To: Srinivas Kandagatla Cc: "Rafael J . Wysocki" , Len Brown , linux-acpi@vger.kernel.org, Rob Herring , Frank Rowand , devicetree@vger.kernel.org, Tom Grennan , linux-kernel@vger.kernel.org Subject: [PATCH v3 0/1] nvmem: Change to unified property interface Date: Tue, 30 Mar 2021 09:18:14 -0700 Message-Id: <20210330161814.3144336-1-kph@platinasystems.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20210329223827.2851916-1-kph@platinasystems.com> References: <20210329223827.2851916-1-kph@platinasystems.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org nvmem: Change to unified property interface Change from using device tree (Open Firmware) APIs to the unified 'fwnode' interface. Change of_nvmem_cell_get() to fwnode_nvmem_cell_get(), and add a wrapper for of_nvmem_cell_get(). Change of_nvmem_device_get() to fwnode_nvmem_device_get(). There are no known accessors to the OF interface, so no need for a wrapper. The first version of this patch incorrectly had a wrapper for of_nvmem_device_get(), even though the comments about the patch not needing this were correct. The second version of this patch had an incorrect return type for of_nvmem_device_get().