From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id B9119C433FE for ; Mon, 10 Oct 2022 18:40:35 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229653AbiJJSke (ORCPT ); Mon, 10 Oct 2022 14:40:34 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:39202 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229514AbiJJSkd (ORCPT ); Mon, 10 Oct 2022 14:40:33 -0400 Received: from mail-qk1-x72c.google.com (mail-qk1-x72c.google.com [IPv6:2607:f8b0:4864:20::72c]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id EE54D5FE0 for ; Mon, 10 Oct 2022 11:40:29 -0700 (PDT) Received: by mail-qk1-x72c.google.com with SMTP id b21so445363qkh.3 for ; Mon, 10 Oct 2022 11:40:29 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :from:to:cc:subject:date:message-id:reply-to; bh=R5H4Tybt7voQk6I4jd5s7+XDeC0MpH0YdPGAT0/eukg=; b=PW5tCE4kZWjLiyXULBfOzB5YU3cJnUv581TVAH6WcYnWmuogsNKfrr6vgsBgBmHw2+ aytYCOaBEAzBXJGv1UB3VTn0HsUpHG1EDLAksyHZtQUA2XsJs/FWty36VVH5UdMkf9DG G599R0QJD8kswNbHyR++HmREbi9azt107dFrrZLvPbp40UI1DykrniLnBzVAOkhNhve/ 9HP5zaExvQtEevsCfPBNCD0SoRJhsoGYBgDCxDbZr9RSS5X3xtc8idI3B+IzjudSrRgB h/ukvyzAx0yhyGNY/tFomDkjp5xbDwTrTmD8dcohMQ2TwMw3O6yy+o3mk2ASnUNW11UC +MFw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=R5H4Tybt7voQk6I4jd5s7+XDeC0MpH0YdPGAT0/eukg=; b=0qkWSlO7zEzTyPaLyhEZfJXmRoRj25rGAAF+9YkXlrRMIzJvSaa2f1xYO+eErIcl/7 G5ubniv6p3d0pTAUaqK/zvjAWa+s5E/XKMEOW1YHv/y7KuiiSRroGledEZ+J/uE8s7hq A5JW2zp8f0Cm3eWe7E+02W/8V9mF5SNqwYIfXarNm2BZ4m8dgts5/1w8zFMx/UyFYAOq eRpLsZ0jaEIdsFIkPmnnNNIxMmgyJjYOtHMcsTi7yR597P08gDLkY5HS3c4inid0vati ZvsQOniVde0quL4rF7YcIgkSkme6gMVY5Fgva9le8kbDoZEzNuLaD0oF2P2VRt0mnZbn UcMw== X-Gm-Message-State: ACrzQf1XBqN4sqsVkEd3sf6LDBYYoOVTAUOnPl10LpAVdAlE1zo35M50 UcQ0KGnIw9wr2ZqBeEouqcDgjw== X-Google-Smtp-Source: AMsMyM4u7unzRGjVZTOAjRBEMbAI2WE3RMnv0NfrdFSAS9xO4agO23/UIoBoWuaaHMP/MmAFEeal3A== X-Received: by 2002:ae9:f205:0:b0:6bc:2d40:2f3d with SMTP id m5-20020ae9f205000000b006bc2d402f3dmr13536175qkg.448.1665427229152; Mon, 10 Oct 2022 11:40:29 -0700 (PDT) Received: from [192.168.1.57] (cpe-72-225-192-120.nyc.res.rr.com. [72.225.192.120]) by smtp.gmail.com with ESMTPSA id f11-20020ac8068b000000b0039853b7b771sm5642156qth.80.2022.10.10.11.40.26 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Mon, 10 Oct 2022 11:40:27 -0700 (PDT) Message-ID: <7a71aad9-9e4f-b314-9ae8-7f478aeae53d@linaro.org> Date: Mon, 10 Oct 2022 14:38:15 -0400 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.3.2 Subject: Re: [PATCH] Change the I2C slave address for ds4422/4424 to its correct value Content-Language: en-US To: Rajat Khandelwal , jic23@kernel.org, lars@metafoo.de, robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org, ihkose@gmail.com Cc: linux-iio@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, rajat.khandelwal@intel.com References: <20221011182437.662719-1-rajat.khandelwal@linux.intel.com> From: Krzysztof Kozlowski In-Reply-To: <20221011182437.662719-1-rajat.khandelwal@linux.intel.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org On 11/10/2022 14:24, Rajat Khandelwal wrote: > The datasheet states that the slave address for the device is 0x20 > when the pins A0 and A1 are ground. The DT binding has been using > 0x10 as the value and I think it should be 0x20 as per datasheet. Use subject prefixes matching the subsystem (git log --oneline -- ...). > > Let me know if I am wrong about this. This does not belong to the commit msg. > > Signed-off-by: Rajat Khandelwal > --- > Documentation/devicetree/bindings/iio/dac/maxim,ds4424.yaml | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/Documentation/devicetree/bindings/iio/dac/maxim,ds4424.yaml b/Documentation/devicetree/bindings/iio/dac/maxim,ds4424.yaml > index 264fa7c5fe3a..1955b1a97cd6 100644 > --- a/Documentation/devicetree/bindings/iio/dac/maxim,ds4424.yaml > +++ b/Documentation/devicetree/bindings/iio/dac/maxim,ds4424.yaml > @@ -38,7 +38,7 @@ examples: > > dac@10 { > compatible = "maxim,ds4424"; > - reg = <0x10>; /* When A0, A1 pins are ground */ > + reg = <0x20>; /* When A0, A1 pins are ground */ Does not look like you tested the bindings. Please run `make dt_binding_check` (see Documentation/devicetree/bindings/writing-schema.rst for instructions). > vcc-supply = <&vcc_3v3>; > }; > }; Best regards, Krzysztof