Received: by 2002:a05:7412:f690:b0:e2:908c:2ebd with SMTP id ej16csp1036136rdb; Fri, 20 Oct 2023 06:53:21 -0700 (PDT) X-Google-Smtp-Source: AGHT+IHU07dj4FCIXXth4fp3oW1rAKeTZkYODlWCvuQG8SiZ1mEyZbqyrFFqS/smdnIT4buV0rB9 X-Received: by 2002:a05:6358:419b:b0:15a:e6ac:ee5d with SMTP id w27-20020a056358419b00b0015ae6acee5dmr1603562rwc.17.1697810000650; Fri, 20 Oct 2023 06:53:20 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1697810000; cv=none; d=google.com; s=arc-20160816; b=S917M5LQGby+mHZBLumElJAbwY9d7nuPcFe2QMh5/oss4IyjXravcnbMn6GFjGFG9o Ow009maUSOiVwHVGppJY4YPZzMnbxGjVfPLGW3PYLsbKlWUr54b4B5xSN6+F7cLO9OZu W8llJYY26tC9EelKz8UIfHKE2eTfT1ZknINT5x7BkFo/luTWm44EirgeNwrQjP92reTp LKfx8EqASk2H/k6GsYGEFboymIG916AS5l2qiRULbIKiTAWvYrPHwsYUViwHvhxccBSJ 09IA7oJ1OcQImbQwmzaFv0U3RIoDu/xpUNL7Zkh230pKWzw9iqyfLu9dG0jF7KgIc8vI /5rQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:cc:to:subject :message-id:date:from:in-reply-to:references:mime-version :dkim-signature; bh=FrO+wxV5Mlf3GLuMBQO7UDklYZRNB5QJ4jz86PZzP2s=; fh=dvsgzothETwYNZTiOJ0um3iu3FA7GMFIpXOv+GOMMwo=; b=GvnjYyA1m53ZZqm9XTJtdlzPm3F6NSqcyk9PyW2NwhJ5YExCIs2BwnIZMYF5q0QK45 SMqMGxfeY0pQurbSAVEeyrPsMcCA222PFLlfrhx6Dq4wsanUPl7aELMky7DpMcxDwa8x jcmPmEUQWtQumKR/xJ+qMf5G0rpwdtOMGCFTjhuEHAPeb488YHxYT7PmVMBjvRv3Ky7e h9zsjV+4CovQVZt8HfZ/FYSTIr4r+wPmhSwoE59kwTXr1Fz3RKKg/4OLpfW4zQ2R+zmb Bld/I6KKaaAf0XH83bPpg3Y1emECHOawWxYzPeNKn5pSVtYR0XPWF+cc4X/t3P05EfE7 ZBQg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=SUuheCVf; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:3 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from lipwig.vger.email (lipwig.vger.email. [2620:137:e000::3:3]) by mx.google.com with ESMTPS id l133-20020a633e8b000000b00565e7a3342dsi1980269pga.256.2023.10.20.06.53.20 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 20 Oct 2023 06:53:20 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:3 as permitted sender) client-ip=2620:137:e000::3:3; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=SUuheCVf; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:3 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by lipwig.vger.email (Postfix) with ESMTP id 36A2E830101D; Fri, 20 Oct 2023 06:53:18 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at lipwig.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1377482AbjJTNxG (ORCPT + 99 others); Fri, 20 Oct 2023 09:53:06 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:53184 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1377304AbjJTNxF (ORCPT ); Fri, 20 Oct 2023 09:53:05 -0400 Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 1AB9B93; Fri, 20 Oct 2023 06:53:04 -0700 (PDT) Received: by smtp.kernel.org (Postfix) with ESMTPSA id ABDA4C43391; Fri, 20 Oct 2023 13:53:03 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1697809983; bh=iUqj2P4pPCFQw2K6lkAXr5VVwb6UDJX9gatQQde1WIY=; h=References:In-Reply-To:From:Date:Subject:To:Cc:From; b=SUuheCVfdUrMjqyAOA2gdLzOlR9ftnasWC9FXTIP7sPQsFYVm0p3eA196PQtJMcY6 DsLWb0lU4JrLpsEn0V/U4psYkuSM39JItqEwPgRRe7yZVh+5ueRNqKJSWjZV37WOwk HsK9lQU78dvMy2dFkperks6+7cTlSyUdweuoSK1yLAhdDslS4EdQXtKnIRpjIC/Z5V p/9ZuM81p1mREhFctd/BjZnA35ahMD1h2rH/tx4QNL8uDe5b1KTg/l1xHHTTWfbnWS VLPa7Al/XxUkhWJCCTFtOyIcIyaeRiXxmoWrRoKs9UCS0yFMaUw67OgSGJHZQ+uq8y 2XoASIRp8O68A== Received: by mail-lf1-f49.google.com with SMTP id 2adb3069b0e04-507a29c7eefso1192550e87.1; Fri, 20 Oct 2023 06:53:03 -0700 (PDT) X-Gm-Message-State: AOJu0Yz7HVxhZyBFABimy5N/aW0rKT1wpfc+j/WqXKcfp8JKq08EI2Tb nba6HlY+zJRe8ZcfTUybIbMFjSWGMlMd8USSHg== X-Received: by 2002:a05:6512:3052:b0:4fe:711:2931 with SMTP id b18-20020a056512305200b004fe07112931mr1562124lfb.22.1697809981756; Fri, 20 Oct 2023 06:53:01 -0700 (PDT) MIME-Version: 1.0 References: <20231020034921.1179-1-jyanchou@realtek.com> <20231020034921.1179-5-jyanchou@realtek.com> In-Reply-To: From: Rob Herring Date: Fri, 20 Oct 2023 08:52:49 -0500 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCH V3][4/4] dt-bindings: mmc: Add dt-bindings for realtek mmc driver To: Krzysztof Kozlowski , Jyan Chou Cc: adrian.hunter@intel.com, jh80.chung@samsung.com, ulf.hansson@linaro.org, riteshh@codeaurora.org, krzysztof.kozlowski+dt@linaro.org, conor+dt@kernel.org, asutoshd@codeaurora.org, p.zabel@pengutronix.de, linux-mmc@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, arnd@arndb.de, briannorris@chromium.org, doug@schmorgal.com, tonyhuang.sunplus@gmail.com, abel.vesa@linaro.org, william.qiu@starfivetech.com Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Spam-Status: No, score=-1.2 required=5.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lipwig.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (lipwig.vger.email [0.0.0.0]); Fri, 20 Oct 2023 06:53:18 -0700 (PDT) On Fri, Oct 20, 2023 at 1:50=E2=80=AFAM Krzysztof Kozlowski wrote: > > On 20/10/2023 05:49, Jyan Chou wrote: > > Document the device-tree bindings for Realtek SoCs mmc driver. > > > > Signed-off-by: Jyan Chou > > > > --- > > v2 -> v3: > > - Modify dt-bindings' content and description. > > - Fix coding style. > > - Update the list of maintainers. > > > > v0 -> v2: > > - Add dt-bindings. > > --- > > --- > > .../bindings/mmc/realtek-dw-mshc.yaml | 150 ++++++++++++++++++ > > 1 file changed, 150 insertions(+) > > create mode 100644 Documentation/devicetree/bindings/mmc/realtek-dw-ms= hc.yaml > > > > diff --git a/Documentation/devicetree/bindings/mmc/realtek-dw-mshc.yaml= b/Documentation/devicetree/bindings/mmc/realtek-dw-mshc.yaml > > new file mode 100644 > > index 000000000000..b1e37fb37be9 > > --- /dev/null > > +++ b/Documentation/devicetree/bindings/mmc/realtek-dw-mshc.yaml > > Filename matching compatible. > > BTW, before you respond, be sure you have fixed your email client. In > your last response everything was not properly wrapped (not matching > mailing list discussion style). > > > @@ -0,0 +1,150 @@ > > +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) > > +%YAML 1.2 > > +--- > > +$id: http://devicetree.org/schemas/mmc/realtek-dw-mshc.yaml# > > +$schema: http://devicetree.org/meta-schemas/core.yaml# > > + > > +title: Realtek designware mobile storage host controller > > > DesignWare > > > + > > +description: > > + Realtek uses the Synopsys designware mobile storage host controller > > DesignWare > > > + to interface a SoC with storage medium. This file documents the Real= tek > > + specific extensions. > > + > > +allOf: > > + - $ref: synopsys-dw-mshc-common.yaml# > > + > > +maintainers: > > + - Jyan Chou > > + > > +properties: > > + compatible: > > + enum: > > + - realtek,rtd-dw-cqe-emmc > > Compatibles should have SoC-specific part. It does not look like you > have one here. > > Missing blank line > > > + reg: > > + maxItems: 2 > > You need to describe the items. > > > + > > + reg-names: > > + maxItems: 2 > > You need to describe the items. > > > + > > + interrupts: > > + maxItems: 1 > > + > > + cqe: > > + maxItems: 1 > > Looks like some custom property. If it is a generic one, where is it > documented? If it is custom, missing vendor prefix and description. > Detailed description. There's common properties related to CQE. Use them. Rob