Received: by 2002:a05:6358:d09b:b0:dc:cd0c:909e with SMTP id jc27csp322418rwb; Fri, 18 Nov 2022 01:49:39 -0800 (PST) X-Google-Smtp-Source: AA0mqf6UNJcUKeh19uFd20YsPsxq+INo4MdXvE4lTk3/4SWJzH5J1OCA5kEkwL2mWqdDebZw6+tN X-Received: by 2002:a63:4d0d:0:b0:477:14ea:cee6 with SMTP id a13-20020a634d0d000000b0047714eacee6mr4470738pgb.303.1668764979259; Fri, 18 Nov 2022 01:49:39 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1668764979; cv=none; d=google.com; s=arc-20160816; b=Wa7uxHSK9oIkn6eVvaWEWpeM24hjVPGT3IWyTKH/FMZrGjf2buefjiM0wcnvsBKUGl oc0+LNPgfuGpqAchOjBhFM7h0p8gJSvM6V4E46iOYz2gUzv0nHkYRcaSJVO0O0CM/YLG lPNtYUTWWnf2RGAKztib14/l4EFGcCXwCEPuqZIHU0YuCb/1JQqbAG5An9toBCvs22rl LN39IjO6g8ChxSHOJ8UFrSo11GdX8k5svVy5oxugOfO9TQJUtYYW+XDxAwd/PXptu58N g1R7QtwFrNzhRGaYoVbMtHn0v6jhQJsBYTx4laSq1codgOy5x3tA9L8YjZ7ObPzhwOyw sbkA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version:dkim-signature; bh=VPuBk7QpwTGjZyc1/9nTkVIP5Q9YhdcXA+K9KZrkrmY=; b=FwOMVLxVZ4Ju1a050ST06805CuE4YYP33nIfVCUT7bZ6ahwEUHCLWi5eDHCs6ylMK4 1dld5BF9Q0sD3eyefVHBV3kUEBZ6AW91d3vQGouBmhUrpjzhQj0KO19P6/KxM0yvi1d1 dr/9w6WKsnbVjeyOXL9qoRwOibyxfF2c3rok2HnXGWucd9roUp+g2gqw0dRnmR3TMuwF WqaXck37iJLYylUM6c4/fMIAYTqcE6EfVLpzMNBoOwlMKLBfQb84tnXvecfonLOYI61t 6Fs/3LhZpsHHkqloib+5raL2yNxG7qE1JX4ZYjSBtE+r6qIB9w81Sztv7X/guLG2xnhm tgTg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=UtQGDof7; 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 t4-20020a634444000000b0046ef67cb979si3672573pgk.82.2022.11.18.01.49.26; Fri, 18 Nov 2022 01:49:39 -0800 (PST) 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=UtQGDof7; 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 S242098AbiKRJru (ORCPT + 92 others); Fri, 18 Nov 2022 04:47:50 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56828 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S241047AbiKRJqY (ORCPT ); Fri, 18 Nov 2022 04:46:24 -0500 Received: from mail-pf1-x431.google.com (mail-pf1-x431.google.com [IPv6:2607:f8b0:4864:20::431]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 821C18FFAC for ; Fri, 18 Nov 2022 01:46:04 -0800 (PST) Received: by mail-pf1-x431.google.com with SMTP id k22so4399729pfd.3 for ; Fri, 18 Nov 2022 01:46:04 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=VPuBk7QpwTGjZyc1/9nTkVIP5Q9YhdcXA+K9KZrkrmY=; b=UtQGDof7bBDHAztrqkOGkhOuyOoYom4lxvwSofr49GG85ox4N1jxBtXdwhueKLBsZF md3lgH2QPow60IL+THnukxXt8eb9zwDDLi2JeVrRNa7vFkTe+5OUuceX19P5yLvfi0ZA G6FythdyG4s72nwGJXbCUVwuhe5UZjjpo60/rmlkB2nvRysl7UjLbwBUoafqvmU+lXd3 ruWPfnfeoaYHdu22I0XoMSTjqSN6MGlO6tEEo3aZAis+kCJgjfpOHQXwBpgjVRJm3gsp 3aYSGAsLC/yvL+iIbNrROF7Pn8wMMHbN8bGjYaG6kqE6LVpfRtz/oXnwrmx2tIO+I8E5 mO7Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=VPuBk7QpwTGjZyc1/9nTkVIP5Q9YhdcXA+K9KZrkrmY=; b=Lqet6oclBNtcWmbPw5Vo4sRRU60u4kQ7MXIvY6u5IdSxceNknD9thck0VQ2K1DNnmq 8ablM43cctnPHzr0JVTO1G3Z8xcW0fSBGDS7+Y/vPXyTw8zwE080n1oOjwvNtavv+HzT b1U+v5nLu6k+3QA0Tf8xN8DOWiXdL7/N1kG3+SiNG9S/b0zKa3KJEm5KzpU4RJUO+Q+g 23/cTYtA4aj/EnM67+5gdNTkiQo5vbcEB80G4OylqbYwIdzVjFxYcNiWP/aK/PEw6uiJ J8xUC2RRAvyOWj4sSDffQuslkHnX0ZqbLs0SCGJq84z7eBsSb1YUTxJ6uWE5htiheTl7 Pfjg== X-Gm-Message-State: ANoB5pk95pMelfaQLSAKNlX1ZkLXzTCtKNlRwN5HSCDsRC1srFYAnwM6 93v6Kx73tdiQRaFZ3XakdApQ3LcQdTRPmFZSZcizj+126f4= X-Received: by 2002:a63:4285:0:b0:477:15c8:cd8a with SMTP id p127-20020a634285000000b0047715c8cd8amr4536822pga.595.1668764763969; Fri, 18 Nov 2022 01:46:03 -0800 (PST) MIME-Version: 1.0 References: <20221114230217.202634-1-dinguyen@kernel.org> In-Reply-To: <20221114230217.202634-1-dinguyen@kernel.org> From: Ulf Hansson Date: Fri, 18 Nov 2022 10:45:27 +0100 Message-ID: Subject: Re: [PATCHv9 1/6] dt-bindings: mmc: synopsys-dw-mshc: document "altr,sysmgr-syscon" To: Dinh Nguyen Cc: jh80.chung@samsung.com, robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org, mturquette@baylibre.com, sboyd@kernel.org, linux-mmc@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-clk@vger.kernel.org Content-Type: text/plain; charset="UTF-8" X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE, 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 lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, 15 Nov 2022 at 00:02, Dinh Nguyen wrote: > > Document the optional "altr,sysmgr-syscon" binding that is used to > access the System Manager register that controls the SDMMC clock > phase. > > Signed-off-by: Dinh Nguyen Applied for next, thanks! Kind regards Uffe > --- > v9: remove required for "altr,sysmgr-syscon" > v8: remove "" around synopsys-dw-mshc-common.yaml# > v7: and "not" for the required "altr,sysmgr-syscon" binding > v6: make "altr,sysmgr-syscon" optional > v5: document reg shift > v4: add else statement > v3: document that the "altr,sysmgr-syscon" binding is only applicable to > "altr,socfpga-dw-mshc" > v2: document "altr,sysmgr-syscon" in the MMC section > --- > .../bindings/mmc/synopsys-dw-mshc.yaml | 32 +++++++++++++++++-- > 1 file changed, 29 insertions(+), 3 deletions(-) > > diff --git a/Documentation/devicetree/bindings/mmc/synopsys-dw-mshc.yaml b/Documentation/devicetree/bindings/mmc/synopsys-dw-mshc.yaml > index ae6d6fca79e2..e1f5f26f3f1c 100644 > --- a/Documentation/devicetree/bindings/mmc/synopsys-dw-mshc.yaml > +++ b/Documentation/devicetree/bindings/mmc/synopsys-dw-mshc.yaml > @@ -6,9 +6,6 @@ $schema: http://devicetree.org/meta-schemas/core.yaml# > > title: Synopsys Designware Mobile Storage Host Controller Binding > > -allOf: > - - $ref: "synopsys-dw-mshc-common.yaml#" > - > maintainers: > - Ulf Hansson > > @@ -38,6 +35,35 @@ properties: > - const: biu > - const: ciu > > + altr,sysmgr-syscon: > + $ref: /schemas/types.yaml#/definitions/phandle-array > + items: > + - items: > + - description: phandle to the sysmgr node > + - description: register offset that controls the SDMMC clock phase > + - description: register shift for the smplsel(drive in) setting > + description: > + This property is optional. Contains the phandle to System Manager block > + that contains the SDMMC clock-phase control register. The first value is > + the pointer to the sysmgr, the 2nd value is the register offset for the > + SDMMC clock phase register, and the 3rd value is the bit shift for the > + smplsel(drive in) setting. > + > +allOf: > + - $ref: synopsys-dw-mshc-common.yaml# > + > + - if: > + properties: > + compatible: > + contains: > + const: altr,socfpga-dw-mshc > + then: > + properties: > + altr,sysmgr-syscon: true > + else: > + properties: > + altr,sysmgr-syscon: false > + > required: > - compatible > - reg > -- > 2.25.1 >