Received: by 2002:a05:6a10:206:0:0:0:0 with SMTP id 6csp1707183pxj; Wed, 19 May 2021 12:00:25 -0700 (PDT) X-Google-Smtp-Source: ABdhPJy2RjIngFSkG/UDqisEpnphcZHEChmtpDIlZ7AGnlkAMayhfsxNl2Q6X6CeXwTOOjCbD7iw X-Received: by 2002:a02:8308:: with SMTP id v8mr521236jag.143.1621450825382; Wed, 19 May 2021 12:00:25 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1621450825; cv=none; d=google.com; s=arc-20160816; b=oOvz8J8RFdETiyz3CNS5LDw/3CvSbi0zd278DmhEtUq0mbNKAwZdsXiwxqW70lyRwD mQU8fXZDAEpRRwtW1ye6oq3PUSVuKS+QvL7pN2aTGmqFT2IRj8Zr+H9H4pMmGuxGEwD2 9RW47BbC2zi43gbkkLKpbDaefOAjIk0/ezOZmbZbKrKI5q1y8gNu59g+zDsy3c/eLwFz g5QY4IGIiMWBQ22tWwAfSfs5FyttEaiAutA7dqEXTRI8I5+G1jAI84Dy7Y7tT6CUFxEB rWW8/npmJYoWbKibKemAc0vqZa0kLpB0/WQyNfP41WrlSViEoGKhsHr7woxbIH7bE0Hq c59A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-transfer-encoding :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature; bh=yMpx+uc0xjO6l5oTfd9YMFtrGbvp/eVGnVUD0EuQ3wk=; b=OTZSU+qwyzMpses6/XbURSfecXqCWVbHb/kPF8u29JNV/dqtR8VmaTr5VM05wqwVL/ dWgDuKg1WxIfAoCONJZKhpvBGD6GSb/YVyb0AtdexeqQkz78bbPhyygQz5AvDG62DTm+ qDo75gCcF29l5TGaT8DV+x7Qn059JKixa7I5etJsYhQ+e91UP1Hh1e43lTjKowOueRPQ CoGe4d8hUmHBaJ2DZhi77D3/56HowYZ2bnCbnXHgtLKL9OpR5+rHkkkepRRaRau4qFQZ ZH7Yjf1krwB+sHUbWT91V7oZ17v8PJNUOZgw62vBTxDWDxrj+NXvo5uL8wvPg0sRY+1I yMWw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass (test mode) header.i=@ideasonboard.com header.s=mail header.b=lb07uRx6; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id c13si354061ilq.55.2021.05.19.12.00.10; Wed, 19 May 2021 12:00:25 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass (test mode) header.i=@ideasonboard.com header.s=mail header.b=lb07uRx6; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231758AbhESBTb (ORCPT + 99 others); Tue, 18 May 2021 21:19:31 -0400 Received: from perceval.ideasonboard.com ([213.167.242.64]:33202 "EHLO perceval.ideasonboard.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231641AbhESBTa (ORCPT ); Tue, 18 May 2021 21:19:30 -0400 Received: from pendragon.ideasonboard.com (62-78-145-57.bb.dnainternet.fi [62.78.145.57]) by perceval.ideasonboard.com (Postfix) with ESMTPSA id 6F13A45E; Wed, 19 May 2021 03:18:10 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ideasonboard.com; s=mail; t=1621387090; bh=w3br3R9b5YuogXvJ+4Md07rNPhvvQST+awL6ZItkg4w=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=lb07uRx60fMPu5ms9sIytoW0ORUUV5fheREpobjjSIJe0OrFKSgOQBhEd17nudWhe QuwvuALY/bQxeEXjeSC/xnfH3Lt+w9VGRcoEUXp8MHdkm2iMtCwlPcTRomOrpgI6J2 bjyifFCmqde8Uyf/vENl5mUahqgtnjlT41e0Wio4= Date: Wed, 19 May 2021 04:18:09 +0300 From: Laurent Pinchart To: Rob Herring Cc: devicetree@vger.kernel.org, Peter Rosin , Wolfram Sang , linux-kernel@vger.kernel.org, Alexandre Belloni , Jacopo Mondi , Kieran Bingham , Kishon Vijay Abraham I , Lee Jones , Niklas =?utf-8?Q?S=C3=B6derlund?= , Roger Quadros , Jonathan Cameron Subject: Re: [PATCH 6/6] dt-bindings: i2c: maxim,max9286: Use the i2c-mux.yaml schema Message-ID: References: <20210518232858.1535403-1-robh@kernel.org> <20210518232858.1535403-7-robh@kernel.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20210518232858.1535403-7-robh@kernel.org> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Rob, Thank you for the patch. On Tue, May 18, 2021 at 06:28:58PM -0500, Rob Herring wrote: > Use the i2c-mux.yaml schema in the maxim,max9286 binding schema. With this, > several properties can be dropped as they are defined in i2c-mux.yaml > already. > > Cc: Jacopo Mondi > Cc: Kieran Bingham > Cc: Laurent Pinchart > Cc: Niklas Söderlund > Signed-off-by: Rob Herring Reviewed-by: Laurent Pinchart > --- > .../bindings/media/i2c/maxim,max9286.yaml | 23 +++---------------- > 1 file changed, 3 insertions(+), 20 deletions(-) > > diff --git a/Documentation/devicetree/bindings/media/i2c/maxim,max9286.yaml b/Documentation/devicetree/bindings/media/i2c/maxim,max9286.yaml > index ee16102fdfe7..02f656e78700 100644 > --- a/Documentation/devicetree/bindings/media/i2c/maxim,max9286.yaml > +++ b/Documentation/devicetree/bindings/media/i2c/maxim,max9286.yaml > @@ -111,17 +111,10 @@ properties: > > i2c-mux: > type: object > + $ref: /schemas/i2c/i2c-mux.yaml# > + unevaluatedProperties: false > description: | > - Each GMSL link is modelled as a child bus of an i2c bus > - multiplexer/switch, in accordance with bindings described in > - Documentation/devicetree/bindings/i2c/i2c-mux.txt. > - > - properties: > - '#address-cells': > - const: 1 > - > - '#size-cells': > - const: 0 > + Each GMSL link is modelled as a child bus of an i2c bus multiplexer/switch. > > patternProperties: > "^i2c@[0-3]$": > @@ -133,12 +126,6 @@ properties: > channels. > > properties: > - '#address-cells': > - const: 1 > - > - '#size-cells': > - const: 0 > - > reg: > description: The index of the GMSL channel. > maxItems: 1 > @@ -173,10 +160,6 @@ properties: > > additionalProperties: false > > - additionalProperties: false > - > - additionalProperties: false > - > required: > - compatible > - reg -- Regards, Laurent Pinchart