Received: by 2002:a05:6a10:22f:0:0:0:0 with SMTP id 15csp2589545pxk; Sun, 6 Sep 2020 06:09:50 -0700 (PDT) X-Google-Smtp-Source: ABdhPJznogYuTqtQhoMk1iOUHjv5/v4/Y00VnkfLhPvUdvR/EdWEPu0pPsCZ37oWb1wSBmPeqk56 X-Received: by 2002:a17:906:488d:: with SMTP id v13mr2379434ejq.524.1599397790451; Sun, 06 Sep 2020 06:09:50 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1599397790; cv=none; d=google.com; s=arc-20160816; b=DCdp81oQf7iFwN4/b1aD8lxPMYGzO0vtZ89oQ27y5Ro4kmNopjUO3B63KTekRbbiBb 07+Y4kLsIU7rGoFdaWmxSkKsmDEqYYTEAFOnAH+DiVKuX2+bNe4Niac7+hu+mTxRyDts bi6jhKNI4ra0kIRvL6a7aIhVhuFV2bAt65Lj5T89RFbrUZBQv3isBVOiYqsYNJMzIe47 IO7MNHLEen3iuyEtfjU+ZZJeEz0OPNRUloTw12ajrBHcINnXdEpeSrmk4iAORviGMWPz BeevLyE4q8lOgFs1F/adjKd1W1TnzxHJKCMAG7pZTwFXbuBNNwEmrbXpHs3w/FvadHBG XMSQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date; bh=q92gvnzq1KDD9sdjw9UpZFI+TxFuTVSseQFtpKVlou0=; b=TCkROHkvS+OPLFs5yhdhNMwuFm3WzRD89wZ4xBpVPniK0GuRoVLOSyR2TdI4E+bDFg Scee0cVO2Y1OtKpB1IDOyWYnepWUlyD1xTfnrun498kExBJo6TPchPwnqg1nfjrFIpfA lCsHQWAnqYOEIAOjK0/4BFbk8vG4xhKEZNaqe7BU3kLvG3GCw0ii0JUcwhPgc097lsXY ltGEYtdQNIMabll09Gpe2NOEt/44TIrXqlzno7dCVWztZIyMweGTUpozcVVurACeLc18 Vh8Og+4iU4zw6eqLl+ZBrbRpDqJkNJGEoB0J0ar57qRErkYSWvMhPXUvCkZlgg+2AApS O8BQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 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. [23.128.96.18]) by mx.google.com with ESMTP id h9si8325893edv.170.2020.09.06.06.09.16; Sun, 06 Sep 2020 06:09:50 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 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 S1728807AbgIFNIC (ORCPT + 99 others); Sun, 6 Sep 2020 09:08:02 -0400 Received: from mail-ed1-f66.google.com ([209.85.208.66]:35981 "EHLO mail-ed1-f66.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728692AbgIFNG5 (ORCPT ); Sun, 6 Sep 2020 09:06:57 -0400 Received: by mail-ed1-f66.google.com with SMTP id w1so10101353edr.3; Sun, 06 Sep 2020 06:06:56 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to:user-agent; bh=q92gvnzq1KDD9sdjw9UpZFI+TxFuTVSseQFtpKVlou0=; b=Elh+0BbiDHjPkdTf6ZnRPPkAmxyv+MO/jEcW73Y/UnTq1gVnPXPDmCzf+2Pon37PtX X6hnOhgdY4B5GeRHGOwOEFb7mOd2PKnwQoXM1XUneC8jtGjiJWk5M1ZQn3yaGNu/3Erw /vFKObxkSmhV5D1AjCbIoVIp7ZOcbxhgRE926ONSP3TCcACHOLztkm7DUr3T+okwd+aX OV1rFU+hSfxeDufxg7DVMD3ThPRNsofKicv46n+63rGhgTxYldhJRGxvDBSfmZDABp5p nTI2/7KATR3jpRzD6xes4dDEMGv5LaxBPeae6Zku+R5syr4C1Q9AhaYU4DwFOwv5Amb+ Imzw== X-Gm-Message-State: AOAM531TDMKMdBS751S5MbFuUaCMHzFjm63+Y6cj65vTztcbxfXjegzK FNKlJ5APGg0PpnqSRJb340M= X-Received: by 2002:a50:ce11:: with SMTP id y17mr16761568edi.86.1599397615675; Sun, 06 Sep 2020 06:06:55 -0700 (PDT) Received: from kozik-lap ([194.230.155.174]) by smtp.googlemail.com with ESMTPSA id d7sm12076911ejk.99.2020.09.06.06.06.54 (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Sun, 06 Sep 2020 06:06:54 -0700 (PDT) Date: Sun, 6 Sep 2020 15:06:52 +0200 From: Krzysztof Kozlowski To: Sylwester Nawrocki Cc: devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-samsung-soc@vger.kernel.org, linux-kernel@vger.kernel.org, Rob Herring , Kukjin Kim , Marek Szyprowski Subject: Re: [PATCH v2 3/3] ARM: dts: exynos: Add assigned clock parent to CMU in Exynos5422 Odroid XU3 Message-ID: <20200906130652.GA11579@kozik-lap> References: <20200903181425.5015-1-krzk@kernel.org> <20200903181425.5015-3-krzk@kernel.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.9.4 (2018-02-28) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, Sep 04, 2020 at 12:20:36PM +0200, Sylwester Nawrocki wrote: > On 9/3/20 20:14, Krzysztof Kozlowski wrote: > > Commit 78a68acf3d33 ("ARM: dts: exynos: Switch to dedicated Odroid XU3 > > sound card binding") added assigned clocks under sound device node. > > > > However the dtschema expects "clocks" property if "assigned-clocks" are > > used. Add reference to input clock, the parent used in > > "assigned-clock-parents" to silence the dtschema warnings: > > I'm afraid it doesn't improve anything, we just add another violation of > the DT binding rules as the 'sound' node doesn't represent a real HW and > shouldn't have 'clocks' property. Instead we could move the assigned-clock* > properties to the I2S node, as in below patch. I have tested that already > on xu3. > > ----------------------------------8<--------------------------- > From f98d2f5ac86d1ae13a77ef481fcbf073a1740f26 Mon Sep 17 00:00:00 2001 > From: Sylwester Nawrocki > Date: Fri, 4 Sep 2020 12:02:11 +0200 > Subject: [PATCH] ARM: dts: samsung: odroid-xu3: Move assigned-clock* > properties to i2s0 node > > The purpose of those assigned-clock-* properties is to configure clock for > for the I2S device so move them to respective node. > > This suppresses the dtbs_check warning: > arch/arm/boot/dts/exynos5422-odroidxu3.dt.yaml: sound: 'clocks' is a dependency > of 'assigned-clocks' Thanks, this is a good idea. Applied. Best regards, Krzysztof