From patchwork Mon Mar 8 07:08:43 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Quanyang Wang X-Patchwork-Id: 12121717 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-17.0 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER, INCLUDES_PATCH,MAILING_LIST_MULTI,MSGID_FROM_MTA_HEADER,SPF_HELO_NONE, SPF_PASS,URIBL_BLOCKED,USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 2B9A4C433DB for ; Mon, 8 Mar 2021 07:21:06 +0000 (UTC) Received: from desiato.infradead.org (desiato.infradead.org [90.155.92.199]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 1801664F5F for ; Mon, 8 Mar 2021 07:21:05 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 1801664F5F Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=windriver.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=desiato.20200630; h=Sender:Content-Transfer-Encoding :Content-Type:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:MIME-Version:Message-Id:Date:Subject:Cc:To:From: Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender :Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References:List-Owner; bh=gW/SxT6w1aQgMm+sb7neY5FkU3rTLV6+J5gS1svDdrQ=; b=lRMwOTju/ol7DWv+Ey4pxwC8IW zgFOAmGo6j1NSy+FfdaFqiMyvbd7iINJ+PrcoBlGfF7uhMiIH6sMKRs/fxG3xhiOxs2mUIIsW1aef VwxNqTLRYcZn2UyCumJSpV3R6x0yUi2U7ywMjulTl9Ni3LCRG8kiIlPna6x+rp43eZsn0hMPwy3Y5 9kmNGzLfN1cgJi1/SvNBwyYh7HJTmXiUPWDeVBLzRYd1Ik/6cD69hczk6zuoLnqh6VSoOHudLLyof M01FfeZtOQc5ZjCAYqKYqZochzTdXKjBHvolOEJblEu7bFIEJNrXMDRhlHsSWVo9SuAWQzdtlRlvb VXuQsGMA==; Received: from localhost ([::1] helo=desiato.infradead.org) by desiato.infradead.org with esmtp (Exim 4.94 #2 (Red Hat Linux)) id 1lJAAF-00FgyE-NF; Mon, 08 Mar 2021 07:18:52 +0000 Received: from mail-dm6nam11on2074.outbound.protection.outlook.com ([40.107.223.74] helo=NAM11-DM6-obe.outbound.protection.outlook.com) by desiato.infradead.org with esmtps (Exim 4.94 #2 (Red Hat Linux)) id 1lJA57-00FfO9-Bq for linux-arm-kernel@lists.infradead.org; Mon, 08 Mar 2021 07:13:37 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=NCZ9eZg9rMW4HKt+1dhNIv3GoZpzdr6dIJtJH42GHcU9JMkRPxwDzhOZk9yxtit4D3zstgdi5c9VMmOBbTyuApMfuQZn4nCau/jgfcpXJx0mmFqwM41nTmBbQh2uxgYiPdihWCTzxxaHmnMH9U2yyZdSMnA9Ggu/rk+Lgg9kM5SlNjGLFa/QoxefrbjRnUKTEqUQ9g5mXAEq/Qi7IFqoePrXHJtAcRKWbB1h3GLQyhOjkX/J9Vgp4fP+ayI383jmWvLaPt83+ezyG1tBjfzG9jtdAQ+R1l0donnjEgFAvvq5IUH3K4MMtPJes17GJhuEctVrtELGyo0i+1LhKvPDEA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=kDyxD3ejQMAzYjnmIh4yBVFE4BuMB6RYQdYSh1eLJec=; b=S+1DCApaAhgZr2Ow+aWOfgMe6FXDarH+rEh1PGwaKE5W03ZvpnsligGXUFMMlf+mIPoLY60UR3aSN4Bz3gnFRzLUReJqvYiJayCNaVN8VG7TpBtYP2evCirEevfKshxD0/7AqQflvRv3JdxsOAUfUmbz8Ehr0E87n47kmEz+nf6cimMmSVHA8rdkUVyLmM4NWMRiMAcGrDgiDmzUWcWm914bVTmBrwnltOZ5dVusm/o97pt4etqvLgpb9HViUhxAenyJqWJdwJsIM4muCGBwQ4NM8DLpWNkUmkDJL35xxjfwS5r2rThGAUNc5kB+Gcy4VmovIFAceDxguZgb8lfzDg== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=windriver.com; dmarc=pass action=none header.from=windriver.com; dkim=pass header.d=windriver.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=windriversystems.onmicrosoft.com; s=selector2-windriversystems-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=kDyxD3ejQMAzYjnmIh4yBVFE4BuMB6RYQdYSh1eLJec=; b=Pmy/R1L5xwbGrksjwvbRivujv/tygz/xEeQrush5cqMMRF7/08/6lCy57kMsDjf2HaCqcforSGAv60zHVcYIxBShlVIZVSJ11KWZ7tNc5Z2KkWgVhqgXh3dWRwpceOOskhkTLk7icMvuonHhkdz9rRnQR9FLmH3RMV2qI9KC7gE= Authentication-Results: kernel.org; dkim=none (message not signed) header.d=none;kernel.org; dmarc=none action=none header.from=windriver.com; Received: from CY4PR11MB0071.namprd11.prod.outlook.com (2603:10b6:910:7a::30) by CY4PR1101MB2149.namprd11.prod.outlook.com (2603:10b6:910:1a::18) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3912.17; Mon, 8 Mar 2021 07:13:22 +0000 Received: from CY4PR11MB0071.namprd11.prod.outlook.com ([fe80::d4fe:8135:d8fa:81c0]) by CY4PR11MB0071.namprd11.prod.outlook.com ([fe80::d4fe:8135:d8fa:81c0%5]) with mapi id 15.20.3890.037; Mon, 8 Mar 2021 07:13:22 +0000 From: quanyang.wang@windriver.com To: Rob Herring , Michal Simek Cc: Krzysztof Kozlowski , Laurent Pinchart , devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Subject: [PATCH] arm64: dts: zynqmp: Add compatible strings for si5328 Date: Mon, 8 Mar 2021 15:08:43 +0800 Message-Id: <20210308070843.2096992-1-quanyang.wang@windriver.com> X-Mailer: git-send-email 2.25.1 X-Originating-IP: [60.247.85.82] X-ClientProxiedBy: SJ0PR13CA0063.namprd13.prod.outlook.com (2603:10b6:a03:2c4::8) To CY4PR11MB0071.namprd11.prod.outlook.com (2603:10b6:910:7a::30) MIME-Version: 1.0 X-MS-Exchange-MessageSentRepresentingType: 1 Received: from pek-qwang2-d1.wrs.com (60.247.85.82) by SJ0PR13CA0063.namprd13.prod.outlook.com (2603:10b6:a03:2c4::8) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3933.16 via Frontend Transport; Mon, 8 Mar 2021 07:13:19 +0000 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 5bcdfdc5-4d15-49d2-1fe0-08d8e201a818 X-MS-TrafficTypeDiagnostic: CY4PR1101MB2149: X-Microsoft-Antispam-PRVS: X-MS-Oob-TLC-OOBClassifiers: OLM:5797; X-MS-Exchange-SenderADCheck: 1 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: pUSKpHtEv8uFVJwX9V5mFJ7P+6cibxO2LAfS4M0Z69ulODWQJB/J9/cPER3/MWJydZ8kHRyNPebkjyjP8clxptBWAi1XPmKb41waP5SefKEH06gpR5igZEUaVmezuYKkh8/4AHNVnSccgCs0YBg9p3f5GWKiYmETC5HDao7FDN9C9fLF7nT+tQrUpY5D0GBFwfLVHhZDNcsE3hOtkn2S5X9msVes1ZowBR9aSqQKXnDEOeirEoCxqKhxjGBLhqYwSTbH+2akamBhMrZxIW4lmdIAajBVNL9/tsWt54+Aet8/G5AaDl5UQ+kUWQqzCB9mC5P02Iyoa1nKvSakGwOc8iS8g9t5KrArIObxMjrPuAl0qEUpHBwZPmTcE5D14K1ZITzWELqWtgw04wul5RoYbZZJPyrsYkzuhQ4wo4drGH/iTEPwpjC1V52g2kpRAzRYiNsZUzGEMuslyzwoaiyx+NmE5G9xYVq9ikxWshbCLXwRuuNPd8FsE3/1Garff37OuitqBk/Vut2nNJClHgPFLA== X-Forefront-Antispam-Report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:CY4PR11MB0071.namprd11.prod.outlook.com; PTR:; CAT:NONE; SFS:(4636009)(346002)(376002)(39840400004)(396003)(366004)(136003)(6512007)(1076003)(9686003)(5660300002)(478600001)(26005)(6486002)(956004)(36756003)(110136005)(16526019)(316002)(54906003)(66946007)(66556008)(86362001)(66476007)(186003)(8676002)(8936002)(4326008)(2906002)(83380400001)(2616005)(6506007)(52116002)(6666004); DIR:OUT; SFP:1101; X-MS-Exchange-AntiSpam-MessageData: bttb/n19unA3BWDHWnK+xatki4WlU6mLUy8m0KFg3gOJ46AzXK8agYq+3YR03rhRinzTQcMWYC7v4W9U/23OJr1+dWCi5234iPgyMOHdu1ga3uY/howAlorq6R+848Ps+2Y4eDJLI+9QWP0tIvhebE45e1sb6dmB4KWjjzPNzX+uSUwpge0lTMLMEPg05+xQpVTTk66PsspAWCdC59Hx6m0nwLhakPusuXFNCw7pERogEOt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LnFfVaoU5sX6V+cVaK X-OriginatorOrg: windriver.com X-MS-Exchange-CrossTenant-Network-Message-Id: 5bcdfdc5-4d15-49d2-1fe0-08d8e201a818 X-MS-Exchange-CrossTenant-AuthSource: CY4PR11MB0071.namprd11.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 08 Mar 2021 07:13:22.1559 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 8ddb2873-a1ad-4a18-ae4e-4644631433be X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: biQvtoQWn1arTpOrpqLFb51aZKS0A/4qto35OvbqYmrMgCylfYUsFAeis6RNSX9M8Wd4qir2P6TOXasEO9NPTVoGp0wCxSH1E/48UIseQhg= X-MS-Exchange-Transport-CrossTenantHeadersStamped: CY4PR1101MB2149 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20210308_071333_899807_EC6CC4E6 X-CRM114-Status: GOOD ( 10.06 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org From: Quanyang Wang The function of_i2c_get_board_info will call of_modalias_node to check if a device_node contains "compatible" string. So let's assign the proper string "silabs,si5328" to clock-generator@69's compatible property to eliminate the error info as below: i2c i2c-10: of_i2c: modalias failure on /axi/i2c@ff030000/i2c-mux@74/i2c@4/clock-generator@69 i2c i2c-10: Failed to create I2C device for /axi/i2c@ff030000/i2c-mux@74/i2c@4/clock-generator@69 Fixes: 82a7ebf00224 ("arm64: dts: zynqmp: Add DT description for si5328 for zcu102/zcu106") Signed-off-by: Quanyang Wang --- arch/arm64/boot/dts/xilinx/zynqmp-zcu102-revA.dts | 1 + arch/arm64/boot/dts/xilinx/zynqmp-zcu106-revA.dts | 1 + 2 files changed, 2 insertions(+) diff --git a/arch/arm64/boot/dts/xilinx/zynqmp-zcu102-revA.dts b/arch/arm64/boot/dts/xilinx/zynqmp-zcu102-revA.dts index 12e8bd48dc8c..a73841ad24ce 100644 --- a/arch/arm64/boot/dts/xilinx/zynqmp-zcu102-revA.dts +++ b/arch/arm64/boot/dts/xilinx/zynqmp-zcu102-revA.dts @@ -590,6 +590,7 @@ si5328: clock-generator@69 {/* SI5328 - u20 */ #address-cells = <1>; #size-cells = <0>; #clock-cells = <1>; + compatible = "silabs,si5328"; clocks = <&refhdmi>; clock-names = "xtal"; clock-output-names = "si5328"; diff --git a/arch/arm64/boot/dts/xilinx/zynqmp-zcu106-revA.dts b/arch/arm64/boot/dts/xilinx/zynqmp-zcu106-revA.dts index 18771e868399..24ce64364d63 100644 --- a/arch/arm64/boot/dts/xilinx/zynqmp-zcu106-revA.dts +++ b/arch/arm64/boot/dts/xilinx/zynqmp-zcu106-revA.dts @@ -591,6 +591,7 @@ si5328: clock-generator@69 {/* SI5328 - u20 */ #address-cells = <1>; #size-cells = <0>; #clock-cells = <1>; + compatible = "silabs,si5328"; clocks = <&refhdmi>; clock-names = "xtal"; clock-output-names = "si5328";