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 bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 6EEF6CCA479 for ; Thu, 21 Jul 2022 08:55:43 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:In-Reply-To:From:References:Cc:To: Subject:MIME-Version:Date:Message-ID:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=+BUQH8elkg6vksd3KV2zGiJ+eo46dlKbc0ozKDrD/24=; b=xsSSCB9P3bS192 XgXghBcVg60NpmHWgy9sIUUB03EyvwCL4qTdc1TiSRdRrDXlU0yZxQw3MfQbQzi5OO7ENW3+h0lpH RvM3WjyQ0H1T50RdD7yaK/CcxYpwJlSHtf/5Ic65ElPtLDV5g8DOsPAYyR4HyaKsypSGKcbp4xwAo GLFTzYMDT7487hls2SuhM+5/kV2Odwmku2GcbkOcqlCWjd24HaAzuYqSaH+7fenydzy/Ha+mHACby 4hfHzs7vNDH/7Zg89u0LV1fpZ9vh952I9VxH7XNgZYy0dde2oyx8syaBUXGkYBuZ9ZS6wDkzN0pPy Xg/ugb66g8EEfDqxbL8Q==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1oERyA-002plH-Pg; Thu, 21 Jul 2022 08:55:42 +0000 Received: from mail-lj1-x229.google.com ([2a00:1450:4864:20::229]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1oERy7-002pgF-3e for linux-phy@lists.infradead.org; Thu, 21 Jul 2022 08:55:40 +0000 Received: by mail-lj1-x229.google.com with SMTP id e11so1034042ljl.4 for ; Thu, 21 Jul 2022 01:55:36 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=message-id:date:mime-version:user-agent:subject:content-language:to :cc:references:from:in-reply-to:content-transfer-encoding; bh=4GeLyV51uYj8j4S4aBve635E01r+lvLx2pbTjxK4lWY=; b=r7/Jn5fBFKJaOhtb44Dkjir5D0my9GI5ryjs+mFVridMBGrA31diU16QC2UbpL167X eWcY8H3uvQu/abRABlzE4W9nzhLybMEhXsBOdE58UnvdATo2x6OEIbQqKhZdpU3IPFRs OuFHTLK8S75Bpltb/aEvT2UawF69arCPTyn/s7/V7R2GFzZEHjUXqM1Lj6ZVHtKihRFk L6sMUxXH+LKkm7F5trbtBIN0gM93PTfJSox5aFPGm5Igsp6ejwaOqGtyDZL+eaFLO406 pFblBNMt5JH4n1C5KILz8CDIoS9kmWbFwlGYo0UEgw77xnYXHEGzBawWEW4cymTG2oO0 GEig== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:message-id:date:mime-version:user-agent:subject :content-language:to:cc:references:from:in-reply-to :content-transfer-encoding; bh=4GeLyV51uYj8j4S4aBve635E01r+lvLx2pbTjxK4lWY=; b=g+uudVQrJZPMh9ngxKnYmzANMFTmusMHy9r0WqfUYVF98SjvUnwapy5fK4MCH5MDbc y/Ye537Lwej5z5N3Q5PG69mRLGnHbpsUHAN02lcGHdbtAwcqIQiUuJUfcsME+pS+zXCp 4StK7Gv9W+ZBuK/0XIFsgEU4qEGFiRn/fud60gSOYq5lKJ+N+p3lFhe2qqeLg5e1xSRm uXuXcaZHXUKAQhV2Vhyxbq0uXYrXaufKFRkIik9HmnRsuzauNOEo5nsUtOUWHJHW9WsP 3TaPbxArHCGeEI8GSZRKRjzZINqoG8RAnG7NQ+HSP2ck8pXduU4hshz3n8+9TbQG8lwt P4Rg== X-Gm-Message-State: AJIora8PDuU6MKsdcMSlfDElupQ/CQUEmmupLER/50JODacPRlQmc74b DWWyR0bIAlbiKo/BDYiBNg43TQ== X-Google-Smtp-Source: AGRyM1t+1EDHj6uDmmwBE6CgTZopBYct95p34fYs4E202hjjQ4LPh6wl3Vozu3ATNCFfiaswEwGWyw== X-Received: by 2002:a2e:8852:0:b0:25d:4ab5:593b with SMTP id z18-20020a2e8852000000b0025d4ab5593bmr17501577ljj.261.1658393735136; Thu, 21 Jul 2022 01:55:35 -0700 (PDT) Received: from [192.168.115.193] (89-162-31-138.fiber.signal.no. [89.162.31.138]) by smtp.gmail.com with ESMTPSA id bp25-20020a056512159900b0047f76a935a5sm308444lfb.137.2022.07.21.01.55.32 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Thu, 21 Jul 2022 01:55:33 -0700 (PDT) Message-ID: <19ccf775-cc1d-37de-bf4e-7745f0943851@linaro.org> Date: Thu, 21 Jul 2022 10:55:32 +0200 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.11.0 Subject: Re: [PATCH v4 1/5] dt-bindings: pci: Add ARTPEC-8 PCIe controller Content-Language: en-US To: wangseok.lee@samsung.com, "robh+dt@kernel.org" , "krzk+dt@kernel.org" , "kishon@ti.com" , "vkoul@kernel.org" , "linux-kernel@vger.kernel.org" , "jesper.nilsson@axis.com" , "lars.persson@axis.com" , "bhelgaas@google.com" , "linux-phy@lists.infradead.org" , "linux-pci@vger.kernel.org" , "devicetree@vger.kernel.org" , "lorenzo.pieralisi@arm.com" , "kw@linux.com" , "linux-arm-kernel@axis.com" , "kernel@axis.com" Cc: Moon-Ki Jun , Sang Min Kim , Dongjin Yang , Yeeun Kim References: <20220720055108epcms2p563c65b3de6333ccbc68386aa2471a800@epcms2p5> <20220720055436epcms2p63896ebe4e2131e3844044d0112288570@epcms2p6> From: Krzysztof Kozlowski In-Reply-To: <20220720055436epcms2p63896ebe4e2131e3844044d0112288570@epcms2p6> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20220721_015539_199394_D86EC37E X-CRM114-Status: GOOD ( 21.35 ) X-BeenThere: linux-phy@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Linux Phy Mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-phy" Errors-To: linux-phy-bounces+linux-phy=archiver.kernel.org@lists.infradead.org On 20/07/2022 07:54, Wangseok Lee wrote: > Add description to support Axis, ARTPEC-8 SoC. ARTPEC-8 is the SoC platform > of Axis Communications and PCIe controller is designed based on Design-Ware > PCIe controller. > > Signed-off-by: Wangseok Lee > --- > v3->v4 : > -Add missing properties > > v2->v3 : > -Modify version history to fit the linux commit rule > -Remove 'Device Tree Bindings' on title > -Remove clock-names entries > -Change node name to soc from artpec8 on excamples Please rebase on newest Linux kernel or linux-next and use get_maintainers.pl script. > > v1->v2 : > -'make dt_binding_check' result improvement > -Add the missing property list > -Align the indentation of continued lines/entries > --- > .../bindings/pci/axis,artpec8-pcie-ep.yaml | 138 +++++++++++++++++++ > .../devicetree/bindings/pci/axis,artpec8-pcie.yaml | 148 +++++++++++++++++++++ > 2 files changed, 286 insertions(+) > create mode 100644 Documentation/devicetree/bindings/pci/axis,artpec8-pcie-ep.yaml > create mode 100644 Documentation/devicetree/bindings/pci/axis,artpec8-pcie.yaml > > diff --git a/Documentation/devicetree/bindings/pci/axis,artpec8-pcie-ep.yaml b/Documentation/devicetree/bindings/pci/axis,artpec8-pcie-ep.yaml > new file mode 100644 > index 0000000..435e86f > --- /dev/null > +++ b/Documentation/devicetree/bindings/pci/axis,artpec8-pcie-ep.yaml > @@ -0,0 +1,138 @@ > +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) > +%YAML 1.2 > +--- > +$id: http://devicetree.org/schemas/pci/axis,artpec8-pcie-ep.yaml# > +$schema: http://devicetree.org/meta-schemas/core.yaml# > + > +title: ARTPEC-8 SoC PCIe Controller > + > +maintainers: > + - Jesper Nilsson > + > +description: |+ > + This PCIe end-point controller is based on the Synopsys DesignWare PCIe IP > + and thus inherits all the common properties defined in snps,dw-pcie-ep.yaml. > + > +allOf: > + - $ref: /schemas/pci/snps,dw-pcie-ep.yaml# > + > +properties: > + compatible: > + const: axis,artpec8-pcie-ep > + > + reg: > + items: > + - description: Data Bus Interface (DBI) registers. > + - description: Data Bus Interface (DBI2) registers. > + - description: PCIe address space region. > + > + reg-names: > + items: > + - const: dbi > + - const: dbi2 > + - const: addr_space > + > + interrupts: > + maxItems: 1 > + > + clocks: > + items: > + - description: PIPE clock, used by the controller to clock the PIPE > + - description: PCIe dbi clock, ungated version > + - description: PCIe master clock, ungated version > + - description: PCIe slave clock, ungated version > + > + clock-names: > + items: > + - const: pipe > + - const: dbi > + - const: mstr > + - const: slv > + > + samsung,fsys-sysreg: > + description: > + Phandle to system register of fsys block. > + $ref: /schemas/types.yaml#/definitions/phandle Since you wrote this is one register, I expect offset: https://elixir.bootlin.com/linux/v5.18-rc1/source/Documentation/devicetree/bindings/soc/samsung/exynos-usi.yaml#L42 > + > + samsung,syscon-phandle: > + description: > + Phandle to the PMU system controller node. > + $ref: /schemas/types.yaml#/definitions/phandle > + > + samsung,fsys-bus-s: > + description: > + Phandle to bus-s of fsys block, this register > + is additional control sysreg in fsys block and > + this is used for pcie slave control setting. > + $ref: /schemas/types.yaml#/definitions/phandle Ditto > + > + samsung,fsys-bus-p: > + description: > + Phandle to bus-p of fsys block, this register > + is additional control sysreg in fsys block and > + this is used for pcie dbi control setting. > + $ref: /schemas/types.yaml#/definitions/phandle Ditto > + > + phys: > + maxItems: 1 > + > + phy-names: > + items: > + - const: pcie_phy > + > + num-lanes: > + const: 2 > + > +required: > + - compatible > + - reg > + - reg-names > + - interrupts > + - interrupt-names > + - clocks > + - clock-names > + - samsung,fsys-sysreg > + - samsung,syscon-phandle > + - samsung,syscon-bus-s-fsys This does not match what you wrote in properties. Best regards, Krzysztof -- linux-phy mailing list linux-phy@lists.infradead.org https://lists.infradead.org/mailman/listinfo/linux-phy