Received: by 2002:a05:6602:18e:0:0:0:0 with SMTP id m14csp1655042ioo; Sun, 22 May 2022 23:11:41 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyVhGeusKXVuL02Jaxmc2P/RekL8JEdBrzPbzNlWtAAHbjOS0SSmBjqXzJSKnO6UhayrxFA X-Received: by 2002:a17:90b:3c50:b0:1df:7b1f:8b79 with SMTP id pm16-20020a17090b3c5000b001df7b1f8b79mr24882439pjb.71.1653286301492; Sun, 22 May 2022 23:11:41 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1653286301; cv=none; d=google.com; s=arc-20160816; b=j8ne3KaPGKg7jAYbpVMGkVp2SSBZKKRH+ROPa3iGnwU5m1tpGR5cY3SKRHT9A1+n1k 6kh7qOPd4GWq6Js3e9RgwyxLhLxJbN8KeE05RW5lS8W7A/lamsYVbA91G/qGsfBYpEl1 bQH1EyOK0KEtvNSBf9ft5dv46mY2uFMZpGw6HO3MB9ZAYJW+MOYmcj94TDQJtTd+sEs2 wpbU0lqzYEMNfbQc8Q1lg25UouFHU2qj3aRW00rrK9WD4r0bCU5mJ4y9io/W+SYfng44 Dz8WSVrTKFyO3/GVKnVXMRu0vBgNKRzoa0z0bVBmgDSKLM/nzv5ydPFCHnzhp2EITNOD tJ3g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:from :references:cc:to:content-language:subject:user-agent:mime-version :date:message-id:dkim-signature; bh=4qCtL0+bm+n7u/HXMR/ejdT6S5mFrpV8yho83BhRO5s=; b=jMwReNzFSvcs1BOCCmGU5uoXMcmUbEeEv4b6c6AfcvYtdYO0AhOuf5lA5SWPasX33M sAwmr1uEi7qEXVwctd4Hv3t78UC3oPbf/XN3b+ts9rJ9VKXlErN/KLg2gEL9bzrYFk0G owfEbuXgKLKWCdYw6T07qLsebsxpClbZ3uKT+fxdEUT2y0TSvy9bRLD/WibNuxzYmrSV Vg0jcU9k9TjKzEFzE4H/phxqBpQp+Skhj46ktMFCJiyv/o3qeKICKEAq2otd7S4KEKe2 ivNdVyqnzBW111oMnMn00BJlKYecPnT3Nurc03Q4v/7EBADORRcFk7IYVNJ4x/HvF/3R 8H1w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=y5RaZjFH; spf=pass (google.com: domain of linux-crypto-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) smtp.mailfrom=linux-crypto-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from lindbergh.monkeyblade.net (lindbergh.monkeyblade.net. [2620:137:e000::1:18]) by mx.google.com with ESMTPS id 188-20020a6303c5000000b003c626c711a4si9274475pgd.861.2022.05.22.23.11.40 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 22 May 2022 23:11:41 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-crypto-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) client-ip=2620:137:e000::1:18; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=y5RaZjFH; spf=pass (google.com: domain of linux-crypto-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) smtp.mailfrom=linux-crypto-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id D79553CA62; Sun, 22 May 2022 23:00:51 -0700 (PDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S244242AbiEUPDu (ORCPT + 99 others); Sat, 21 May 2022 11:03:50 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:51618 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S244656AbiEUPDt (ORCPT ); Sat, 21 May 2022 11:03:49 -0400 Received: from mail-lf1-x12f.google.com (mail-lf1-x12f.google.com [IPv6:2a00:1450:4864:20::12f]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 921E57A454 for ; Sat, 21 May 2022 08:03:45 -0700 (PDT) Received: by mail-lf1-x12f.google.com with SMTP id t25so18765308lfg.7 for ; Sat, 21 May 2022 08:03:45 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=message-id:date:mime-version:user-agent:subject:content-language:to :cc:references:from:in-reply-to:content-transfer-encoding; bh=4qCtL0+bm+n7u/HXMR/ejdT6S5mFrpV8yho83BhRO5s=; b=y5RaZjFHrW8w0QDRcNsylDIFb53EJ2po4JTV2FpNAdkAYoZdu1qF5axrhsPQuGATng IRhb46WEpzowjRCtShPff9kYW6hHmeuNWcNUVWWram5Vsu13pwjOphSj50HlavWfE75o fl8HJqVUjSx8QbwUjbHsCAWiX5BauC0NO2ZKYDPS4ebr9JVbKM3hZESP+xBd6W4RKh33 MjPK1gRmYo1vuibvD7RGvzYvB0fQWdgtoSLYcw2VHu54BnbEvJcolLEa1EoGN8BAPKCL xL8v5PmCr8qaYJ68UOqWoeB4NePuVP6tv4mkCntQBpW2qZmf/QlRL9lcpkc3pjzue05U zOAw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:message-id:date:mime-version:user-agent:subject :content-language:to:cc:references:from:in-reply-to :content-transfer-encoding; bh=4qCtL0+bm+n7u/HXMR/ejdT6S5mFrpV8yho83BhRO5s=; b=l1sKqWR4Wv0Gud1PfQNSsemFuF9bXVQGmxYats/iiyDF0wZh8aSfBiuv/IvNV+N/8b V8iwhmuEvp4yS5tpjCJKtSJTkZxZh7SX1LStxjSfS1SUTqI2pN9s9mH7mhBEslvrhMgE PV6iCOdRWWgkDNNAiVScXioDxbrzJuiVRls3nu8PW8cLjQi+7LCwTbcbbCOLdEJp7na0 tQnxEUS0hFnLhhOSF4u5FBh5/ou9YkkQ2MUW4FO+T4Wyo57MjRCMwOefV7ypU+/E4ZrT uT52oyjUfsK4LqFOKGLy6tGqIckrRdXSuDsZKMMo/i6pPGabewyMsf7jd6xo8i2OLt7v 3Rag== X-Gm-Message-State: AOAM532mNArkpnEj6urp/5H9sGewOBjK5JN+givlME2pTpvfzKiOn811 REB60DGGr697yy46nloF/IkUOw== X-Received: by 2002:ac2:4f0c:0:b0:477:cb8e:bd8b with SMTP id k12-20020ac24f0c000000b00477cb8ebd8bmr5791149lfr.209.1653145423865; Sat, 21 May 2022 08:03:43 -0700 (PDT) Received: from [192.168.0.17] (78-11-189-27.static.ip.netia.com.pl. [78.11.189.27]) by smtp.gmail.com with ESMTPSA id p20-20020ac24ed4000000b0047255d210easm1087910lfr.25.2022.05.21.08.03.41 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Sat, 21 May 2022 08:03:43 -0700 (PDT) Message-ID: <6ae55a29-0b29-f53c-c9bd-fae929f3caf7@linaro.org> Date: Sat, 21 May 2022 17:03:41 +0200 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.8.1 Subject: Re: [PATCH] dt-bindings: Fix properties without any type Content-Language: en-US To: Rob Herring , devicetree@vger.kernel.org, Krzysztof Kozlowski , Thierry Reding , Sam Ravnborg , Linus Walleij , Bartosz Golaszewski , Dmitry Torokhov , Benson Leung , Guenter Roeck , Mauro Carvalho Chehab , Peter Rosin , "David S. Miller" , Jakub Kicinski , Paolo Abeni , Kalle Valo , Bjorn Helgaas , Sebastian Reichel , Matt Mackall , Herbert Xu , Greg Kroah-Hartman , Mark Brown , Maxime Ripard Cc: dri-devel@lists.freedesktop.org, linux-gpio@vger.kernel.org, linux-input@vger.kernel.org, chrome-platform@lists.linux.dev, linux-media@vger.kernel.org, netdev@vger.kernel.org, linux-pci@vger.kernel.org, linux-pm@vger.kernel.org, linux-crypto@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-serial@vger.kernel.org, alsa-devel@alsa-project.org, linux-usb@vger.kernel.org References: <20220519211411.2200720-1-robh@kernel.org> From: Krzysztof Kozlowski In-Reply-To: <20220519211411.2200720-1-robh@kernel.org> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-3.2 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,NICE_REPLY_A,RDNS_NONE,SPF_HELO_NONE, T_SCC_BODY_TEXT_LINE autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-crypto@vger.kernel.org On 19/05/2022 23:14, Rob Herring wrote: > Now that the schema tools can extract type information for all > properties (in order to decode dtb files), finding properties missing > any type definition is fairly trivial though not yet automated. > > Fix the various property schemas which are missing a type. Most of these > tend to be device specific properties which don't have a vendor prefix. > A vendor prefix is how we normally ensure a type is defined. > > Signed-off-by: Rob Herring > --- > .../arm/hisilicon/controller/hip04-bootwrapper.yaml | 5 +++-- > .../bindings/display/bridge/toshiba,tc358768.yaml | 1 + > .../devicetree/bindings/display/panel/panel-timing.yaml | 5 +++++ > .../bindings/display/panel/raydium,rm67191.yaml | 1 + > .../bindings/display/panel/samsung,s6e8aa0.yaml | 1 + > .../devicetree/bindings/gpio/fairchild,74hc595.yaml | 1 + > .../devicetree/bindings/input/google,cros-ec-keyb.yaml | 1 + > .../devicetree/bindings/input/matrix-keymap.yaml | 4 ++++ > Documentation/devicetree/bindings/media/i2c/adv7604.yaml | 3 ++- > Documentation/devicetree/bindings/mux/reg-mux.yaml | 8 ++++++-- > Documentation/devicetree/bindings/net/cdns,macb.yaml | 1 + > Documentation/devicetree/bindings/net/ingenic,mac.yaml | 1 + > .../devicetree/bindings/net/ti,davinci-mdio.yaml | 1 + > .../devicetree/bindings/net/wireless/ti,wlcore.yaml | 2 ++ > .../devicetree/bindings/pci/snps,dw-pcie-ep.yaml | 6 ++++-- > Documentation/devicetree/bindings/pci/snps,dw-pcie.yaml | 2 ++ > .../devicetree/bindings/pinctrl/canaan,k210-fpioa.yaml | 2 ++ > Documentation/devicetree/bindings/power/avs/qcom,cpr.yaml | 1 + > .../devicetree/bindings/power/supply/battery.yaml | 7 ++++++- > .../devicetree/bindings/power/supply/charger-manager.yaml | 1 + > Documentation/devicetree/bindings/rng/st,stm32-rng.yaml | 1 + > Documentation/devicetree/bindings/serial/8250.yaml | 1 + > .../devicetree/bindings/sound/audio-graph-card2.yaml | 3 +++ > .../devicetree/bindings/sound/imx-audio-hdmi.yaml | 3 +++ > Documentation/devicetree/bindings/usb/smsc,usb3503.yaml | 1 + > 25 files changed, 55 insertions(+), 8 deletions(-) > > diff --git a/Documentation/devicetree/bindings/arm/hisilicon/controller/hip04-bootwrapper.yaml b/Documentation/devicetree/bindings/arm/hisilicon/controller/hip04-bootwrapper.yaml > index 7378159e61df..483caf0ce25b 100644 > --- a/Documentation/devicetree/bindings/arm/hisilicon/controller/hip04-bootwrapper.yaml > +++ b/Documentation/devicetree/bindings/arm/hisilicon/controller/hip04-bootwrapper.yaml > @@ -17,14 +17,15 @@ properties: > - const: hisilicon,hip04-bootwrapper > > boot-method: > + $ref: /schemas/types.yaml#/definitions/uint32-array > description: | > Address and size of boot method. > [0]: bootwrapper physical address > [1]: bootwrapper size > [2]: relocation physical address > [3]: relocation size > - minItems: 1 > - maxItems: 2 > + minItems: 2 > + maxItems: 4 > > required: > - compatible > diff --git a/Documentation/devicetree/bindings/display/bridge/toshiba,tc358768.yaml b/Documentation/devicetree/bindings/display/bridge/toshiba,tc358768.yaml > index 3bd670b8e5cd..0b6f5bef120f 100644 > --- a/Documentation/devicetree/bindings/display/bridge/toshiba,tc358768.yaml > +++ b/Documentation/devicetree/bindings/display/bridge/toshiba,tc358768.yaml > @@ -58,6 +58,7 @@ properties: > > properties: > data-lines: > + $ref: /schemas/types.yaml#/definitions/uint32 > enum: [ 16, 18, 24 ] > > port@1: > diff --git a/Documentation/devicetree/bindings/display/panel/panel-timing.yaml b/Documentation/devicetree/bindings/display/panel/panel-timing.yaml > index 7749de95ee40..229e3b36ee29 100644 > --- a/Documentation/devicetree/bindings/display/panel/panel-timing.yaml > +++ b/Documentation/devicetree/bindings/display/panel/panel-timing.yaml > @@ -146,6 +146,7 @@ properties: > Horizontal sync pulse. > 0 selects active low, 1 selects active high. > If omitted then it is not used by the hardware > + $ref: /schemas/types.yaml#/definitions/uint32 > enum: [0, 1] > > vsync-active: > @@ -153,6 +154,7 @@ properties: > Vertical sync pulse. > 0 selects active low, 1 selects active high. > If omitted then it is not used by the hardware > + $ref: /schemas/types.yaml#/definitions/uint32 > enum: [0, 1] > > de-active: > @@ -160,6 +162,7 @@ properties: > Data enable. > 0 selects active low, 1 selects active high. > If omitted then it is not used by the hardware > + $ref: /schemas/types.yaml#/definitions/uint32 > enum: [0, 1] > > pixelclk-active: > @@ -169,6 +172,7 @@ properties: > sample data on rising edge. > Use 1 to drive pixel data on rising edge and > sample data on falling edge > + $ref: /schemas/types.yaml#/definitions/uint32 > enum: [0, 1] > > syncclk-active: > @@ -179,6 +183,7 @@ properties: > sample sync on rising edge of pixel clock. > Use 1 to drive sync on rising edge and > sample sync on falling edge of pixel clock > + $ref: /schemas/types.yaml#/definitions/uint32 > enum: [0, 1] > > interlaced: > diff --git a/Documentation/devicetree/bindings/display/panel/raydium,rm67191.yaml b/Documentation/devicetree/bindings/display/panel/raydium,rm67191.yaml > index 745dd247c409..617aa8c8c03a 100644 > --- a/Documentation/devicetree/bindings/display/panel/raydium,rm67191.yaml > +++ b/Documentation/devicetree/bindings/display/panel/raydium,rm67191.yaml > @@ -24,6 +24,7 @@ properties: > > dsi-lanes: > description: Number of DSI lanes to be used must be <3> or <4> > + $ref: /schemas/types.yaml#/definitions/uint32 > enum: [3, 4] > > v3p3-supply: > diff --git a/Documentation/devicetree/bindings/display/panel/samsung,s6e8aa0.yaml b/Documentation/devicetree/bindings/display/panel/samsung,s6e8aa0.yaml > index ca959451557e..1cdc91b3439f 100644 > --- a/Documentation/devicetree/bindings/display/panel/samsung,s6e8aa0.yaml > +++ b/Documentation/devicetree/bindings/display/panel/samsung,s6e8aa0.yaml > @@ -36,6 +36,7 @@ properties: > > init-delay: > description: delay after initialization sequence [ms] > + $ref: /schemas/types.yaml#/definitions/uint32 > > panel-width-mm: > description: physical panel width [mm] > diff --git a/Documentation/devicetree/bindings/gpio/fairchild,74hc595.yaml b/Documentation/devicetree/bindings/gpio/fairchild,74hc595.yaml > index 5fe19fa5f67c..a99e7842ca17 100644 > --- a/Documentation/devicetree/bindings/gpio/fairchild,74hc595.yaml > +++ b/Documentation/devicetree/bindings/gpio/fairchild,74hc595.yaml > @@ -26,6 +26,7 @@ properties: > const: 2 > > registers-number: > + $ref: /schemas/types.yaml#/definitions/uint32 > description: Number of daisy-chained shift registers > > enable-gpios: > diff --git a/Documentation/devicetree/bindings/input/google,cros-ec-keyb.yaml b/Documentation/devicetree/bindings/input/google,cros-ec-keyb.yaml > index e8f137abb03c..aa61fe64be63 100644 > --- a/Documentation/devicetree/bindings/input/google,cros-ec-keyb.yaml > +++ b/Documentation/devicetree/bindings/input/google,cros-ec-keyb.yaml > @@ -31,6 +31,7 @@ properties: > type: boolean > > function-row-physmap: > + $ref: /schemas/types.yaml#/definitions/uint32-array > minItems: 1 > maxItems: 15 > description: | > diff --git a/Documentation/devicetree/bindings/input/matrix-keymap.yaml b/Documentation/devicetree/bindings/input/matrix-keymap.yaml > index 6699d5e32dca..9f703bb51e12 100644 > --- a/Documentation/devicetree/bindings/input/matrix-keymap.yaml > +++ b/Documentation/devicetree/bindings/input/matrix-keymap.yaml > @@ -27,6 +27,10 @@ properties: > column and linux key-code. The 32-bit big endian cell is packed as: > row << 24 | column << 16 | key-code > > + linux,no-autorepeat: > + type: boolean > + description: Disable keyrepeat This should be rather a separate patch - it's documenting a missing property, not only a type. Best regards, Krzysztof