Received: by 2002:a25:b794:0:0:0:0:0 with SMTP id n20csp6617580ybh; Thu, 8 Aug 2019 03:05:44 -0700 (PDT) X-Google-Smtp-Source: APXvYqw2C81TIb5CAEjuFy+PyWDqLGyhafxF1bd6laF3xBpJFrcV5myrX6Bd/qCeNWK1csbllnnR X-Received: by 2002:a17:902:59c3:: with SMTP id d3mr12485161plj.22.1565258744014; Thu, 08 Aug 2019 03:05:44 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1565258744; cv=none; d=google.com; s=arc-20160816; b=VPJjEFpPNJphGlPfe0ZTcoBV8M3BO2lEpQiBLyTgZyzgSau2TKIjfxAOIyXsAy7ULi ljJGoDT9KmpUDism9IWLb4l02vSyNAJfy8s0TRbgvjsV/6xUfHwNUl6rL7xydlIZgLyb j6d1XvcObg9lPTQ81q8MEpoe5/SEL0G2tFjoP8GkBhfZrMdYDvFwvqxXRBPsx/nT2bMV Ms1+MwZiWCxx/v5hoJCCDkeL0IJyI+OVraIp3Qh5HCrxDPEcje6BX98yQDGIJVAzwGvE hpODObji81QC3abBG+mrlCQ+7+UDHT/0xgTeRIhN9YQEWOtzELuFTSWSMP48WykxDAbg y5HA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version; bh=RjvrmHnLkNY8judMLmiwx+J5kIvDISrhio/7dX5zE9M=; b=fbBhtfvYRA9KvMaauC4adYZtEl6ZWPWs9hYrglXhOjfVwymbj1lY0m7veEb1EYHLXF ar3Op5af/mFGg1cTdDVr7p9dqlvlJcuqqJO0N8r8ZEB9KfesDv1Rk8Okd4t6J/PjVheo fE32dGlY7450RCjk/RPY8+Q8ybg/D7qA0Kv6gxt02azgGKHN1FRzlLtUbqA8eQNnRyvs 89hFQhryNESLpRRskhi0tsUi1tY1ilYUBFjCLzffiw2VCDoRXes2Fc72iwOH4pbgGY/1 7KOwqHnIhH0bUVRuYfDiTa29MgGzg52CFNUI6P23xkX6aOHbEB4HUwZRq75yzwaYZi+G Ofmw== ARC-Authentication-Results: i=1; mx.google.com; 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 i69si54017717pge.366.2019.08.08.03.05.27; Thu, 08 Aug 2019 03:05:44 -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; 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 S2389871AbfHHKEg (ORCPT + 99 others); Thu, 8 Aug 2019 06:04:36 -0400 Received: from mail-qt1-f196.google.com ([209.85.160.196]:46801 "EHLO mail-qt1-f196.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2389773AbfHHKEg (ORCPT ); Thu, 8 Aug 2019 06:04:36 -0400 Received: by mail-qt1-f196.google.com with SMTP id h21so91447767qtn.13; Thu, 08 Aug 2019 03:04:35 -0700 (PDT) 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; bh=RjvrmHnLkNY8judMLmiwx+J5kIvDISrhio/7dX5zE9M=; b=A4L/lVEnAhzimNvZOk2dlay//kRmDE29VrHcAuetZ/+P4JB3Sld8H0YWMeCC1c3mQE wstifSkxoflQ2ddSoIE+VNQ+yTVy9glgoyoKBxzR4dpYfrXoefpDcWMF4HLPEV9jWTbp K/aasTxqk54UTrMWMLdLmxYVnjY1ccSJoj5VgLepnNfA/zFcgC71Hm/eYtj/OW69Wklk m1fISftkc6C8sQD/5EYLMmNzB2TEHQKn2mMMsL2lyru+dNW0pRKJOcBxqmW20PWaae0/ GRB0xs0T6TDjR/3W+8s3e4B4sTRhQXX8HsRQ952ImdBoNy1lbzQ8vrriBqfc9opIoqAy 7X0A== X-Gm-Message-State: APjAAAUsGdPI8Qq8syVEwBV4KItFjxH2sLeAHH0lDWzjKDEUuP3KCn/g Q5SAozm65eI/XTwDwDp5+v1TUv/8Yox7o0uE9hM= X-Received: by 2002:ac8:6684:: with SMTP id d4mr7259661qtp.204.1565258674868; Thu, 08 Aug 2019 03:04:34 -0700 (PDT) MIME-Version: 1.0 References: <20190724171615.20774-1-paul@crapouillou.net> <20190724171615.20774-5-paul@crapouillou.net> <20190729165536.dd67ws6nr2msx4pk@pburton-laptop> In-Reply-To: <20190729165536.dd67ws6nr2msx4pk@pburton-laptop> From: Arnd Bergmann Date: Thu, 8 Aug 2019 12:04:18 +0200 Message-ID: Subject: Re: [EXTERNAL][PATCH v15 04/13] mfd/syscon: Add device_node_to_regmap() To: Paul Burton Cc: Paul Cercueil , Lee Jones , Ralf Baechle , James Hogan , Jonathan Corbet , Daniel Lezcano , Thomas Gleixner , Michael Turquette , Stephen Boyd , Jason Cooper , Marc Zyngier , Rob Herring , Mark Rutland , "devicetree@vger.kernel.org" , "linux-kernel@vger.kernel.org" , "linux-doc@vger.kernel.org" , "linux-mips@vger.kernel.org" , "linux-clk@vger.kernel.org" , "od@zcrc.me" , Mathieu Malaterre Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Jul 29, 2019 at 6:55 PM Paul Burton wrote: > > Lee, Arnd, > > On Wed, Jul 24, 2019 at 01:16:06PM -0400, Paul Cercueil wrote: > > device_node_to_regmap() is exactly like syscon_node_to_regmap(), but it > > does not check that the node is compatible with "syscon", and won't > > attach the first clock it finds to the regmap. > > > > The rationale behind this, is that one device node with a standard > > compatible string "foo,bar" can be covered by multiple drivers sharing a > > regmap, or by a single driver doing all the job without a regmap, but > > these are implementation details which shouldn't reflect on the > > devicetree. > > Does this looks like a good path forwards to you? Its use in this case > is described by Documentation/devicetree/bindings/timer/ingenic,tcu.txt > in patch 3 of the series. > > If you're OK with it an ack would be appreciated so I can take the > series through mips-next, otherwise I guess we'd need to go back to the > v14 approach. Yes, I guess this is ok, sorry for missing the submission earlier. Acked-by: Arnd Bergmann