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 E376FC6FA83 for ; Mon, 12 Sep 2022 18:54:00 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229833AbiILSxx (ORCPT ); Mon, 12 Sep 2022 14:53:53 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:40198 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229459AbiILSxv (ORCPT ); Mon, 12 Sep 2022 14:53:51 -0400 Received: from mail-pg1-x530.google.com (mail-pg1-x530.google.com [IPv6:2607:f8b0:4864:20::530]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 9406219C02 for ; Mon, 12 Sep 2022 11:53:49 -0700 (PDT) Received: by mail-pg1-x530.google.com with SMTP id i19so5838696pgi.1 for ; Mon, 12 Sep 2022 11:53:49 -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; bh=eu+Y0GxqpAYk/blE6b6eAg2V++css9z9LTCv5OV58Iw=; b=itTP2g8kQuP+En3k3FWdKM7MuG2mB8+HmOuv4jvVRnEupfn0/dVq41Rf2pcrexOJVD /VCUMeem5Kh52IvYayTLE6K+sYTKq81CShFxm0ksahAIhL5b0X2UZAUaRIApZYClYW4A D9uDIZ1IYn/+gz8MWx6860tvmEOr1du8pDU+7hCbpKUF33gEJeOlxOyicPjGPL5vqZ6K dhHeNuGwxjCxT0fAvHniKJSO5KnhAOmO07VR4DRCH2iYOi3zPDzsDgALJ4ZGMJ6wzh2T J9MMWXBwBRHJsEaxLa6ywP1NtUGP1TtZFqydNvE4BGPWnZQF/IVZ+QhzLOsMfobggWJE 2bXw== 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; bh=eu+Y0GxqpAYk/blE6b6eAg2V++css9z9LTCv5OV58Iw=; b=PWiqyBD+6rA8j25f2wbaoFZQLWV2T4MRyz0LDkc30auxs5LqsdlvAYsXwz5KgBEP1W hf3Z1iq9YFJ45JA4287N2LMVTon9LXvBXiNQHJ1pVz4uVOvCPW2IKMmzZh+9dO7dHaA8 cXqwUx/A3QIY+4c7XhWiHhZJ889RRwou3XxYmjBo3iqJW7t5BAeklMgYsQwI/XSwV+E6 meqSF6VX4STbNrL8+avHH4aSUcPA5+gbIzRd/dq64037P+IpAATCPH9qsyaGiKuv5KXg S/w3gB93yLuPoB2yoW0OfBehr+ijlA/bHVLmAZkPdlX7uD3QTOvbWzuroQD+pvdkiXRu LBVA== X-Gm-Message-State: ACgBeo03w06C+aSYBIrM1ZC2K5IHCNhpfJQmAJlLJsy2jiTcTE2pZsAQ E/l+wPEVELOB5p1ubi6COCgV+w== X-Google-Smtp-Source: AA6agR58cC1Ep7n6UweoDOxuW+z7oY73tW/YVyeR/I5tQtNtY/F2m9g02EzS5c1w6qxs7ZTsBDD7wQ== X-Received: by 2002:a63:1f0e:0:b0:438:5cd8:8d60 with SMTP id f14-20020a631f0e000000b004385cd88d60mr18709989pgf.70.1663008828733; Mon, 12 Sep 2022 11:53:48 -0700 (PDT) Received: from ?IPV6:2401:4900:1c60:5362:9d7f:2354:1d0a:78e3? ([2401:4900:1c60:5362:9d7f:2354:1d0a:78e3]) by smtp.gmail.com with ESMTPSA id j3-20020a170902da8300b001714e7608fdsm6414843plx.256.2022.09.12.11.53.44 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Mon, 12 Sep 2022 11:53:48 -0700 (PDT) Message-ID: <46087486-bacd-c408-7ead-5b120412412b@linaro.org> Date: Tue, 13 Sep 2022 00:23:42 +0530 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.12.0 Subject: Re: [PATCH 3/4] dt-bindings: net: snps,dwmac: Update reg maxitems Content-Language: en-US To: Krzysztof Kozlowski , devicetree@vger.kernel.org Cc: linux-arm-msm@vger.kernel.org, agross@kernel.org, bhupesh.linux@gmail.com, linux-kernel@vger.kernel.org, robh+dt@kernel.org, netdev@vger.kernel.org, Bjorn Andersson , Rob Herring , Vinod Koul , David Miller References: <20220907204924.2040384-1-bhupesh.sharma@linaro.org> <20220907204924.2040384-4-bhupesh.sharma@linaro.org> From: Bhupesh Sharma In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 9/8/22 8:11 PM, Krzysztof Kozlowski wrote: > On 07/09/2022 22:49, Bhupesh Sharma wrote: >> Since the Qualcomm dwmac based ETHQOS ethernet block >> supports 64-bit register addresses, update the >> reg maxitems inside snps,dwmac YAML bindings. > > Please wrap commit message according to Linux coding style / submission > process: > https://elixir.bootlin.com/linux/v5.18-rc4/source/Documentation/process/submitting-patches.rst#L586 > >> >> Cc: Bjorn Andersson >> Cc: Rob Herring >> Cc: Vinod Koul >> Cc: David Miller >> Signed-off-by: Bhupesh Sharma >> --- >> Documentation/devicetree/bindings/net/snps,dwmac.yaml | 2 +- >> 1 file changed, 1 insertion(+), 1 deletion(-) >> >> diff --git a/Documentation/devicetree/bindings/net/snps,dwmac.yaml b/Documentation/devicetree/bindings/net/snps,dwmac.yaml >> index 2b6023ce3ac1..f89ca308d55f 100644 >> --- a/Documentation/devicetree/bindings/net/snps,dwmac.yaml >> +++ b/Documentation/devicetree/bindings/net/snps,dwmac.yaml >> @@ -94,7 +94,7 @@ properties: >> >> reg: >> minItems: 1 >> - maxItems: 2 >> + maxItems: 4 > > Qualcomm ETHQOS schema allows only 2 in reg-names, so this does not make > sense for Qualcomm and there are no users of 4 items. On this platform the two reg spaces are 64-bit, whereas for other platforms based on dwmmac, for e.g. stm32 have 32-bit address space. Without this fix I was getting the following error with 'make dtbs_check': Documentation/devicetree/bindings/net/qcom,ethqos.example.dtb: ethernet@20000: reg: [[0, 131072], [0, 65536], [0, 221184], [0, 256]] is too long From schema: /home/bhsharma/code/upstream/linux-bckup/linux/Documentation/devicetree/bindings/net/snps,dwmac.yaml Thanks.