Received: by 2002:a05:6a10:9848:0:0:0:0 with SMTP id x8csp1484758pxf; Fri, 9 Apr 2021 09:30:07 -0700 (PDT) X-Google-Smtp-Source: ABdhPJy2V4L55ZMtdGQH24BLqS9ZV5E84tl2p3frRr8egUZJq0OM1lyS8C7EyVxcPGL/jsLYb8TI X-Received: by 2002:a63:d58:: with SMTP id 24mr14126395pgn.171.1617985807629; Fri, 09 Apr 2021 09:30:07 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1617985807; cv=none; d=google.com; s=arc-20160816; b=sz4elJEsmTPzsnmu3IeFgxcPCz/WAT9JrelB5uAhErGhHELj4vix8jSPr6trGhyzmO 208mpo0xz5UzycQW2V9GEiZ4JSO+lWm8VQb//LaQp0CCIscYI+H7DCtYfd931LoMBcoI 1bgRMkBhHTearHqFGY6Vki6+ED+0uSizribaKVMtm9Es8OlRqcNqfCjw4vTXXWL5NZaH D98Yk6PI+61uGJcCNZrSI78Y3Cjeu/u4ZAFtLzl5d8/yXGptAFD3pmCArjNasWK4afnP OWBuu6i6bkIyEgRXAB7CStbV57qzzMi37lomcN2Yt5dAHUl16ypbhbDYVTOY+phg5NHN UVdA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version:dkim-signature; bh=KA59+qqyPjXeyUxoeC0MA9akcWDjMgFsVMfURqhz+WE=; b=ARsOgY1S/aID/uxu8Z2ChGL5bvF3453FCEnIaVY5cbJd3VliSD0Kx9S69omKp9ZWOP +VCDuIIDeK/rcFIOaaGYJ/Kb/h7QW7TESP1dtMe4oLHZpH7TGnjKMfB+Y5vesTFZvSo5 vea9sSlXuh9G5TWbDT4SuuII4MbxxeCgVmKumxtN6Gbaq4UdD7G4KOvLa9jCxEDFythH a8FkksfvwUU8CtjHaWX76HTvIm5HT6Z5bsBeLR1kZQ96e/gyby7Ed7r4FYCuEC3ERA3U aNgXmCfCHu40HbYxMXDbhbFnJIFTZxJwKucx1W+fIVdeClLuvI4EA5nqOvdpG5jMPh6k DkLw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=ke78XXtb; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id c75si3546741pfc.32.2021.04.09.09.29.55; Fri, 09 Apr 2021 09:30:07 -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 header.i=@kernel.org header.s=k20201202 header.b=ke78XXtb; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234122AbhDIQ31 (ORCPT + 99 others); Fri, 9 Apr 2021 12:29:27 -0400 Received: from mail.kernel.org ([198.145.29.99]:36076 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234011AbhDIQ3W (ORCPT ); Fri, 9 Apr 2021 12:29:22 -0400 Received: by mail.kernel.org (Postfix) with ESMTPSA id 9001F611C9; Fri, 9 Apr 2021 16:29:08 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1617985748; bh=mq0DbNuduGKt/8Gq3KTibog9pvXQzaTafSLd7wSRyXo=; h=References:In-Reply-To:From:Date:Subject:To:Cc:From; b=ke78XXtbGDCQOfT3ycd20AXCx4zA43fHe38EtpNwU2fWD1i2eU1F9xCiMdzUMdZr1 J3FgDDcLDj66CFmSVvVkjSTOwFHjDk2550bKsH3BDum9AFJir6Qn8Cv5h3ZYs9zAQP kSLGFmpFoQTlwXydX47ZXpIUwUaCyJzhaaXCchY6xci5+gStCjv45lzBhBXVgEaUPc Gd3QLkID+I9CSGFyE7LyZyWQrSl/w00G8TdmgIrKD0AfDAzsIjiRmra9EULwynLE06 5aGjReByQEHdGQydsZjWEdIb4N7fFfPIKsaRuiPl2eQt9PbZq+LAF0BJcXSXQ0PcnW xjVeb/sJ/LNog== Received: by mail-ej1-f52.google.com with SMTP id g17so6831066ejp.8; Fri, 09 Apr 2021 09:29:08 -0700 (PDT) X-Gm-Message-State: AOAM533x8R2F3/TE50AteIlTucbp6IckPyaHQiDirShubCnjFynBBRyT I7awefvtB/yZcG6uWhiRRpHgVPSgDrdeYVV9wA== X-Received: by 2002:a17:907:217b:: with SMTP id rl27mr9172959ejb.359.1617985747111; Fri, 09 Apr 2021 09:29:07 -0700 (PDT) MIME-Version: 1.0 References: <4efd81eca266ca0875d3bf9d1672097444146c69.1617972339.git.mchehab+huawei@kernel.org> In-Reply-To: <4efd81eca266ca0875d3bf9d1672097444146c69.1617972339.git.mchehab+huawei@kernel.org> From: Rob Herring Date: Fri, 9 Apr 2021 11:28:55 -0500 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCH v3 2/8] dt-bindings: fix references for iio-bindings.txt To: Mauro Carvalho Chehab Cc: Linux Doc Mailing List , Jonathan Corbet , Artur Rojek , Dmitry Torokhov , Guenter Roeck , Jean Delvare , Jonathan Cameron , Lars-Peter Clausen , Lee Jones , Peter Meerwald-Stadler , devicetree@vger.kernel.org, Linux HWMON List , "open list:IIO SUBSYSTEM AND DRIVERS" , Linux Input , "linux-kernel@vger.kernel.org" , Jonathan Cameron Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, Apr 9, 2021 at 7:48 AM Mauro Carvalho Chehab wrote: > > The iio-bindings.txt was converted into two files and merged > at the dt-schema git tree at: > > https://github.com/devicetree-org/dt-schema > > Yet, some documents still refer to the old file. Fix their > references, in order to point to the right URL. > > Fixes: dba91f82d580 ("dt-bindings:iio:iio-binding.txt Drop file as content now in dt-schema") > Acked-by: Jonathan Cameron > Acked-by: Guenter Roeck > Signed-off-by: Mauro Carvalho Chehab > --- > Documentation/devicetree/bindings/hwmon/ntc_thermistor.txt | 2 +- > Documentation/devicetree/bindings/iio/adc/ingenic,adc.yaml | 5 +++-- > Documentation/devicetree/bindings/input/adc-joystick.yaml | 4 +++- > .../bindings/input/touchscreen/resistive-adc-touch.txt | 5 ++++- > Documentation/devicetree/bindings/mfd/ab8500.txt | 4 +++- > 5 files changed, 14 insertions(+), 6 deletions(-) > > diff --git a/Documentation/devicetree/bindings/hwmon/ntc_thermistor.txt b/Documentation/devicetree/bindings/hwmon/ntc_thermistor.txt > index 37f18d684f6a..4c5c3712970e 100644 > --- a/Documentation/devicetree/bindings/hwmon/ntc_thermistor.txt > +++ b/Documentation/devicetree/bindings/hwmon/ntc_thermistor.txt > @@ -32,7 +32,7 @@ Optional node properties: > - "#thermal-sensor-cells" Used to expose itself to thermal fw. > > Read more about iio bindings at > - Documentation/devicetree/bindings/iio/iio-bindings.txt > + https://github.com/devicetree-org/dt-schema/blob/master/schemas/iio/ > > Example: > ncp15wb473@0 { > diff --git a/Documentation/devicetree/bindings/iio/adc/ingenic,adc.yaml b/Documentation/devicetree/bindings/iio/adc/ingenic,adc.yaml > index 9f414dbdae86..433a3fb55a2e 100644 > --- a/Documentation/devicetree/bindings/iio/adc/ingenic,adc.yaml > +++ b/Documentation/devicetree/bindings/iio/adc/ingenic,adc.yaml > @@ -14,8 +14,9 @@ description: > > Industrial I/O subsystem bindings for ADC controller found in > Ingenic JZ47xx SoCs. > > - ADC clients must use the format described in iio-bindings.txt, giving > - a phandle and IIO specifier pair ("io-channels") to the ADC controller. > + ADC clients must use the format described in > + https://github.com/devicetree-org/dt-schema/blob/master/schemas/iio/iio-consumer.yaml, > + giving a phandle and IIO specifier pair ("io-channels") to the ADC controller. > > properties: > compatible: > diff --git a/Documentation/devicetree/bindings/input/adc-joystick.yaml b/Documentation/devicetree/bindings/input/adc-joystick.yaml > index 054406bbd22b..721878d5b7af 100644 > --- a/Documentation/devicetree/bindings/input/adc-joystick.yaml > +++ b/Documentation/devicetree/bindings/input/adc-joystick.yaml > @@ -24,7 +24,9 @@ properties: > description: > > List of phandle and IIO specifier pairs. > Each pair defines one ADC channel to which a joystick axis is connected. > - See Documentation/devicetree/bindings/iio/iio-bindings.txt for details. > + See > + https://github.com/devicetree-org/dt-schema/blob/master/schemas/iio/iio-consumer.yaml > + for details. Please just drop this one. We don't need every user of a common property to link to the common schema. If we do, then we should figure out how to generate that (there are some json-schema to docs projects I'd like to investigate some day). > > '#address-cells': > const: 1 > diff --git a/Documentation/devicetree/bindings/input/touchscreen/resistive-adc-touch.txt b/Documentation/devicetree/bindings/input/touchscreen/resistive-adc-touch.txt > index fee0da12474e..af5223bb5bdd 100644 > --- a/Documentation/devicetree/bindings/input/touchscreen/resistive-adc-touch.txt > +++ b/Documentation/devicetree/bindings/input/touchscreen/resistive-adc-touch.txt > @@ -5,7 +5,10 @@ Required properties: > - compatible: must be "resistive-adc-touch" > The device must be connected to an ADC device that provides channels for > position measurement and optional pressure. > -Refer to Documentation/devicetree/bindings/iio/iio-bindings.txt for details > +Refer to > +https://github.com/devicetree-org/dt-schema/blob/master/schemas/iio/iio-consumer.yaml > +for details > + > - iio-channels: must have at least two channels connected to an ADC device. > These should correspond to the channels exposed by the ADC device and should > have the right index as the ADC device registers them. These channels > diff --git a/Documentation/devicetree/bindings/mfd/ab8500.txt b/Documentation/devicetree/bindings/mfd/ab8500.txt > index d2a6e835c257..937b3e5505e0 100644 > --- a/Documentation/devicetree/bindings/mfd/ab8500.txt > +++ b/Documentation/devicetree/bindings/mfd/ab8500.txt > @@ -72,7 +72,9 @@ Required child device properties: > pwm|regulator|rtc|sysctrl|usb]"; > > A few child devices require ADC channels from the GPADC node. Those follow the > - standard bindings from iio/iio-bindings.txt and iio/adc/adc.txt > + standard bindings from > + https://github.com/devicetree-org/dt-schema/blob/master/schemas/iio/iio-consumer.yaml > + and Documentation/devicetree/bindings/iio/adc/adc.yaml > > abx500-temp : io-channels "aux1" and "aux2" for measuring external > temperatures. > -- > 2.30.2 >