Received: by 2002:a05:6358:7058:b0:131:369:b2a3 with SMTP id 24csp6706803rwp; Tue, 18 Jul 2023 04:55:26 -0700 (PDT) X-Google-Smtp-Source: APBJJlGeBZnibFM7zWJRz0h1/ejCeHweUjayOESOnzFNOeYD5/ZX85EK8zHZ9RRZkGr22PKEsp0m X-Received: by 2002:a05:6a20:8e03:b0:134:1ef9:8b01 with SMTP id y3-20020a056a208e0300b001341ef98b01mr13276134pzj.24.1689681325811; Tue, 18 Jul 2023 04:55:25 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1689681325; cv=none; d=google.com; s=arc-20160816; b=MTOIpMNu0BlFEdgyvtCfAmYuuXR00BlVSEXiv8JaByEWYNB+fNDkqAtknRI2YOpk6T oUtv+31DXyPxJjzHlE59u0zvNX3v3bRJLy072CJDXUuF3lycC+1sHWbCPfh2m+cISN5p qyWkqWNsXC+nPOf6wWXmRSIzIdy0/nfQ2WGh4q9SNKXzF20DcUttD6mmlxFPYzKeE5x6 FDf+gYddFc2Q7BIB/jqu5Y/iH3p5PTdBwNQ+pPmi6R2iuirQmOmoTG01kpg7X0nLKuG6 u6jRD+uM0D23fYDn5y7KIknRNPMd1TB7OIfywr3i0ktVsUu9OH3cgQ5S0IN3yUgRhqSz jZ5g== 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=EK+VTwTdErg5iekBiaTeYX5r7dT6fD+apvm8qmzsbyc=; fh=ihgTYoLV8irCO9AzoN4l56eGegCixWOMIT8aPudvsdM=; b=Lfq1tDkgju/LdCTqKWUISW6B+jk4dq7W9mih3N+3gFTEoMtGx+2lXpR3812a3HZG/g dmgEwuZhZtEJ1WLAzEOw+wCshulGETItdDtkISMGza3lvneZz7+ya5iiRsvLnBeLiKXL Ig4syCS2Ln65P3+0GOqk2eVbTs0Hyn4+qEwiaEQ/TGkJ9u2Sr5ygY8zZbLf6RsiBLF1F VnSSp8R7pt4u/fiwt56mfnEaaN70WcsLcYjhRPFaV0iKCaV9gWXkNkxU9I1P/hhCjXP9 LfOidBnn6I+asrD/sn4aijbehkLYa+R2Sr8xNLXZGDtzsdra51hbKkVD7hVvrvyBjkXM kwvw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b="voyAqL/B"; 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=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id v24-20020a63f218000000b0055386e1eb92si1472488pgh.422.2023.07.18.04.55.13; Tue, 18 Jul 2023 04:55:25 -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=pass header.i=@linaro.org header.s=google header.b="voyAqL/B"; 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=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229511AbjGRLmh (ORCPT + 99 others); Tue, 18 Jul 2023 07:42:37 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:49700 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231896AbjGRLmf (ORCPT ); Tue, 18 Jul 2023 07:42:35 -0400 Received: from mail-ej1-x631.google.com (mail-ej1-x631.google.com [IPv6:2a00:1450:4864:20::631]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id B5BBD19B2 for ; Tue, 18 Jul 2023 04:42:15 -0700 (PDT) Received: by mail-ej1-x631.google.com with SMTP id a640c23a62f3a-986d8332f50so729893066b.0 for ; Tue, 18 Jul 2023 04:42:15 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1689680532; x=1692272532; 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=EK+VTwTdErg5iekBiaTeYX5r7dT6fD+apvm8qmzsbyc=; b=voyAqL/BTsrNt3HDNRmbRDHgSrt/GORWFQdAFHOHVQqONTRIr+g5TQSVqxfLjF+Ozv 9wGzzi6OWeLozlp2c0O1nwswzsNvFVR9NQFDRp1h5tVX82fFbpcGWLZcsUGIqjCeKdbC Cm6z/bmm+X4PNNdjUArZx4WfQfI3JwZ95uhn8lrv0yaFyJgk/nry1fZolo9ek9AHY3mU PGfVsElxK+0jBG9duHBBpzcn3YuTUxrNdRI/XUYIRON1jHqdIKIwR7Cj9eJcl1oP8IOy LWn39/AdwLPhObwPc6/n1KvCS4BUjstNsJ6dCPVRHa9fw3RuS+TwyH9Qb9LE3n46YiHh 8h3A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1689680532; x=1692272532; 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=EK+VTwTdErg5iekBiaTeYX5r7dT6fD+apvm8qmzsbyc=; b=VWZa6QcsB7S01IHdYh1ijIJO+feWhKfg4h0DrJU0yaLJ25Vn8VwDSpeuY7uG5UZim7 fETk/mjfQRdgqtmMf+tfua90yAIYcx+C0jmcT1/SmPaYiwTQ4I+4N9hbwLJX3o7yUTeY 5oAiiXJIl8PdjkxVmglCdXMhAvxjrUZ7qecPir9bpXNdMVwglQT1UENUWqEqTtjQJXi7 YNqk/Gq5knDDPqAhnPVDaz1tAUrh+OfCiehmyKM2iNYa+1NjsGKszgADwZDFh/dtSeoS MJeLQSEHmLZVIUE6vTq0YGQrk+dxM8daHubMnRIGq+4B+0LUMCEN5PGM1k6Etbif4jrs r5cQ== X-Gm-Message-State: ABy/qLbxZ7ZzBcUGzuT7lhbjRFovMKYqeFtrKBfPjQv0CpkWwyiMU5eu 0D+48V003ajUbacjUxMROgAi9g== X-Received: by 2002:a17:906:739e:b0:977:befe:d888 with SMTP id f30-20020a170906739e00b00977befed888mr14595037ejl.13.1689680530844; Tue, 18 Jul 2023 04:42:10 -0700 (PDT) Received: from [192.168.1.20] ([178.197.223.104]) by smtp.gmail.com with ESMTPSA id l5-20020a1709065a8500b00992c92af6easm904900ejq.161.2023.07.18.04.42.09 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Tue, 18 Jul 2023 04:42:10 -0700 (PDT) Message-ID: Date: Tue, 18 Jul 2023 13:42:08 +0200 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.13.0 Subject: Re: [PATCH 2/3] dt-bindings: soc: mediatek: Add mtk-socinfo driver Content-Language: en-US To: William-tw Lin , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Matthias Brugger , AngeloGioacchino Del Regno , Kevin Hilman Cc: Project_Global_Chrome_Upstream_Group@mediatek.com, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, linux-mediatek@lists.infradead.org References: <20230718112143.14036-1-william-tw.lin@mediatek.com> <20230718112143.14036-3-william-tw.lin@mediatek.com> From: Krzysztof Kozlowski In-Reply-To: <20230718112143.14036-3-william-tw.lin@mediatek.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-2.2 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,NICE_REPLY_A, RCVD_IN_DNSWL_BLOCKED,SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE, URIBL_BLOCKED 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-kernel@vger.kernel.org On 18/07/2023 13:21, William-tw Lin wrote: > dt-binding documentation for mtk-socinfo driver. > mtk-socinfo driver provides SoC-related information. > Such information includes manufacturer information, SoC name, > SoC segment name, and SoC marketing name. > > Signed-off-by: William-tw Lin > --- > .../bindings/soc/mediatek/mtk-socinfo.yaml | 58 +++++++++++++++++++ Put it in appropriate place - hwinfo. > 1 file changed, 58 insertions(+) > create mode 100644 Documentation/devicetree/bindings/soc/mediatek/mtk-socinfo.yaml Wrong filename: missing vendor prefix, not matching compatibles. > > diff --git a/Documentation/devicetree/bindings/soc/mediatek/mtk-socinfo.yaml b/Documentation/devicetree/bindings/soc/mediatek/mtk-socinfo.yaml > new file mode 100644 > index 000000000000..4420430a9bca > --- /dev/null > +++ b/Documentation/devicetree/bindings/soc/mediatek/mtk-socinfo.yaml > @@ -0,0 +1,58 @@ > +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) > +%YAML 1.2 > +--- > +$id: http://devicetree.org/schemas/soc/mediatek/mtk-socinfo.yaml# > +$schema: http://devicetree.org/meta-schemas/core.yaml# > + > +title: MediaTek SOC information > + > +maintainers: > + - William Lin > + - Matthias Brugger > + - Kevin Hilman > + > +description: > + The MTK socinfo driver can retrieve several Driver? As in Linux driver? Drop. Describe hardware instead. > + SoC related information based on settings in eFuse. > + Such information include manufacturer information, SoC name, > + SoC segment name, and SoC marketing name. > + > + Just one blank line. > +properties: > + compatible: > + enum: > + - mediatek,mt8173-socinfo > + - mediatek,mt8183-socinfo > + - mediatek,mt8186-socinfo > + - mediatek,mt8188-socinfo > + - mediatek,mt8192-socinfo > + - mediatek,mt8195-socinfo > + > + Ditto... > + nvmem-cells: > + description: > + Phandle to the eFuse data for SoC differentiation. > + items: > + - description: eFuse data that mtk-socinfo driver uses for SoC differentiation > + > + nvmem-cell-names: > + minItems: 1 > + items: > + - const: socinfo-data1 > + - const: socinfo-data2 This does not match your cells. > + > +required: > + - compatible > + - nvmem-cells > + - nvmem-cell-names > + > +additionalProperties: false > + > +examples: > + - | > + mtk_socinfo: socinfo { Broken indentation. > + compatible = "mediatek,mt8186-socinfo"; > + nvmem-cells = <&socinfo_data1>; > + nvmem-cell-names = "socinfo-data1"; No other resources? So this is just DT description of driver? Does not look like suitable for DT in the first place. Best regards, Krzysztof