From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751314AbeEDB4B (ORCPT ); Thu, 3 May 2018 21:56:01 -0400 Received: from mail-sh2.amlogic.com ([58.32.228.45]:38045 "EHLO mail-sh2.amlogic.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751220AbeEDB4A (ORCPT ); Thu, 3 May 2018 21:56:00 -0400 Subject: Re: [PATCH 1/3] spi: meson-axg: support MAX 80M clock To: Mark Brown References: <20180503213645.20694-1-yixun.lan@amlogic.com> <20180503213645.20694-2-yixun.lan@amlogic.com> <20180503231305.GC13402@sirena.org.uk> CC: , Sunny Luo , Neil Armstrong , Jerome Brunet , Kevin Hilman , Carlo Caione , , , , From: Yixun Lan Message-ID: <6cdee2c8-2ca4-2efb-43ac-c233516c0570@amlogic.com> Date: Fri, 4 May 2018 09:56:10 +0800 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.8.0 MIME-Version: 1.0 In-Reply-To: <20180503231305.GC13402@sirena.org.uk> Content-Type: text/plain; charset="windows-1252" Content-Transfer-Encoding: 7bit X-Originating-IP: [10.18.20.235] X-ClientProxiedBy: mail-sh2.amlogic.com (10.18.11.6) To mail-sh2.amlogic.com (10.18.11.6) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Mark On 05/04/18 07:13, Mark Brown wrote: > On Thu, May 03, 2018 at 09:36:42PM +0000, Yixun Lan wrote: > >> static const struct of_device_id meson_spicc_of_match[] = { >> - { .compatible = "amlogic,meson-gx-spicc", }, >> - { .compatible = "amlogic,meson-axg-spicc", }, >> + { >> + .compatible = "amlogic,meson-gx-spicc", >> + .data = &meson_spicc_gx_data, >> + }, >> + { >> + .compatible = "amlogic,meson-axg-spicc", >> + .data = &meson_spicc_axg_data, >> + }, >> { /* sentinel */ } >> }; >> MODULE_DEVICE_TABLE(of, meson_spicc_of_match); > > This is changing the DT bindings but there's no update to the DT binding > documentation, please add an update there. > thanks for your comments, but I actually didn't get what's your point here. Here I only introduce the dt compatible data to differentiate the old/new controller, the compatible name is not changed, and none of the property is introduced. Yixun