Received: by 2002:a05:6a10:206:0:0:0:0 with SMTP id 6csp406613pxj; Wed, 16 Jun 2021 05:20:16 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwsJ/bSVx3Y6H51WEo/Z1zKzxe37MQ/8yFjN1o7zy6ppDNWbWvBRS+5XiDVWXJYIVIaGLwN X-Received: by 2002:a17:906:dbee:: with SMTP id yd14mr4147006ejb.49.1623846016276; Wed, 16 Jun 2021 05:20:16 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1623846016; cv=none; d=google.com; s=arc-20160816; b=c0GHrTtOrz3TEve1f0KdwgSqwQtj3HaMlJ0/bZlLMaeYe502YAgzfAZ1WfxuONC//C BpIdSqWSVjQMOXlwtzpz31QfpVGIOJioOsEu+b1aWKXhHskenGuOWL3oSycM6DJwe6nl CzEIJkUKLgHqZrk/BzIiX9xKq0t7VS3v55yQWW5Nypi6AlPti2RRNQimYkSsXQ14nMmZ bwTrLgkd84+T9C2mEWWzDHXHKwfPcpS/xsgr2ka9OrPVJanCPaZj9hderh6JntPgKeUC l1NeXu7tIiLkP/8ZDxl0VSn3TLIhatY9YpjQKFt0Tr3jwO6e5Cc1+ZUW3g0X4Ere3sSM Tbcg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:message-id:date:subject:cc:to:from; bh=mDvsLjPpMvRURlqZHwGceVr+GX9irdnnAb7khmGz5bc=; b=dGXdgxG2nKireJbxEJ8Jzpjc1ich4zhzjfFyDIXh3koZ/1IoxuYpZm7RiG0E9JEmVk hJxELnVfsOMqeCGwANGlnWemJsp33JMLMAmHjEHyZL1YG5nEG0kadlsyzsEEjAZR9CLs Jcl6fU4vBzgzi3nTUVToqfah3gJPu0obzdmUZuUh2nFoPVbkP4U/3n5Iw9qUzcZSVFYG 43EWYQgaLcgSIlBQrcgGkm/R3ZnUiQcHddeNofgtSVWMyRn4k8LsnmyBFeMVnNuLNhIH o10fB0ki+YmpgX0W8BAnDoQ217eLLSx7qJx1tAwQDkpSkXneMCLxavp/DDYd3DyU9DIi yoJA== 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=fail (p=NONE sp=NONE dis=NONE) header.from=mediatek.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id m10si2038163edp.210.2021.06.16.05.19.40; Wed, 16 Jun 2021 05:20:16 -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=fail (p=NONE sp=NONE dis=NONE) header.from=mediatek.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232054AbhFPLqH (ORCPT + 99 others); Wed, 16 Jun 2021 07:46:07 -0400 Received: from mailgw01.mediatek.com ([210.61.82.183]:60453 "EHLO mailgw01.mediatek.com" rhost-flags-OK-FAIL-OK-FAIL) by vger.kernel.org with ESMTP id S231293AbhFPLqH (ORCPT ); Wed, 16 Jun 2021 07:46:07 -0400 X-UUID: eaa4fc46f8d949179b2b4466298c972d-20210616 X-UUID: eaa4fc46f8d949179b2b4466298c972d-20210616 Received: from mtkcas10.mediatek.inc [(172.21.101.39)] by mailgw01.mediatek.com (envelope-from ) (Generic MTA with TLSv1.2 ECDHE-RSA-AES256-SHA384 256/256) with ESMTP id 1033287267; Wed, 16 Jun 2021 19:43:57 +0800 Received: from mtkcas07.mediatek.inc (172.21.101.84) by mtkmbs07n1.mediatek.inc (172.21.101.16) with Microsoft SMTP Server (TLS) id 15.0.1497.2; Wed, 16 Jun 2021 19:43:55 +0800 Received: from localhost.localdomain (10.17.3.153) by mtkcas07.mediatek.inc (172.21.101.73) with Microsoft SMTP Server id 15.0.1497.2 via Frontend Transport; Wed, 16 Jun 2021 19:43:54 +0800 From: Yong Wu To: Krzysztof Kozlowski , Rob Herring , Matthias Brugger CC: Krzysztof Kozlowski , Joerg Roedel , Will Deacon , Robin Murphy , Tomasz Figa , , , , , , , , , , , Subject: [PATCH 0/9] MT8195 SMI support Date: Wed, 16 Jun 2021 19:43:37 +0800 Message-ID: <20210616114346.18812-1-yong.wu@mediatek.com> X-Mailer: git-send-email 2.18.0 MIME-Version: 1.0 Content-Type: text/plain X-MTK: N Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org This patchset mainly adds SMI support for mt8195. Comparing with the previous version, add two new functions: a) add smi sub common b) add initial setting for smi-common and smi-larb. Yong Wu (9): dt-bindings: memory: mediatek: Add mt8195 smi binding dt-bindings: memory: mediatek: Add mt8195 smi sub common memory: mtk-smi: Use clk_bulk instead of the clk ops memory: mtk-smi: Rename smi_gen to smi_type memory: mtk-smi: Adjust some code position memory: mtk-smi: Add smi sub common support memory: mtk-smi: mt8195: Add smi support memory: mtk-smi: mt8195: Add initial setting for smi-common memory: mtk-smi: mt8195: Add initial setting for smi-larb .../mediatek,smi-common.yaml | 31 +- .../memory-controllers/mediatek,smi-larb.yaml | 3 + drivers/memory/mtk-smi.c | 568 ++++++++++-------- 3 files changed, 347 insertions(+), 255 deletions(-) -- 2.18.0