Received: by 2002:a25:8b91:0:0:0:0:0 with SMTP id j17csp724532ybl; Fri, 31 Jan 2020 06:58:01 -0800 (PST) X-Google-Smtp-Source: APXvYqxOkBprfwb8gDLJWE1Hq0axN9nl7KrzeY+1uEauqx+gmdyYgSjlgwQqmtM/nFV5mJTXX37r X-Received: by 2002:a9d:138:: with SMTP id 53mr8396734otu.230.1580482680952; Fri, 31 Jan 2020 06:58:00 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1580482680; cv=none; d=google.com; s=arc-20160816; b=os+7LRB2pgQEsTNlKnjGx/GOS+9FiyF8SSc7gcH1kqxZZLknArE5gsukqI1+L/9NkR +j5xS0d0fuT94AlM9+uu4M6fO3bSmYpGS31DzT14S8h2qyVzFLLPcfejYThxpFObDPds si5wBnnyD7gOClcXgHeSi/qazCWByEIXtEcDONOaLJpijpuPrcx+9pfLsIMD9PtueYn0 LtP5xMEPp00+npZMxLfRu5R1voDDzyCQ15KFXWoZ2xL9lkhW8TH0wAX4hGgqHQVYNbwd vfCvLw0/3DEgUqj4d24akDmL1MrMJOeLLXmSQwrIsQSRW3W5mDWOjAmxP3GnfaHitf01 zsrw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:dkim-signature; bh=Fbo07jQcDehzcQlRBI+lJd0rapqIcWAeWwHOs5pWDU0=; b=lS9nI23bLnsu2sKlPtW666qxs5F02Phar3GsIBRtdSZsMviMm7l5pKVOQILuOLabVE B3inemFz840Y/+8EGK9K1KW/cf1tuFxjNTpulAg66h3C+O4haOvxboImyuUKC0SHGSa1 Fg/hR7whYk5MdXEH/ez0Ry0VPsOvLhqPDNm2gfb6O2CDbzgNJgWRZOnWjDtsBZsGQ11F YPp/W5etIuAIXiY9EWeDNtrE3F6NMe3c65MIAxEBf0KJycWjEbiYMjGOEI3OVVdQDYvL NJrMiB9zt5xPIlHbMdpgjx0VvTFori5FFE9DKp5E0KJjX/btzjHXoqaf8VDc7Bnvoj5E NWWQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=LjM+TLEJ; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 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 vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id v25si4871431ote.90.2020.01.31.06.57.48; Fri, 31 Jan 2020 06:58:00 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=LjM+TLEJ; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729164AbgAaO4m (ORCPT + 99 others); Fri, 31 Jan 2020 09:56:42 -0500 Received: from mail.kernel.org ([198.145.29.99]:56938 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728825AbgAaO4l (ORCPT ); Fri, 31 Jan 2020 09:56:41 -0500 Received: from mail-qt1-f172.google.com (mail-qt1-f172.google.com [209.85.160.172]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 25312214D8; Fri, 31 Jan 2020 14:56:40 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1580482600; bh=Fbo07jQcDehzcQlRBI+lJd0rapqIcWAeWwHOs5pWDU0=; h=References:In-Reply-To:From:Date:Subject:To:Cc:From; b=LjM+TLEJnKgOcwwtfkbvxqhOmEgOhgh3vtClqWg2f+oBqlUWyraPTIGWWSLcxgaGE 6aCUUD835+zmkwOVFAwitulnuTBxL6fptObyDu5FvkTGFZKB8GFPcgxHR5t5fG/wAO NjjnlNk86wJMBBXe4NPCkSNR7WEgqAA3/f6ucq+g= Received: by mail-qt1-f172.google.com with SMTP id w47so5587792qtk.4; Fri, 31 Jan 2020 06:56:40 -0800 (PST) X-Gm-Message-State: APjAAAUdDcb/8zwC5dy7vVqrKCSl+GoNUJMv7h5evn1WcJgFhtA+w+ex eQRB+Av7w1UfGIRdqFoUSPgnELBB4/ZKPz5WMg== X-Received: by 2002:ac8:6747:: with SMTP id n7mr10888419qtp.224.1580482599278; Fri, 31 Jan 2020 06:56:39 -0800 (PST) MIME-Version: 1.0 References: <20200124114914.27065-1-dafna.hirschfeld@collabora.com> <9c4a971f-6a65-594e-4a79-9e2aa16e58cb@collabora.com> In-Reply-To: From: Rob Herring Date: Fri, 31 Jan 2020 08:56:28 -0600 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCH] dt-bindings: fix compilation error of the example in intel,lgm-emmc-phy.yaml To: Kishon Vijay Abraham I Cc: Dafna Hirschfeld , devicetree@vger.kernel.org, Mark Rutland , "linux-kernel@vger.kernel.org" , Helen Koike , Ezequiel Garcia , Collabora Kernel ML , dafna3@gmail.com Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Jan 27, 2020 at 6:21 AM Kishon Vijay Abraham I wrote: > > > > On 24/01/20 7:59 pm, Dafna Hirschfeld wrote: > > > > > > On 24.01.20 15:03, Rob Herring wrote: > >> On Fri, Jan 24, 2020 at 5:49 AM Dafna Hirschfeld > >> wrote: > >>> > >>> Running: > >>> export > >>> DT_SCHEMA_FILES=Documentation/devicetree/bindings/phy/intel,lgm-emmc-phy.yaml > >>> > >>> 'make dt_binding_check' > >>> > >>> gives a compilation error. This is because in the example there > >>> is the label 'emmc-phy' but labels are not allowed to have '-' sing. > >>> Replace the '-' with '_' to fix the error. > >>> > >>> Signed-off-by: Dafna Hirschfeld > >> > >> There's a fix from the author, but you're first to get the fix > >> correct, so: > > Oh, sorry, I was not aware of that. > > Dafna > > > >> > >> Fixes: 5bc999108025 ("dt-bindings: phy: intel-emmc-phy: Add YAML > >> schema for LGM eMMC PHY") > >> Acked-by: Rob Herring > >> > >> Kishon, Please apply these soon as linux-next is broken. > >> > > merged now, Thanks! And please drop or revert this. It's still has failures: Documentation/devicetree/bindings/phy/intel,lgm-emmc-phy.example.dts:23.13-33: Warning (reg_format): /example-0/chiptop@e0200000/emmc-phy@a8:reg: property has invalid length (8 bytes) (#address-cells == 2, #size-cells == 1) Documentation/devicetree/bindings/phy/intel,lgm-emmc-phy.example.dt.yaml: Warning (pci_device_bus_num): Failed prerequisite 'reg_format' Documentation/devicetree/bindings/phy/intel,lgm-emmc-phy.example.dt.yaml: Warning (i2c_bus_reg): Failed prerequisite 'reg_format' Documentation/devicetree/bindings/phy/intel,lgm-emmc-phy.example.dt.yaml: Warning (spi_bus_reg): Failed prerequisite 'reg_format' Documentation/devicetree/bindings/phy/intel,lgm-emmc-phy.example.dts:21.33-26.13: Warning (avoid_default_addr_size): /example-0/chiptop@e0200000/emmc-phy@a8: Relying on default #address-cells value Documentation/devicetree/bindings/phy/intel,lgm-emmc-phy.example.dts:21.33-26.13: Warning (avoid_default_addr_size): /example-0/chiptop@e0200000/emmc-phy@a8: Relying on default #size-cells value I'll send out a complete fix and take via the DT tree so maybe we can have an rc1 that works. Rob