From patchwork Tue Mar 16 19:48:24 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Rob Herring X-Patchwork-Id: 401725 Delivered-To: patch@linaro.org Received: by 2002:a02:8562:0:0:0:0:0 with SMTP id g89csp4602299jai; Tue, 16 Mar 2021 12:49:10 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxTHSbUzEdE7decaLiIbh7E5zW6xm6K+jtx9X5yiOZfpTDI7JEsmfiyAiXb0uwnzE3GQcUJ X-Received: by 2002:a05:6402:4405:: with SMTP id y5mr19209266eda.32.1615924150720; Tue, 16 Mar 2021 12:49:10 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1615924150; cv=none; d=google.com; s=arc-20160816; b=dUseL4EMfeK6XE3tgpTg2iNdc9i/NMSIOByYa7/VgxBXHAEqS+ucJf4Hye2iaG+EvU LirxtBrtSdiKi+0V9qvzXk2lucrGUci/HKOr1+KezcYDdANj6SIWi3cOTapG5q2A2ArO mn7Gbag8AsmgGH/KjUSsvIpzP0MaVlfS5FEo3InrEmASX+KpBFBdUcCCvgtwVri/Bpua IevQuaygNd7W3oWQHkOiJab7CkPnZcgYUWxcg2HQmM9UKdpbAeCHBAkig7l1BL1QmSbQ BC6d35IgkspZDpOK315a99MC0+KtnJFpPGDJ18uOcbZEz5TR3UjdJve7biZfTfhElcWg V32w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from; bh=RdNKGj3FobG6MH1X+dKs4+VSnyyid6fFPtQXmtZq7o4=; b=wLcF/TO8hizkfNL89/Fb+D10wSj/m6WtDVjY2eb89ft5EhzEBHTTTBtBU6v6BixqPg Nb7niw6PXaL8dJA9T4l70tyky2kxNWjZZ38jaggOndeDbURMLqcwp6f/2i7BKrGqpmpZ 7EWbH2hMYwL8+E+WNGCGCJrPPo0lfmts/57DkHH1CWS0TvDvYSSULOqOf0qKReMs1Wf1 mQc1XobU7+h4Q17C6GfDwI/cEj4WpUXgfTxnRF+NnrNolaN9LU55C4RiZZG8iTaPavFc ZXwSRGu73FXVEiouT/UfZDcXngQLlYu2nRPkLfHAwhIi9sXwROkylmBpUn+K8fXCn3J/ XFMg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-pm-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-pm-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 q27si16338574edi.328.2021.03.16.12.49.10; Tue, 16 Mar 2021 12:49:10 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-pm-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-pm-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-pm-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 S231409AbhCPTsi (ORCPT + 7 others); Tue, 16 Mar 2021 15:48:38 -0400 Received: from mail-il1-f178.google.com ([209.85.166.178]:38136 "EHLO mail-il1-f178.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231516AbhCPTs3 (ORCPT ); Tue, 16 Mar 2021 15:48:29 -0400 Received: by mail-il1-f178.google.com with SMTP id f10so13842395ilq.5; Tue, 16 Mar 2021 12:48:29 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=RdNKGj3FobG6MH1X+dKs4+VSnyyid6fFPtQXmtZq7o4=; b=FwK6JVUO0CXmaLEmwBYx/Vfr7zKgCSvrWXulcsG9FtfTOSMjV9IDF0W0aEEjbHQCYH 1XOLbkEh7LTLO+z8jzW9Fjd4q5JUJrquB0Iz9m90ydMR7wtPm0MKA/eKVKmOCWv8gKYw Egg5Mtai88a8jhxCbhkMa+9Bkeej2gTnBSw0gxKiX1uFwHmU31ZQcV/PpvEgsBYOm6FR misFArx9eS2lQ2V33U0rzSW0b4yA9+8qKE1p+dUpe7SmIb8HZmAO8lY6QUjduh70olvu OuuCmR/N6cZ8ZRThVzY/cKP6zgL+G0mnJtAc6bKjaz92JinKLFOu7/Ao7qxOQnu2QI0y Pnfg== X-Gm-Message-State: AOAM533jK0xD7lqWMRxzKGlyrpdtZNlgKoWESiaDyTglDNFOAAMHNR4u VBI37/mISv3F5/9O/MWImqtkMguLQg== X-Received: by 2002:a92:7d0d:: with SMTP id y13mr5263148ilc.269.1615924108645; Tue, 16 Mar 2021 12:48:28 -0700 (PDT) Received: from xps15.herring.priv ([64.188.179.253]) by smtp.googlemail.com with ESMTPSA id a16sm9928962ild.82.2021.03.16.12.48.26 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 16 Mar 2021 12:48:27 -0700 (PDT) From: Rob Herring To: devicetree@vger.kernel.org Cc: linux-kernel@vger.kernel.org, Luca Ceresoli , Jonathan Cameron , Dmitry Torokhov , Bjorn Andersson , Zhang Rui , Daniel Lezcano , Linus Walleij , Kevin Tsai , Dmitry Baryshkov , Sebastian Reichel , Mark Brown , linux-iio@vger.kernel.org, linux-input@vger.kernel.org, linux-pm@vger.kernel.org Subject: [PATCH] dt-bindings: More cleanup of standard unit properties Date: Tue, 16 Mar 2021 13:48:24 -0600 Message-Id: <20210316194824.3526913-1-robh@kernel.org> X-Mailer: git-send-email 2.27.0 MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-pm@vger.kernel.org Properties with standard unit suffixes already have a type and don't need type references. Fix a few more cases which have gotten added. Cc: Luca Ceresoli Cc: Jonathan Cameron Cc: Dmitry Torokhov Cc: Bjorn Andersson Cc: Zhang Rui Cc: Daniel Lezcano Cc: Linus Walleij Cc: Kevin Tsai Cc: Dmitry Baryshkov Cc: Sebastian Reichel Cc: Mark Brown Cc: linux-iio@vger.kernel.org Cc: linux-input@vger.kernel.org Cc: linux-pm@vger.kernel.org Signed-off-by: Rob Herring --- Documentation/devicetree/bindings/iio/light/capella,cm3605.yaml | 1 - Documentation/devicetree/bindings/input/input.yaml | 1 - Documentation/devicetree/bindings/power/supply/bq256xx.yaml | 1 - Documentation/devicetree/bindings/power/supply/ltc4162-l.yaml | 2 -- .../devicetree/bindings/regulator/qcom-labibb-regulator.yaml | 1 - .../devicetree/bindings/thermal/qcom-spmi-adc-tm5.yaml | 1 - 6 files changed, 7 deletions(-) -- 2.27.0 Acked-by: Dmity Baryshkov Acked-by: Mark Brown Reviewed-by: Luca Ceresoli Acked-by: Jonathan Cameron Acked-by: Dmitry Torokhov diff --git a/Documentation/devicetree/bindings/iio/light/capella,cm3605.yaml b/Documentation/devicetree/bindings/iio/light/capella,cm3605.yaml index 27972938b60d..c63b79c3351b 100644 --- a/Documentation/devicetree/bindings/iio/light/capella,cm3605.yaml +++ b/Documentation/devicetree/bindings/iio/light/capella,cm3605.yaml @@ -48,7 +48,6 @@ properties: vdd-supply: true capella,aset-resistance-ohms: - $ref: /schemas/types.yaml#/definitions/uint32 enum: [50000, 100000, 300000, 600000] description: > Sensitivity calibration resistance. Note that calibration curves diff --git a/Documentation/devicetree/bindings/input/input.yaml b/Documentation/devicetree/bindings/input/input.yaml index ab407f266bef..3fc37478c0c0 100644 --- a/Documentation/devicetree/bindings/input/input.yaml +++ b/Documentation/devicetree/bindings/input/input.yaml @@ -32,6 +32,5 @@ properties: Duration in seconds which the key should be kept pressed for device to power off automatically. Device with key pressed shutdown feature can specify this property. - $ref: /schemas/types.yaml#/definitions/uint32 additionalProperties: true diff --git a/Documentation/devicetree/bindings/power/supply/bq256xx.yaml b/Documentation/devicetree/bindings/power/supply/bq256xx.yaml index 18b54783e11a..92ec7ed25668 100644 --- a/Documentation/devicetree/bindings/power/supply/bq256xx.yaml +++ b/Documentation/devicetree/bindings/power/supply/bq256xx.yaml @@ -39,7 +39,6 @@ properties: maxItems: 1 ti,watchdog-timeout-ms: - $ref: /schemas/types.yaml#/definitions/uint32 default: 0 description: | Watchdog timer in ms. 0 (default) disables the watchdog diff --git a/Documentation/devicetree/bindings/power/supply/ltc4162-l.yaml b/Documentation/devicetree/bindings/power/supply/ltc4162-l.yaml index 1f88c9e013f4..6d7aa97a6475 100644 --- a/Documentation/devicetree/bindings/power/supply/ltc4162-l.yaml +++ b/Documentation/devicetree/bindings/power/supply/ltc4162-l.yaml @@ -29,12 +29,10 @@ properties: description: I2C address of the charger. lltc,rsnsb-micro-ohms: - $ref: /schemas/types.yaml#/definitions/uint32 description: Battery sense resistor in microohm. minimum: 1000 lltc,rsnsi-micro-ohms: - $ref: /schemas/types.yaml#/definitions/uint32 description: Input current sense resistor in microohm. minimum: 1000 diff --git a/Documentation/devicetree/bindings/regulator/qcom-labibb-regulator.yaml b/Documentation/devicetree/bindings/regulator/qcom-labibb-regulator.yaml index cf784bd1f5e5..1ddc1efd19e2 100644 --- a/Documentation/devicetree/bindings/regulator/qcom-labibb-regulator.yaml +++ b/Documentation/devicetree/bindings/regulator/qcom-labibb-regulator.yaml @@ -23,7 +23,6 @@ properties: properties: qcom,soft-start-us: - $ref: /schemas/types.yaml#/definitions/uint32 description: Regulator soft start time in microseconds. enum: [200, 400, 600, 800] default: 200 diff --git a/Documentation/devicetree/bindings/thermal/qcom-spmi-adc-tm5.yaml b/Documentation/devicetree/bindings/thermal/qcom-spmi-adc-tm5.yaml index 7cd364430573..95a728f4d333 100644 --- a/Documentation/devicetree/bindings/thermal/qcom-spmi-adc-tm5.yaml +++ b/Documentation/devicetree/bindings/thermal/qcom-spmi-adc-tm5.yaml @@ -78,7 +78,6 @@ patternProperties: also known as absolute calibration. qcom,hw-settle-time-us: - $ref: /schemas/types.yaml#/definitions/uint32 description: Time between AMUX getting configured and the ADC starting conversion. enum: [15, 100, 200, 300, 400, 500, 600, 700, 1000, 2000, 4000, 8000, 16000, 32000, 64000, 128000]