Received: by 2002:ac0:946b:0:0:0:0:0 with SMTP id j40csp151715imj; Wed, 13 Feb 2019 06:13:51 -0800 (PST) X-Google-Smtp-Source: AHgI3IbYe8wZe9WmcByh3K6mpw14sw1SLHCKixMmuralIJT267bQSegV8f5BtiCidSny1XY3M492 X-Received: by 2002:a63:5962:: with SMTP id j34mr642738pgm.297.1550067231626; Wed, 13 Feb 2019 06:13:51 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1550067231; cv=none; d=google.com; s=arc-20160816; b=WeqbcyyIeJHCpr5enJ0u1PV/EY+dyEtZBdG4ABbMrl3DiXa76xhLTFICYrjSOZfv46 p3mJP4Fd1HCqaeADpsrbLf8s+Z4t65FHqaDqjqjrhfgvquVH9BgHk1n4YzNuH5vZ2Bz4 CcpZMC+0gFo/j3yVp8h0hwSM6LkCTaiiSqAIMr1qrSlc7u1Iaew2BV65bWj2OUBetn1O kr6kjhYoXXs7bVjR8VV/UPLjlN7Twhmf7uuGb2P54BNEudRVeYFe7hMGSYJmdwtQ10U0 /mEUscE0WJRSV2Ti1Ph7d6KDIsHBTzqj61R2UhOzSTqTwoO3f1MYZfsDJDLCtWbo68Kd iFvQ== 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:openpgp:from:references:cc:to:subject:dkim-signature; bh=wZcckwGbNKuxqmiEBKZgD7KWzvad4ZX7KVMbLTqJqug=; b=qwLVx55KC+pIbrihfRixsaQLj8ff84TAQ+Jm5sg0Cl7SEeuE3Os1LCp/B2urI2DJz0 irM2iQjhTZFboQaLC811ZPpgbX2t3iMu9daSB2lz/0NljQOq/+lGLFluUmPN+RoY+yWG Pwk4LyIbpLebApi0kiIr2i7Hd4fqsF8o/ub/KnRFXBOmZUGBbac8o6FcaGU1jjEIYlkA vbD/5k5CQ8UjE/bQmpz++l3xetG1odEcND/3uxpWwxLOPe9yP/g7CCKd0QDDISrvIf4w Zwjy6OvG6n0GZPjcPUPdDZUztyEj/8PQd6vfTI6MzwE58RSeQYNRq7ZxH5m+lz1niB+t wrww== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=FwEfcXRD; 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; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id a12si14558085pgw.311.2019.02.13.06.13.30; Wed, 13 Feb 2019 06:13:51 -0800 (PST) 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=@gmail.com header.s=20161025 header.b=FwEfcXRD; 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; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729960AbfBMMhg (ORCPT + 99 others); Wed, 13 Feb 2019 07:37:36 -0500 Received: from mail-wr1-f48.google.com ([209.85.221.48]:37182 "EHLO mail-wr1-f48.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726418AbfBMMhg (ORCPT ); Wed, 13 Feb 2019 07:37:36 -0500 Received: by mail-wr1-f48.google.com with SMTP id c8so2315270wrs.4; Wed, 13 Feb 2019 04:37:34 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=subject:to:cc:references:from:openpgp:message-id:date:user-agent :mime-version:in-reply-to:content-language:content-transfer-encoding; bh=wZcckwGbNKuxqmiEBKZgD7KWzvad4ZX7KVMbLTqJqug=; b=FwEfcXRDbhMdRqqI9EYmprN8T9jkTpsVO9VJBlJiCeInhTaayupzzUv3dSyhpWOsO5 ZKgP0pE8fHwy5dwPLclhHGrMdmF4hC7RCiYvWeKfgoT3UHJCj2qjMV9P9+Du/Aig7Urc DOAv8t3OssnTT6CcjIsGHpb/DJDsK/WymFzfXnG5Nai8xSS0BmrVII/jJRh2AJkQzpWe GW59y11Xx026ivfWjzJzBGHyH66XsEDx6UM/+ZVxdcrRd8aCjUO7DSJvDhBL23C/qYW5 IJeKkAqIgq8/t6TqV1sb7HiIS6R/XWsXfSZqH0rZMDAnJs2H2tsN4fVTGDMFDj5ZuNtc HtOA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:cc:references:from:openpgp:message-id :date:user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=wZcckwGbNKuxqmiEBKZgD7KWzvad4ZX7KVMbLTqJqug=; b=SNTckPDQ2gtzqpvmFQU3Nzmw5qmZC2XsLuOia1fIeWTwiwLnSRKwLN+7gLx5V2VIi4 ovqz7pKlgWfIcDo595R1quGO5RdiNqcbpDzYbPhWoy2TZmYy96FbT4aTISWHx/A3v6jr jXnpEoIHQm9d9vC8nkUYrrET7zKxTt9GUPgiLhsBuveoXlz3xUxZxwyeciLJNv5p0wm2 cYK7JBbl4LTfSCixSfOKJJns/ZhLlpsuU7A7IkpXAVl4Jz7mcblsfSnKw+Z//t0l3lbw E/Pf6HIlaS273NUf39mT8UbbIz/BJu07jmqkOM4zrAO5uiy43eWcsRzBhu++SXuGTdhg bA2w== X-Gm-Message-State: AHQUAuZKhrERR7j4Jjm0V7x0b5uOJF5R1BitMDzeJHIOSI1Vt+CDcR0+ bECKJJk+3AdIxt+J4qOZ7UM= X-Received: by 2002:adf:fbc8:: with SMTP id d8mr247630wrs.318.1550061453962; Wed, 13 Feb 2019 04:37:33 -0800 (PST) Received: from [192.168.1.4] (ip-86-49-110-70.net.upcbroadband.cz. [86.49.110.70]) by smtp.gmail.com with ESMTPSA id e9sm28251012wrc.56.2019.02.13.04.37.32 (version=TLS1_3 cipher=AEAD-AES128-GCM-SHA256 bits=128/128); Wed, 13 Feb 2019 04:37:32 -0800 (PST) Subject: Re: Applied "spi: Add Renesas R-Car Gen3 RPC-IF SPI controller driver" to the spi tree To: Mark Brown , masonccyang@mxic.com.tw Cc: bbrezillon@kernel.org, Geert Uytterhoeven , Simon Horman , juliensu@mxic.com.tw, linux-kernel@vger.kernel.org, linux-renesas-soc@vger.kernel.org, linux-spi@vger.kernel.org, Sergei Shtylyov , zhengxunli@mxic.com.tw References: <20190212142236.2807D1128113@debutante.sirena.org.uk> <4f91497a-96ee-4c10-436f-4d011edb3834@gmail.com> <20190212144359.GD20635@sirena.org.uk> <20190212164940.GI20635@sirena.org.uk> <20190213121635.GD7540@sirena.org.uk> From: Marek Vasut Openpgp: preference=signencrypt Message-ID: Date: Wed, 13 Feb 2019 13:37:31 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.4.0 MIME-Version: 1.0 In-Reply-To: <20190213121635.GD7540@sirena.org.uk> Content-Type: text/plain; charset=windows-1252 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 2/13/19 1:16 PM, Mark Brown wrote: > On Wed, Feb 13, 2019 at 04:25:32PM +0800, masonccyang@mxic.com.tw wrote: > >> From current mainline branch, MFD seems support the device which is on >> the same hardware bus(i.e, I2C, SPI, MMIO and SPMI)for multi-function >> by Read/Write the common same registers. > > That's most MFDs but there are some that do some level of enumeration > (even if it's just looking at the device ID that got registered) to > decide what subdevices get registered, that's what people are suggesting > here I think. Right. Although I think some of the code could be shared between the SPI and HF modes. >> I am checking and not sure if MMIO of MFD could support RPC-IF for >> different hardware bus on SPI and CFI. >> I also doubt if this method is a correct solution for RPC-IF works >> either in SPI mode or CFI mode. > > For MMIO devices MFD just passes through the parent resources. > -- Best regards, Marek Vasut