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 70634C54EAA for ; Fri, 27 Jan 2023 20:24:08 +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:MIME-Version:References:In-Reply-To: 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: List-Owner; bh=e4ax2v92sgS37EN5xWKbJXuyEWLI7xECby5z/DBe2AU=; b=CWtmeJUn7GejJo FDriZ9FCMzD/GOXNzqVDH6wLULn+oS0W4tpt9PHyJo7ulaP6E1oXQDHArvOO/bcQ1QNpl7cacWtHe H7MTp+06QxvPArXlDejDmTxDcHEn9nGoKx5k/vn57iisiE49rQXjCT0KfBX/fh05RQp3GkL+uxNHM nzXwZN1h5Rg9/IIHEPgW7tcO3o1n6Uv6O51YfkhS3PEAq0UZ0TRZqHxibw4zLp8bztTN9K4VZhk5M V0bpEBya2MQIJb26Y5gnPb850xFGsOwfpnoupNUOtVEDlzwUUdO+VhKApyzO2o+QEvL/OZ4TaFFvZ y4k7noCNSPfeLgGgIXKg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1pLVFG-00GNx8-P9; Fri, 27 Jan 2023 20:22:48 +0000 Received: from mail-ed1-x52f.google.com ([2a00:1450:4864:20::52f]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1pLVEo-00GNnt-Vl for linux-arm-kernel@lists.infradead.org; Fri, 27 Jan 2023 20:22:20 +0000 Received: by mail-ed1-x52f.google.com with SMTP id cw4so618166edb.13 for ; Fri, 27 Jan 2023 12:22:12 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=Mqf3tpDJNX5sIiyTeIYmTr7VbjdNQeu0rlBoqz1e+Q0=; b=KjwD47Qr6iZP/O9PFJhqPa4DXwn1l74X3nfx6kTwt+q9S7DkJW1ctaL1SAg+HarvRo E8mVvJB8G0aM4EzQmGTh0uF45yjqn+nDVC0/6eAe57kksR2S6u2qqOIwcSZgWdFW3Ic+ ppvwB8u8v0YZuLJ/M88zYnWPZDekyWFImeo5gxaj3lMv1qmVWE33IHZYMQ8JX0vjY640 2FRiGOVg4AjznpAz8uS+VyysPYvPVhD9Uo/KGFEpLBFv3PmdhrOKmeNOTasLzM2Qmb4L fqVMz85pS9/47JF/mmoSYodYM0xJpTbVeWczW1yEX5X21Ww0sQpz4eoYcNIdbzTf+3fs QRvg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=Mqf3tpDJNX5sIiyTeIYmTr7VbjdNQeu0rlBoqz1e+Q0=; b=udFaoUe4cpF5l540609sxmfHz5zrrs/IKc22ZJ5UF0ZzoafU795MFc2oM60AYGWL4w NFkgD6s8VCu3fMNvoSuYhZAKGkh01eQ1YWDOOWE2P7smhdKUpqP3zh6Y59Rve7fTMsVW mBtUR87k1PmUZIjwSWLk/wrXftScYDFwRd7ldS8vGVM2Msv4ncXf6iSy9z1S60TMZYAn T8NEU/OObUe6/Odt/M3QHiyhSeNblJxVPvS/VWx3vdantYI5Lu+J4/aWfuK3tlC+Hyd1 +4txtIhecOq51DprHDe4dyZIPc+GZsPeRMW9QOr4IbXYZLCh6+1LgSMWSIDY1LUdIizW 4VFw== X-Gm-Message-State: AFqh2kpzmwtnyCVsow9Om1UhlY6evxf0WlgX1ZT4fcOFnWwAu1k61Tgl tj/R870JF8p0mCNaWVo5Mhk= X-Google-Smtp-Source: AMrXdXslchCqGmh70f80P2YbvDJBdxIzu+HfPexB7WQFcZPWKwYNQ5BuM/fuJwEdI0F73cI7vK1NlA== X-Received: by 2002:a05:6402:28c6:b0:49b:98be:c38 with SMTP id ef6-20020a05640228c600b0049b98be0c38mr44822085edb.11.1674850931014; Fri, 27 Jan 2023 12:22:11 -0800 (PST) Received: from jernej-laptop.localnet (82-149-19-102.dynamic.telemach.net. [82.149.19.102]) by smtp.gmail.com with ESMTPSA id f5-20020a056402068500b0046dd0c2a08esm2861517edy.36.2023.01.27.12.22.09 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 27 Jan 2023 12:22:10 -0800 (PST) From: Jernej =?utf-8?B?xaBrcmFiZWM=?= To: Chen-Yu Tsai , Samuel Holland , Rob Herring , Krzysztof Kozlowski , Bin Liu , Andre Przywara Cc: Icenowy Zheng , Greg Kroah-Hartman , devicetree@vger.kernel.org, soc@kernel.org, linux-usb@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-sunxi@lists.linux.dev Subject: Re: [PATCH v5 03/11] usb: musb: sunxi: Introduce config struct Date: Fri, 27 Jan 2023 21:22:08 +0100 Message-ID: <12138531.O9o76ZdvQC@jernej-laptop> In-Reply-To: <20230111015332.172021-4-andre.przywara@arm.com> References: <20230111015332.172021-1-andre.przywara@arm.com> <20230111015332.172021-4-andre.przywara@arm.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20230127_122219_093244_4EC2DFD9 X-CRM114-Status: GOOD ( 11.03 ) 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: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org Dne sreda, 11. januar 2023 ob 02:53:24 CET je Andre Przywara napisal(a): > Currently the probe routine explicitly compares the compatible string of > the device node to figure out which features and quirks a certain > Allwinner MUSB model requires. This gets harder to maintain for new > SoCs. > > Add a struct sunxi_musb_cfg that names the features and quirks > explicitly, and create instances of this struct for every type of MUSB > device we support. Then bind this to the compatible strings via the OF > data feature. > > Signed-off-by: Andre Przywara Reviewed-by: Jernej Skrabec Best regards, Jernej _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel