Received: by 2002:a25:4158:0:0:0:0:0 with SMTP id o85csp622682yba; Wed, 15 May 2019 07:14:01 -0700 (PDT) X-Google-Smtp-Source: APXvYqwesOY+CIGi2n1wPAab0KhApBE73vf+j89NeKX5zicR6RtYtmFz0+ucbCA5FW1/yJ+ovrXr X-Received: by 2002:aa7:87c3:: with SMTP id i3mr46156992pfo.85.1557929641330; Wed, 15 May 2019 07:14:01 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1557929641; cv=none; d=google.com; s=arc-20160816; b=0hnasvDMJApPYk+zNZ0D+rkPVi0OTcqwcBbjUPwJ4o85IrjzXg22Rr0dbh/7n4Iskd 1bdw+JBVub2/w+QhbV9vl0hutGdOQ2l2dt3U5K940vasTYJwh2gIy14gIXHPPyzC+cF1 F7eAXWmC7yvDhjrQSw9Y8Bks9KZpPDiiwEueXtmW8bPq/LlE5kzOiPrKYpJ7gQn4SuH7 wP7b8UXpxke5afHNGJcwcRinKmaq2Bff2NbelfoUzsx3OweJ2YtvnXRRBcYLUxQeMU6t 4BmNKu9HJtofj3N7RsWf8sqH9gIwoV1iHv5KgNFkLy1iwzpliMOmIV94NlYRdhfGrQZ1 cY8A== 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; bh=WT4wWvWPsDdoo2Mj0xM/NiQfsS4sadSPFWWZXszaKzU=; b=nnOM1gD+67apdVIVsfCZvqiv5g3E47KuPqOZkXAdXK1ryJilcdU0mrO8c1Mc+wqRmh bRAGsH+uVrstaS9de9LNFXlbOilT15U4MT/jx9+LW3cGKFuEqeM7GziWKlAfTxhzcnsp B87U5lIs5AsbIyL2LV8cC1xUH6e3fRB5cIcyiIPPxL60FxSnrgcU1iySL8YjEnIVIE2k WLzi50YjvoCmDlyE/KdEB4kAGDuNdpQ4nVdlJ8NScMmhesFnmMXVNZvEKv6l2kKh8fBt 6jOI4hl/CX1aePqJpjo5Al7eG6WWXYGnspfxQ4NDcGtU11D+pPg9ED3QQ6BniyP8CAZr 9iBw== 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=collabora.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id f1si1933201pgo.517.2019.05.15.07.13.44; Wed, 15 May 2019 07:14:01 -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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=collabora.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727183AbfEONBp (ORCPT + 99 others); Wed, 15 May 2019 09:01:45 -0400 Received: from bhuna.collabora.co.uk ([46.235.227.227]:59444 "EHLO bhuna.collabora.co.uk" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725977AbfEONBp (ORCPT ); Wed, 15 May 2019 09:01:45 -0400 Received: from [127.0.0.1] (localhost [127.0.0.1]) (Authenticated sender: eballetbo) with ESMTPSA id 60FEE27BA8D Subject: Re: [PATCH] platform/chrome: cros_ec_spi: Always add of_match_table To: Benson Leung , Evan Green Cc: Benson Leung , Guenter Roeck , Stephen Boyd , linux-kernel@vger.kernel.org References: <20190509181750.134960-1-evgreen@chromium.org> <20190510214622.GA63153@google.com> From: Enric Balletbo i Serra Message-ID: <6ba2e494-d9f9-0cc0-74cf-1262c57ce865@collabora.com> Date: Wed, 15 May 2019 15:01:40 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.6.1 MIME-Version: 1.0 In-Reply-To: <20190510214622.GA63153@google.com> Content-Type: text/plain; charset=windows-1252 Content-Language: en-GB Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi, On 10/5/19 23:46, Benson Leung wrote: > Hi Evan, > > On Thu, May 09, 2019 at 11:17:50AM -0700, Evan Green wrote: >> The Chrome OS EC driver attaches to devices using the of_match_table >> even when ACPI is the underlying firmware. It does this using the >> magic PRP0001 ACPI HID, which tells ACPI to go find an OF compatible >> string under the hood and match on that. >> >> The cros_ec_spi driver needs to provide the of_match_table regardless >> of whether CONFIG_OF is enabled or not, since the table is used by >> ACPI for PRP0001 devices. >> >> Signed-off-by: Evan Green > > Looks good to me. > Reviewed-by: Benson Leung > > I'll leave this to Enric to merge to our for-next. > > Thanks, > Benson > The patch is queued to the for-next branch with the Benson rb tag for the autobuilders to play with, if all goes well I'll add the patch for 5.3 when current merge window closes. Thanks, Enric