From patchwork Thu Nov 3 13:00:31 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Cosmin Tanislav X-Patchwork-Id: 14847 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:6687:0:0:0:0:0 with SMTP id l7csp516633wru; Thu, 3 Nov 2022 06:05:32 -0700 (PDT) X-Google-Smtp-Source: AMsMyM4B7ucljDRzQM07Q7WDECntTl5waOqSriHTvg/lYHdV8o+zcW11gObzc71KUcoq9Ep7TUiF X-Received: by 2002:a17:902:f647:b0:183:cb8d:40a0 with SMTP id m7-20020a170902f64700b00183cb8d40a0mr29967450plg.18.1667480732182; Thu, 03 Nov 2022 06:05:32 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1667480732; cv=none; d=google.com; s=arc-20160816; b=F4bYzUpKa8S05y2oesPCngjXiNnCyx46CD2CiQl7p4KVuynlNEbMu6bDcCgGFGBEw+ gsseCsfGLjTZ6nA9dLxLwhrElNCoZjIA/YfWm61ZswX6gQNJ+deV/J85CtKAkIlV1+g8 ZLQUeHFy/ptr+MSwezy/SUAl1jHjNQLh1Fgi4Xhc86KlJnsoCJjo1K+pemXr6hmYlQvx QHD3lcHq695IuaH3C9DFgzhG/nf+Cg8PTdChxSeKXrFryVczWaVgoOAl+iEmU1Hp6OId 5Qp3IbZYdOxZTDplhZUGbf3TOKEQW4h3NYd9J8n1xQMYvZUWUXw1SsPB/PToUlgZoSHe qfkA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:to:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:from :dkim-signature; bh=RaTZtDR0TYFCz7i+1pOBqesyuPZfqn64Er9UEoziVtg=; b=M9RPV8p4M08munxA+QmgM0miK3Fpp4NlqGx/uhmNNWztjmCAZKK3LTnE4yUZNGvxnm UFpw4pG/T4xcxlvFosqeBY0l4yAtvSwJUHmtliZDzRRtwOcrrK7qDc8YSmEm0QharIap tZmLYJjUvOpS2dh6pXl9lJ2BVJEUfqxfgoOzvM/q5Aph578pg9Yaf1JR76vDDDnr35F0 wQgew8tEkLQgCxWJyHOZQoSjFdcZg052PtuxZkxJdC5xImCRujL7XR57iJ/L7uylJO3l y2gzmkfaEbfABZht8TQ/6RXc2G2D5dtQlBkW+P/WtUAapRlhU6jSpIt7uD83owl40DlE 4rDQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@gmail.com header.s=20210112 header.b=Ezpvi8ir; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id a2-20020a170902ecc200b0018694bb16cbsi696796plh.569.2022.11.03.06.05.10; Thu, 03 Nov 2022 06:05:32 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=fail header.i=@gmail.com header.s=20210112 header.b=Ezpvi8ir; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231531AbiKCNBd (ORCPT + 99 others); Thu, 3 Nov 2022 09:01:33 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:41692 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231608AbiKCNBQ (ORCPT ); Thu, 3 Nov 2022 09:01:16 -0400 Received: from mail-ej1-x632.google.com (mail-ej1-x632.google.com [IPv6:2a00:1450:4864:20::632]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 145E611C3B; Thu, 3 Nov 2022 06:01:15 -0700 (PDT) Received: by mail-ej1-x632.google.com with SMTP id kt23so4978627ejc.7; Thu, 03 Nov 2022 06:01:14 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=RaTZtDR0TYFCz7i+1pOBqesyuPZfqn64Er9UEoziVtg=; b=Ezpvi8ir/iAl/l0UWjUGjFxvoDYtTYfDLrLQjPzHycAsdKbPTBMo4JtT+FqOLebh2y rconcgFXudbDyB0bmfXpp1splmpzNSVKAx3ZZ61NCEgc42D3bEVunct/w7Y1gh3/m+zV I0idt/ErkjAcxkZaqpIuRIQIRfSXpimtfvQmxDpeVV8Dg6MPR20oXd+bwnapFKbK+Ci9 K6pndCroMYZcNfiw/Dt/gPsTkgfk+HoXGscbxcAYM2I4WGOPa4RFIpvSO+BPfc/xBEyR W6QNPJ2j9bWpsgb5QIS0YulgNvHZEVIW8OwGhWAGvN5Q0WFJw5lyvQenAtszZaSsUJ7Z 96Wg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=RaTZtDR0TYFCz7i+1pOBqesyuPZfqn64Er9UEoziVtg=; b=IDuiDQKgJlZ02Zcb3lMT0RC/50XMr3eWpRRg3AZzdUmg4doXP2JjVEpQPykVjXrCEM cTRrz0fn5wFGJD2BKHFCVEsLZsHetzfNhsQ1tgQzOW2r724fShmBq2n13bzWVGC2Rk6i w0BJlB33Ruo6WWIN8xf0OiNmkTa+PGj4ywsST33eWwJ70vcVrXs7Rd3R+kgx5g7NaMCs Xp+EEJpzFG1aF8O3/7QmCMlK1J3+YC2HJr2fiFffoRxXgjdls78f3kJeu3ERbVbm/cXQ VB5Ngy4ib3iyzY9o34+RnMR5ZOwaZbfTUPox2gtr8Jt5SGcnmt8Y6la6uNh1wkld/Y/H tmPg== X-Gm-Message-State: ACrzQf1sPq353K2EgsyFY3VfUMuyIkHqBz5xNfbyaoqbWRefwh7PbNqD 7GpGszzb7696dNIAQGpu4FM= X-Received: by 2002:a17:907:6e0d:b0:7ae:2277:9fc9 with SMTP id sd13-20020a1709076e0d00b007ae22779fc9mr1536983ejc.334.1667480471896; Thu, 03 Nov 2022 06:01:11 -0700 (PDT) Received: from localhost.localdomain ([5.2.194.157]) by smtp.gmail.com with ESMTPSA id q12-20020a17090676cc00b00779a605c777sm451829ejn.192.2022.11.03.06.01.09 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 03 Nov 2022 06:01:11 -0700 (PDT) From: Cosmin Tanislav Cc: Lars-Peter Clausen , Michael Hennerich , =?utf-8?q?Nuno_S=C3=A1?= , Jonathan Cameron , Rob Herring , Krzysztof Kozlowski , linux-iio@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Cosmin Tanislav Subject: [PATCH v4 03/13] dt-bindings: iio: temperature: ltc2983: use hex for sensor address Date: Thu, 3 Nov 2022 15:00:31 +0200 Message-Id: <20221103130041.2153295-4-demonsingur@gmail.com> X-Mailer: git-send-email 2.38.1 In-Reply-To: <20221103130041.2153295-1-demonsingur@gmail.com> References: <20221103130041.2153295-1-demonsingur@gmail.com> MIME-Version: 1.0 X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM, RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net To: unlisted-recipients:; (no To-header on input) Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1748480276493628759?= X-GMAIL-MSGID: =?utf-8?q?1748480276493628759?= From: Cosmin Tanislav Addresses should be in hex, fix it. Although the driver initially specified 1-20, it can be made free-range since the address is supposed to match reg, onto which we can impose restrictions based on the compatible property value. Signed-off-by: Cosmin Tanislav Acked-by: Rob Herring --- .../devicetree/bindings/iio/temperature/adi,ltc2983.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Documentation/devicetree/bindings/iio/temperature/adi,ltc2983.yaml b/Documentation/devicetree/bindings/iio/temperature/adi,ltc2983.yaml index 82667adc85b1..29f6fa5e2529 100644 --- a/Documentation/devicetree/bindings/iio/temperature/adi,ltc2983.yaml +++ b/Documentation/devicetree/bindings/iio/temperature/adi,ltc2983.yaml @@ -55,7 +55,7 @@ properties: const: 0 patternProperties: - "@([1-9]|1[0-9]|20)$": + "@([0-9a-f]+)$": type: object properties: