From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751868AbeBZSSI (ORCPT ); Mon, 26 Feb 2018 13:18:08 -0500 Received: from mail-qk0-f177.google.com ([209.85.220.177]:40623 "EHLO mail-qk0-f177.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751821AbeBZSSG (ORCPT ); Mon, 26 Feb 2018 13:18:06 -0500 X-Google-Smtp-Source: AG47ELsnbfDf791/0qkt6yvb062ID+0aPSOGZpL1AObWl+mhC9arpueV9C9khZMRwVrmGwnMKNHL4nvDs0QWDoYSQyQ= MIME-Version: 1.0 In-Reply-To: References: <20180222191647.4727-1-ard.biesheuvel@linaro.org> <20180222191647.4727-3-ard.biesheuvel@linaro.org> From: Andy Shevchenko Date: Mon, 26 Feb 2018 20:18:04 +0200 Message-ID: Subject: Re: [PATCH v2 2/2] i2c: add support for Socionext SynQuacer I2C controller To: Ard Biesheuvel Cc: Wolfram Sang , Rob Herring , Mark Rutland , linux-i2c , devicetree , Linux Kernel Mailing List , linux-arm Mailing List , Jassi Brar Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Feb 26, 2018 at 7:51 PM, Ard Biesheuvel wrote: > On 26 February 2018 at 17:16, Ard Biesheuvel wrote: > Perhaps we could agree on the binding first? Currently, I have the following > > Device (I2C0) { > Name (_HID, "SCX0003") > Name (_UID, Zero) > Name (_CRS, ResourceTemplate () { > Memory32Fixed (ReadWrite, SYNQUACER_I2C1_BASE, SYNQUACER_I2C1_SIZE) > Interrupt (ResourceConsumer, Level, ActiveHigh, Exclusive) { 197 } > }) > > Name (_DSD, Package () // _DSD: Device-Specific Data > { > ToUUID ("daffd814-6eba-4d8c-8a91-bc9bbf4aa301"), > Package () { > Package (2) { "socionext,pclk-rate", 62500000 }, > } > }) > > and I don't intend to add 'clock-frequency' here because it would be > redundant anyway. Right. > Does this look sane? I can't say about property name, but otherwise yes. -- With Best Regards, Andy Shevchenko